Search Postgresql Archives

regarding select into

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

 



 Hello,
 
Is it not possible to write such an sql statement:
 
select ser into val1, count(*) into val2 from tab1 where id = $1;
 
do i need to perform the 2 selects separately ..wont that impact the performance?
 
in the table tab1, id is the primary key.
 
Thank You
 
Regards
Surabhi Ahuja

[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