Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
DURGESH
Posting Yak Master
105 Posts |
Posted - 2008-06-19 : 02:07:58
|
HI ALLI WANNA DISPLAY ONLY COLUMN NAMES(I.E., WITHOUT DATA) FROM A TABLE EVEN THOUGH THE TABLE CONTAINS DATATHANKS IN ADVANCE |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-06-19 : 03:01:12
|
SELECT * FROM INFORMATION_SCHEMA.CLUMNS WHERE TABLE_NAME = 'YourTable'OR SELECT TOP 0 * FROM YourTable |
 |
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2008-06-19 : 03:13:24
|
http://opera.oslocity.org/caps/capslock.jpg |
 |
|
|
|
|