cfriedberg
MIS
I know this must be simple but I have yet to figure it out.
What does the input parameter have to look like for a DateTime variable?
I have a very simple test:
Create PROCEDURE DateTest @MyDate DateTime
AS
Select @MyDate
By going to the Debug feature in the Query Analyzer and typing '01/01/2002', I get the following error message:
[Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification
I need to know just what to enter in the Sproc as well as the input variable.
Thank you,
Carolyn
What does the input parameter have to look like for a DateTime variable?
I have a very simple test:
Create PROCEDURE DateTest @MyDate DateTime
AS
Select @MyDate
By going to the Debug feature in the Query Analyzer and typing '01/01/2002', I get the following error message:
[Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification
I need to know just what to enter in the Sproc as well as the input variable.
Thank you,
Carolyn