According to the php manual, OCIParse expect an connection identifier returned by OCILogon
<?php
$conn = OCILogon($user, $password);
$stmt = OCIParse($conn,"select rowid from $table $where");
.
.
?>
So, I have to call OCILogon each time I parse the sql. I want to ask:
1) Is there any performance impact if I call
OCILogon for so many times ?
2) Is it possible to OCILogon for just once and reuse the connection identifier for all sql ?
thanks
Alex Ng
<?php
$conn = OCILogon($user, $password);
$stmt = OCIParse($conn,"select rowid from $table $where");
.
.
?>
So, I have to call OCILogon each time I parse the sql. I want to ask:
1) Is there any performance impact if I call
OCILogon for so many times ?
2) Is it possible to OCILogon for just once and reuse the connection identifier for all sql ?
thanks
Alex Ng