Search Postgresql Archives

How can I use parameters in plain sql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I use parameters in plain sql like sql server.

FICTIONAL example that works for sql server:
declare @i int;
set @i = 1;
select * from mytable where id=@i;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux