ODBC Probelm
-
Can anyone suggest me the line of codes and the data type of the field through which we can store files in an SQl Server Database through an ODBC Recordset Samir Sood
You question is unclear. Please try again. Do you want to save binary data, i.e. "files", in a field in a SQL Server database? As far as the lines of code, you would use an INSERT statement to store new rows and an UPDATE statement to modify existing rows.
-
You question is unclear. Please try again. Do you want to save binary data, i.e. "files", in a field in a SQL Server database? As far as the lines of code, you would use an INSERT statement to store new rows and an UPDATE statement to modify existing rows.
-
I want to store actual files i.e txt , rtf and doc files in the database . Please Give the ines of code to insert and update them throgh odbc in MFC. Samir Sood
You can store anything into BINARY database fields. Read/Store the file to/from CLongBinary. You can use CLongBinary variable in RFX_LongBinary for typed recordset. Pavel Sonork 100.15206