Re: [GENERAL] Syntax error with select statement

2008-12-18 Thread aravind chandu
Thank You, Aravind. --- On Thu, 12/18/08, Joshua J. Kugler wrote: From: Joshua J. Kugler Subject: Re: [GENERAL] Syntax error with select statement To: pgsql-general@postgresql.org Date: Thursday, December 18, 2008, 1:51 AM On Wednesday 17 December 2008, justin said something like: > aravi

Re: [GENERAL] Syntax error with select statement

2008-12-17 Thread Joshua J. Kugler
On Wednesday 17 December 2008, justin said something like: > aravind chandu wrote: > > Hello, > > I have problem with select statement in c++ program I am > > using pqxx library to connect to postgresql database.My query is > > > > result R(T.exec(" select * from dbtable where u

Re: [GENERAL] Syntax error with select statement

2008-12-17 Thread justin
aravind chandu wrote: Hello, I have problem with select statement in c++ program I am using pqxx library to connect to postgresql database.My query is result R(T.exec(" select * from dbtable where username = ' "+user+" ' and password = ' "+st+" ' ")); here st i

[GENERAL] Syntax error with select statement

2008-12-17 Thread aravind chandu
Hello, I have problem with select statement in c++ program I am using pqxx library to connect to postgresql database.My query is result R(T.exec(" select * from dbtable where username = ' "+user+" ' and password = ' "+st+" ' ")); here st is in encrypted format