hi,
I have a column (SQL Server 6) called dateofbirth - a SMALLDATETIME field.
I am collecting a string (dateofbirth) from a servlet and passto a stored
procedure to verify the dob. The dob format is '1946-02-31'
where dateofbirth = convert(smalldatetime, dob)
which returns the following error message.
[Microsoft][ODBC SQL Server Driver][SQL Server] Syntax error converting
SMALLDATETIME from character string.
Please help.
thanks
roy
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html