B brian Member Jul 30, 2001 #1 Hi, If I use TSession.GetTableNames, I will get a string list with the names of tables associated with a specify database. What is the similar function if I use TOracleSession??? Thanks.
Hi, If I use TSession.GetTableNames, I will get a string list with the names of tables associated with a specify database. What is the similar function if I use TOracleSession??? Thanks.
J jpickup Member² Jul 31, 2001 #1 Try: SELECT object_name FROM user_objects WHERE object_type = 'TABLE'; or SELECT object_name FROM all_objects WHERE object_type = 'TABLE'; The first returns all tables in the currently logged in user's schema, the second for all schemas.
Try: SELECT object_name FROM user_objects WHERE object_type = 'TABLE'; or SELECT object_name FROM all_objects WHERE object_type = 'TABLE'; The first returns all tables in the currently logged in user's schema, the second for all schemas.