|
-
September 20th, 1999, 06:24 AM
#1
Stored Procedure parameter problem
Hello
I'm having problems talking to the third parameter in the stored procedure header here bellow:
CREATE PROCEDURE [sp_AddToHistory_tblFileHistory]
(@lFileID [int],
@sUser [nvarchar](20),
@sComment [ntext],
@dtCheckedInTime [int])
Here is how I talk to the first
Set prmChecktblFiles = cmdChecktblFiles.CreateParameter( _
"lFileID", _
adBigInt, _
adParamInput, , _
lFileID)
If anyone knows how to create the parameter for the third, the please let me know
Thanks
-
September 20th, 1999, 08:50 AM
#2
Re: Stored Procedure parameter problem
I'd try to call cmd.Parameters.Refresh just for testing. Then check what the Parameters collection looks like for the third parameter.
-
October 5th, 1999, 06:01 PM
#3
Re: Stored Procedure parameter problem
I had the same problem with text fields in SQL server and I worked around by executing straightaway:
connection.execute sp_something param1, param2, param3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|