Skip to main content
gamedev.net
🔒 Locked

MySQL internal command

Started by wah_on_2 Dec 20, 2002 at 9:51 AM 2 replies 200+ views
Original Post
wah_on_2
wah_on_2
Hihi, i am a beginner of MySQL. I want to know how can i get the table names using the MySQL internal command for a sql query? e.g. Oracle SELECT table_name from user_table; e.g. SQL_SERVER select name from sysobjects where type = ''U''; I can''t frind this information from the documents of the MySQL. Pls help. Thanks a lot of.
George2
George2
show tables;
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon
wah_on_2
wah_on_2
yes. The documents also mentioned that use show tables;

However, if i want to filter some of the tables, e.g. i just want to show the user tables, all system tables are filtered. How can i set the criteria?
Dean Harding
Dean Harding
You don''t. MySQL doesn''t expose it''s data dictionary to the "outside world" like Oracle and SQL Server...

If I had my way, I''d have all of you shot!


codeka.com - Just click it.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.