nampilin nama2 tabel dari database

waaah dah lama nih nggk posting disini. Sebenerna ini kasus lama but ta tulis disini aja🙂 maklum suka lupa. fungsina buat nampilin nama2 tabel dari database.

perintahnya :

SELECT * FROM INFORMATION_SCHEMA.TABLES order by table_name asc;

kalo pengen nampilin tabel dari database tertentu aja tambahin kondisi :

SELECT * FROM INFORMATION_SCHEMA.TABLES where table_schema=’nama_db’ order by table_name asc;

~ by rupa2 on November 5, 2008.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: