RE: [PHP-WIN] MSSQL inserting into a table with a valid result se t
| From: | HKG) | Date: | Thu, 11 Mar 2004 21:24:55 +0000 |
| Subject: | RE: [PHP-WIN] MSSQL inserting into a table with a valid result se t | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23108@lists.php.net to get a copy of this message | ||
You can do a insert into with a SELECT instead of VALUE,
but the attribute in the select must agree with the table
definition.
-----Original Message-----
From: Gerardo Rojas
To: php-windows@lists.php.net
Sent: 11-3-2004 21:54
Subject: [PHP-WIN] MSSQL inserting into a table with a valid result set
I have a valid result set from running a simple query. Is there a way
of inserting this into an existing table or creating a new table with
the result set? All ideas are welcome!
MSSQL Server 2000
PHP 4.3.4
Windows 2000 pro
IIS 5.0
--
Gerardo S. Rojas
mailto: grojas@strategicinc.com