sybperl-l Archive
Up Prev Next
From: Louis Proyect <lnp3 at columbia dot edu>
Subject: Sorry: Conversion syntax error
Date: Jun 8 1999 7:33PM
Don't bother answering this one. It is not a Sybperl problem.
Louis Proyect
At 03:21 PM 6/8/99 -0400, you wrote:
>This works in ISQL:
>
>select new_date = (convert(smalldatetime, '19970630'))
>
>But this:
>
>$dbh->dbcmd("select new_date = (convert(smalldatetime, '19970630'))");
>$dbh->dbsqlexec;
>
>Returns the message:
>
>102 1 15 Incorrect syntax near 'new_date'.
>
>What might the problem be?
>
>Louis Proyect
>Columbia University
>
|