how can i view structure of table in sql server? tell me
that query.

Answers were Sorted based on User's Feedback



how can i view structure of table in sql server? tell me that query...

Answer / anil panwar

SP_help < table_name>

Is This Answer Correct ?    54 Yes 1 No

how can i view structure of table in sql server? tell me that query...

Answer / vidit tyagi

sp_help <tablename>

Is This Answer Correct ?    10 Yes 2 No

how can i view structure of table in sql server? tell me that query...

Answer / krishnaraj

sp_help '<TABLE NAME>'

Is This Answer Correct ?    4 Yes 1 No

how can i view structure of table in sql server? tell me that query...

Answer / erwin suryana

sp_columns <table_name>

Is This Answer Correct ?    5 Yes 3 No

how can i view structure of table in sql server? tell me that query...

Answer / ram

sp_help <table name>

Is This Answer Correct ?    2 Yes 1 No

how can i view structure of table in sql server? tell me that query...

Answer / sathish

how can i view structure of table in sql server? tell me
that query.

Select * from information_schema.columns where table_name =
xyz

Is This Answer Correct ?    1 Yes 0 No

how can i view structure of table in sql server? tell me that query...

Answer / r.rajesh

sp_columns table_name

Is This Answer Correct ?    1 Yes 1 No

how can i view structure of table in sql server? tell me that query...

Answer / sagar

Select TableName and then press ALT+F1 means highlight tablename

Is This Answer Correct ?    0 Yes 0 No

how can i view structure of table in sql server? tell me that query...

Answer / murli manohar

sp_tables @table_type = "'TABLEName'"

Is This Answer Correct ?    5 Yes 9 No

how can i view structure of table in sql server? tell me that query...

Answer / justus

sp_helptext <tablename>

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More SQL Server Interview Questions

how to get max salary with employee number by using one select query and max function ??

3 Answers   Genpact,


What is sql collation?

0 Answers  


Why I am getting this error when renaming a database in ms sql server?

0 Answers  


Explain about analysis services?

0 Answers  


What is the osql utility?

0 Answers  






How to transfer Logins from SQL Server 2000 to 2005

2 Answers  


What is the order by used for?

0 Answers  


Does a full backup include transaction log?

0 Answers  


Why should you use or avoid select * statements?

0 Answers  


In clustered and non clustered indexes which one is faster while executing a query ?

1 Answers  


What is the difference between a stored procedure and a user defined function in sql server?

2 Answers   Millennium,


What is self contained sub query?

0 Answers  


Categories