Re: Database connection




"Steve" <googlespam@xxxxxxxxxxxxx> schreef in bericht
news:1129625680.819633.223710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>> // What data will i find here? Is it data from the TEST or from PROD and
>> will it be data from database1 or from database 2?
>
> It will be from the most recently opened resource, but if you are ever
> in any doubt then explicitly state which connection to use...
>
> $RESULT = mssql_query($SQL,$connectprod);
>
> ---
> Steve
>

Ok thanks a lot!


.



Relevant Pages

  • Re: Database connection
    ... Is it data from the TEST or from PROD and ... > will it be data from database1 or from database 2? ... Steve ... Prev by Date: ...
    (comp.lang.php)
  • Extrating Data from One Database from Another
    ... I am new to sql. ... let's call it database1 and database2. ... Database1 has approximatley 12000 records and database2 has approximately ... Steve, ...
    (microsoft.public.sqlserver.mseq)