Help with "Syntax error converting datetime from character string"
From: Howard Carr (hjcarr_at_nf.sympatico.ca)
Date: 08/16/04
- Next message: John Spiegel: "Newbie: performance question"
- Previous message: Brian Henry: "Re: can not open user default database?!"
- Next in thread: Aaron [SQL Server MVP]: "Re: Help with "Syntax error converting datetime from character string""
- Reply: Aaron [SQL Server MVP]: "Re: Help with "Syntax error converting datetime from character string""
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Aug 2004 13:52:10 GMT
I am gettitng the covert error with the following when I try to update the
query through my client.
The client is a Delphi app that is using ADO and the @TestDate parameter is
a datetime type.
CREATE FUNCTION EffluentDataTestByDate(@TestDate DATETIME)
RETURNS TABLE
AS RETURN
(
SELECT TestDate, Tester, AerationBasinTemp, AerationOutP, AerationOutNH3,
AerationOutN03,
.....
......
FROM PaperMillData.dbo.EffluentData
WHERE TestDate = @TestDate
- Next message: John Spiegel: "Newbie: performance question"
- Previous message: Brian Henry: "Re: can not open user default database?!"
- Next in thread: Aaron [SQL Server MVP]: "Re: Help with "Syntax error converting datetime from character string""
- Reply: Aaron [SQL Server MVP]: "Re: Help with "Syntax error converting datetime from character string""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|