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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Need Query urgent

Author  Topic 

sql2020
Yak Posting Veteran

54 Posts

Posted - 2010-08-11 : 06:59:45
I want list Columns with fieldnames in all tables with in the database.

pls tell me

URGENT

sql2020

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2010-08-11 : 07:12:59
SELECT * FROM INFORMATION_SCHEMA.COLUMNS

- Lumbago

My blog (yes, I have a blog now! just not that much content yet)
-> www.thefirstsql.com
Go to Top of Page

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2010-08-11 : 07:15:01
And next time you post don't use the word "urgent". It pisses people off and has no impact whatsoever on how fast your question will be answered whatsoever. If someone knows the answer they will answer in the time they see fit, we're all doing this for free.

- Lumbago

My blog (yes, I have a blog now! just not that much content yet)
-> www.thefirstsql.com
Go to Top of Page

Transact Charlie
Master Smack Fu Yak Hacker

3451 Posts

Posted - 2010-08-11 : 07:50:30
++

I didn't answer you earlier because of the urgent -- it is really annoying. Especially when the question asked is so trivial.


Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page

jimf
Master Smack Fu Yak Hacker

2875 Posts

Posted - 2010-08-11 : 08:43:01
I wish they'd be honest and just say "I blew off my homework and class starts in an hour!" That I can understand and support having done it so many times myself.

Jim

Everyday I learn something that somebody else already knew
Go to Top of Page
   

- Advertisement -