pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mohamed imdadullah <imdad_md@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Syntax problem!
Date: Thu, 03 Apr 2003 07:55:22 +0000
Message-ID: <F11KeD59KuERIqVDokS00003edd@hotmail.com> (raw)


Hi all,

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.

regards
pgsqlnovoice


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




view thread (3+ messages)  latest in thread

Message-ID: <F11KeD59KuERIqVDokS00003edd@hotmail.com>
Permalink:  ../F11KeD59KuERIqVDokS00003edd@hotmail.com/
Also on:    postgresql.org/message-id/F11KeD59KuERIqVDokS00003edd@hotmail.com

 · 

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: imdad_md@hotmail.com
  Subject: Re: Syntax problem!
  In-Reply-To: <F11KeD59KuERIqVDokS00003edd@hotmail.com>

* 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