Re: [PHP-DB] Re: PHP Oracle connection across page.

2003-09-10 Thread roy.a.jones
Here is how I do it ... [REF PHP PAGE] ?php $conn=include(conn.php); ? . HTMl CODE HERE . ?php $qry=SELECT lower(instance) instance FROM all_databases ORDER BY instance; $cursor=ora_open($conn); ora_parse($cursor,$qry,0); ora_exec($cursor);

Re: [PHP-DB] Re: Connect to Oracle DB

2003-09-15 Thread roy.a.jones
I just wanted to add my two cents ... I have compiled php with BOTH --with-oracle and --with-oci8. It is usually preferred to have your architectures/systems separate to prevent some performance issues. As a test/demo system then having them on the same box is perfectly acceptable and

Re: [PHP-DB] Query Case In-sensitive

2003-11-17 Thread roy.a.jones
In Oracle you have a couple of choices. (1) If you can ensure that the data stored is in one case you can apply a function to the keyed in data SELECT item_number FROM item WHERE item_code = lower('M1234'); (2) If you can not ensure data case then you can apply the function to both

Re: [PHP-DB] Query Case In-sensitive

2003-11-19 Thread roy.a.jones
As an Oracle DBA (9+ years, versions 7.x - 9.x) I just wanted to make a correction. The LIKE command uses wild card characters ( _ and % ) for substitutions. Oracle IS a case-sensitive RDBMS and the LIKE command will NOT do case-insensitive queries. Roy A. Jones US Pharma Database

Re: [PHP-DB] help newbie

2003-12-08 Thread roy.a.jones
Return Receipt Your Re: [PHP-DB] help newbie document :