query to get all table names in a database
Try This
in sql server 2005 or 2008
SELECT * FROM information_schema.tables
SQL Server 2000:
SELECT * FROM sysobjects WHERE xtype='U
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.