TextCopy - Handling text and image data

DB Library for C

DB Library for C

TextCopy - Handling text and image data

TextCopy is a Microsoft Foundation Class (MFC) C++ example that illustrates handling Microsoft® SQL Server™ text and image data types. The example moves data either to or from a single server column and row, and a user-specified operating system file.

Default Location

C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\DBLib\TextCopy

Functions Illustrated
Dbinit dbuse
Dbmsghandle dbcmd
Dberrhandle dbnumcols
Dbsettime dbcoltype
Dbsetlogintime dbreadtext
Dblogin dbnextrow
DBSETLUSER dbtxtptr
DBSETLPWD dbtxtimestamp
DBSETLAPP dbwritetext
DBSETLHOST dbsqlok
Dbopen dbmoretext
Dbfreelogin dbcancel
Dbsetopt dbclose
Dbsqlexec DBDEAD
Dbresults  

See Also

Samples