|
-
Aug 7th, 2002, 10:11 AM
#1
Thread Starter
Hyperactive Member
Stored Procedure & DateTime
Hi,
I have a 8 bit datetime field in a SQL Server 7.0 database. What I am trying to do is use a stored procedure to update the field. Here is the sp:
CREATE PROCEDURE [sp_update_UserLeagueDraft]
(@ID [int],
@NextPick [int],
@Round [int],
@Deadline [datetime])
AS UPDATE [deadlystrikecom].[dbo].[UserLeagues]
SET [NextPick] = @NextPick,
[Round] = @Round,
[PickDeadline] = @Deadline
WHERE
( [ID] = @ID)
GO
Getting this error when the sp is run:
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
[Microsoft][ODBC SQL Server Driver]Optional feature not implemented
The main problem I think is datetime field.
-
Aug 7th, 2002, 02:56 PM
#2
Fanatic Member
Can you post your VB code where you are calling this stored procedure along with your connection string to the database?
Are you getting any errors on any other stored procedures you call?
Chris
Master Of My Domain
Got A Question? Look Here First
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
|