RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

From: Date: Thu, 22 Mar 2001 17:17:30 +0000
Subject: RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45141@lists.php.net to get a copy of this message
At 09:52 AM 3/22/01 -0500, Brooks, Ken wrote:
Lets start at the basics. What is the easiest way to *make sure* that i am connecting to that oracle db? Anyway I can just list the tables, or something. odbc_tables or something like that?..
To get a list of the tables, you could: SELECT TABLE_NAME FROM ALL_TABLES; ...but, since you're on Oracle anyway, why not do something even quicker? SELECT SYSDATE FROM DUAL; will return the current date. SELECT TO_CHAR(SYSDATE,'DD-MON-YY HH24:MI:SS') FROM DUAL; will return the current date and time. - Brian ------------------------------------- Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 <brian@theprintinghouse.com> -------------------------------------

« previous php.general (#45141) next »