how to concatenate in PostgreSQL - Mailing list pgsql-sql

From Rehan Saleem
Subject how to concatenate in PostgreSQL
Date
Msg-id 1332589439.54415.YahooMailNeo@web121601.mail.ne1.yahoo.com
Whole thread Raw
Responses Re: how to concatenate in PostgreSQL
Re: how to concatenate in PostgreSQL
Re: how to concatenate in PostgreSQL
List pgsql-sql
hi ,
how can we concatinate these lines and execute sql command
 
       set sql = 'select user,username, firstname '
      set sql += ' lastname, cardno from table1 where userid=' + 5
      exec(sqi)
     where 5 is the userid from table1
thanks
 

 

pgsql-sql by date:

Previous
From: Tim Landscheidt
Date:
Subject: Re: Can I read the data without commit
Next
From: Andreas Kretschmer
Date:
Subject: Re: how to concatenate in PostgreSQL