| Author |
Topic |
|
rajkumarrai_bis
Yak Posting Veteran
78 Posts |
Posted - 2007-01-24 : 21:05:24
|
| this is kind'a trickycan we extract all columns without using star(*)thanks in advance |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-01-24 : 21:15:05
|
yes. Just type in the column name one by one.  KH |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-01-24 : 21:19:24
|
or using SSMS, navigate to table, click on the 'columns' and drag the columns to the query window. KH |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-01-25 : 00:57:32
|
sp_help <YourTableNameHere>And of course a copy&paste operation Peter LarssonHelsingborg, Sweden |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-01-25 : 01:32:28
|
orsp_columns <YourTableNameHere>And of course a copy & paste operation  KH |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-01-25 : 04:01:59
|
Or write your own SProc that delivers the Column Names in a variety of useful formats (which is what we have done) ...And of course a copy & paste operation Kristen |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-01-25 : 04:06:19
|
Kristen, something wrong with you copy & paste. There is an extra there KH |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-01-25 : 04:25:28
|
I was using my smiley-escallation-algorithm. , ,  ... |
 |
|
|
rajkumarrai_bis
Yak Posting Veteran
78 Posts |
Posted - 2007-01-25 : 20:20:59
|
| Hi Guys,Funny..But not at the momentI m seriuos abt thisPlz Help..Thanks in advance |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-01-25 : 20:25:13
|
Didn't we have given you the alternative ? KH |
 |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2007-01-25 : 20:49:11
|
quote: Originally posted by rajkumarrai_bis Hi Guys,Funny..But not at the momentI m seriuos abt thisPlz Help..Thanks in advance
Please explain what you are looking for.Is it just too much trouble to type in "SELECT * FROM MY_TABLE"?CODO ERGO SUM |
 |
|
|
|