RE: MSSQL inserting into a table with a valid result set

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

 



The short answer os 'No'

SQL statements are precessed by the SQL server and returned to the client
(PHP) as a result. SQL Server has no knowledge about PHP or any other
tools building on ODBC/dblib/OLEDB or any other protocol used to
communicate with the server.

- Frank

> I don't understand your question.
> 
> On Fri, 2004-03-12 at 16:42, Gerardo Rojas wrote:
> > Can i do a select from a PHP: resource (positive MSSQL result
identifier)
> > 
> > 
> > --
> > Gerardo S. Rojas
> > mailto: grojas@xxxxxxxxxxxxxxxx
> > 
> > 
> > -----Original Message-----
> > From: Svensson, B.A.T. (HKG) [mailto:B.A.T.Svensson@xxxxxxx]
> > Sent: Thursday, March 11, 2004 3:25 PM
> > To: 'php-windows@xxxxxxxxxxxxx '
> > Subject: RE:  MSSQL inserting into a table with a valid
result
> > set
> > 
> > 
> > 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@xxxxxxxxxxxxx
> > Sent: 11-3-2004 21:54
> > Subject:  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@xxxxxxxxxxxxxxxx
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux