Select into
| From: | Bernie Huang | Date: | Fri, 17 Nov 2000 18:04:19 +0000 |
| Subject: | Select into | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-general+get-25934@lists.php.net to get a copy of this message | ||
Hello,
I have an SQL "select ... into temp table ...;". Normally, when we
execute "select" using pg_exec(), we can always fetch number of rows
using pg_numrows(). But, when I use pg_numrows() after executing
"select into", it returns 0 rows.
Is there a way to find out number of rows immediately without using
"select * from temp_table"?
Thank you.
- Bernie