Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
johns
Starting Member
24 Posts |
Posted - 2003-08-09 : 14:09:58
|
| What is the correct vbscript "DataTypeEnum Value" for a SQL TEXT field?This seems to work, but I am guessing I am not doing it correctly...cmdDC.Parameters.Append cmdDC.CreateParameter("@CONTENT", adBSTR, adParamInput, len(strContent))cmdDC.Parameters("@CONTENT") = CStr(strContent)In my SQL PROC I reference the field as: "@CONTENT TEXT,"Thanks,John S. |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2003-08-09 : 14:23:19
|
Use the following:adLongVarBinary 205 - for image columnsadLongVarChar 201 - for text columnsadLongVarWChar 203 - for ntext columns |
 |
|
|
johns
Starting Member
24 Posts |
Posted - 2003-08-09 : 14:31:08
|
| Thanks! |
 |
|
|
|
|
|