OdbcCommand Parameter

"Luca Beretta" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Organization Data El.Co S.r.l.
Message-ID <[email protected]>
hi to all,
i'm using C# to write an application based on postgresql 8.0 beta 2 (win32),
and i'm experiencing a problem using .NET Framework OdbcCommand class:
i need to pass some OdbcParameter, but i don't know how kind of name i need
to use for pgsql SQL sentence; with MS SQL Server i call them @param1
@param2, ecc

but if i do this with pgsql odbc 7.05.00.02 i get this error

[OdbcException: ERROR [HY000] ERROR:  operator does not exist: @@ character
varying]

i think it depends by parameters names, so tried @@param,$param,%param but i
get always
the same exception.

which is the right mode ?
 
thanks a lot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.