R: [PHP-DB] Oracle SQL Problem

From: Date: Mon, 09 Oct 2000 07:31:44 +0000
Subject: R: [PHP-DB] Oracle SQL Problem
Groups: php.db 
Request: Send a blank email to php-db+get-3418@lists.php.net to get a copy of this message
Were your queries in UPPERCASE chars? Ciao Roberto > -----Messaggio originale----- > Da: Old Keung [mailto:wlskspam@usa.net] > Inviato: domenica 8 ottobre 2000 3.54 > A: php-db@lists.php.net > Oggetto: [PHP-DB] Oracle SQL Problem > > > Hello All, > > I try to execute the following SQLs from php: > > SQL 1: > SELECT name FROM tb01 > UNION ALL > SELECT name FROM tb02 > > SQL 2: > SELECT name > FROM tb01 > WHERE name IN ( > SELECT name FROM tb02 > ) > > The result is "Invalid Column Name" for each SQL statement. > > I am using php4, Oracle and openlink. I have tested the above > statement in > Oracle sqlplus and they work. But when I execute exactly the > same sentence, > it doesn't work. > > Could anyone point out where is the problem? Does the > openlink has different > syntax for the SQL statement? > > Thanks in advance. > > William > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.db (#3418) next »