How to search for tables in MS SQL server?

How to search for tables in MS SQL server?

You may use the following query to fetch a list of tables matching certain criterion/ criteria:

SELECT '['+SCHEMA_NAME(schema_id)+'].['+name+']'
AS tableName
FROM sys.tables where name like '%course%';


Tags: Microsoft, Wild-card Search, SQL, Oracle, MySQL




Disclaimer:Pak/ed and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.  Disclaimer


Related

Home      Disclaimer      Advertise      Contact      Privacy Policy     

Copyright © 2004-16 Paked.com. All rights reserved.

Note: Site best viewed at 1024 x 768 or higher screen resolution