Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server / SP / Text datatype

Status
Not open for further replies.

stnkyminky

Programmer
Oct 15, 2001
476
0
0
US
Im trying to insert text into a table with a field defined as text. What datatype do I use when executing the SP from VB? adChar exists but not adText
Also what is the length as I didnt need to specify one in my SP. Scott
Programmer Analyst
<><
 
I would use adVarChar

Are you required to specify the length?

If you are I would put Len(Variable) in for the length.
 
if you're populating an SQL Server text field I'd be tempted to use adLongVarChar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top