Here is a query which can fetch all the table names and all the colunm names in each table. select table_name, column_name, data_type, character_maximum_length, is_nullable from information_schema.columns where table_name in (select name from sysobjects where xtype='U') order by table_name Comments Friday, April 16, 2004 11:12 AM by M. Keith Warren # re: SQL Query to list down the tables and all coumhs in database, Much easier way... SELECT * FROM INFORMATION_SCHEMA.COLUMNS Monday, August 27, 2007 2:40 AM by Rajeev # re: SQL Query to list down the tables and all coumhs in database, This query is not working in sapdb. any help will be appreciated.. Tahnks & Regards Rajeev Monday, October 15, 2007 8:01 AM by shailesh # re: SQL Query to list down the tables and all coumhs in database, Please give me fast comment Thursday, November 22, 2007 9:51 AM by Vinod # re: SQL Query to list down the tables and all coumhs in database, Above quer...