pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: imdad_md@hotmail.com
Subject: Re: Syntax problem!
Date: Thu, 03 Apr 2003 10:40:42 +0200
Message-ID: <3E8BF38A.4020302@rodos.fzk.de> (raw)

 >
 > I am moving the database from sybase to postgresql.Iam having problem
 > replacing the following similar syntax from sybase to postgres sql could
 > anybody help me out? It doesnt seem to recognize the '?' operator 
though it
 > works fine in Sybase.
 >
 > select * from version where version_nr =?;
 > ERROR:  Unable to identify a postfix operator '=?' for type 'integer'
 >         You may need to add parentheses or an explicit cast
 >
 > I am sure there must be some replacement in postgres, i havent been 
able to
 > find it though. I would appreciate if anybody could help me out.
 >
There is no such table. Alternatively use SELECT version() ;
I am not familiar with sybase. What does the '?' operator do?
What are you achieving by this statement?

Regards, Christoph




view thread (3+ messages)  latest in thread

Message-ID: <3E8BF38A.4020302@rodos.fzk.de>
Permalink:  ../3E8BF38A.4020302@rodos.fzk.de/
Also on:    postgresql.org/message-id/3E8BF38A.4020302@rodos.fzk.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ch@rodos.fzk.de, imdad_md@hotmail.com
  Subject: Re: Syntax problem!
  In-Reply-To: <3E8BF38A.4020302@rodos.fzk.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox