Re: Interbase queries

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

 



Dear Evan,

It depends what you send in your SQL statement ($sqlstmt), as far as i know
Interbase need only commit-statements depending on your I-Base server
setting AUTO-COMMIT=Tue/False. And only then when you send UPDATE queries.
For SELECT statements you dont need a COMMIT. But beware that you left with
an active result set when you do not send a COMMIT.

Kind regards,

Wil
salesvast@home.nl

"Evan Morris" <evan@exclusivebooks.com> schreef in bericht
073101c35755$574f5740$5da429c4@TECH02">news:073101c35755$574f5740$5da429c4@TECH02...
> Hi
>
> I am new to using PHP with Interbase.
>
> If I want to issue a query, I use:
>
> $sth = ibase_query ($dbh, $sqlstmt);
>
> I am assuming this issues the query to the database, and commits at the
same
> time? Do I need to release anything after having done this, or does it
take
> care of that by itself?
>
> Thanks
>
> Evan Morris
> evan@exclusivebooks.com
> Tel: +27 11 792 2777
> Fax: +27 11 792 2711
> Cell: +27 82 926 3630
>
>



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux