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
[EMAIL PROTECTED]

"Evan Morris" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> 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

Reply via email to