Skip to Content.
Sympa Menu

freetds - RE: [freetds] ODBC limitations?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] ODBC limitations?
  • Date: Tue, 25 Feb 2003 17:33:01 +0100

>
> I have an SQL Query which is
>
> {? = CALL [sp_insertCharacter](?)}
>
> Which fails, and generates the following error (going through the
> disgusting error API)
>
> Record number 3, error code = 00000 and error string = Msg 170, Level
> 15, State 1, Server SQL, Line 1
> Line 1: Incorrect syntax near '='.
>
> Note: this works with Microsoft's ODBC driver.
>
> Is this unsupported in freetds? Or is there an alternative syntax that
> should be used instead?
>

IMHO this is a ms odbc bug...
Syntax so not allow spaces...
Try {?=call [sp_insertCharacter](?)}
or {?=call sp_insertCharacter(?)}

freddy77

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page