|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
createparameter for TEXT.
When adding a parameter that is of type TEXT in the database, what replaces the bit that might otherwise say 'adVarChar' or 'adInteger'?
e.g. Code:
CreateParameter("@QuizQuestionOptionText", adVarChar, adParamInput)
Cheers. |
|
#2
|
|||
|
|||
|
adLongVarChar (I think)
I don't know for sure (I saw this someplace else online), but try: adLongVarChar.
Good luck. |
|
#3
|
|||
|
|||
|
adLongVarChar doesn't appear to work either:
ADODB.Parameters (0x800A0E7C) Parameter object is improperly defined. Inconsistent or incomplete information was provided. On further investigation I've found that adLongVarChar is correct: http://www.devguru.com/Technologies/ado/quickref/command_createparameter.html Perhaps it is the declaration in the stored procedure that is incorrect? I have declared it as 'TEXT' ? |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > createparameter for TEXT. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|