i know database name but i couldn't find table names corresponding to the database in query analyzer. help me to solve.....
how to find unknown table name from databas
Collapse
X
-
Tags: None
-
Originally posted by nirmalsinghi know database name but i couldn't find table names corresponding to the database in query analyzer. help me to solve.....
Code:USE YourDatabaseNameHere SELECT name FROM dbo.sysobjects WHERE xtype = 'U'
-
Originally posted by willakawillHi. This will do the trick
Code:USE YourDatabaseNameHere SELECT name FROM dbo.sysobjects WHERE xtype = 'U'
thank u mam, its working well. i am so much thankful to u.Comment
-
Originally posted by willakawillHi. This will do the trick
Code:USE YourDatabaseNameHere SELECT name FROM dbo.sysobjects WHERE xtype = 'U'
HI U CAN ALSO USE THE FOLLOWING CODE.,
IT WILL DISPLAY ALL THE USER TABLES......
select TABLE_NAME from information_sch ema.tablesComment
Comment