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
 how to find ntext datatype columns?

Author  Topic 

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2007-05-30 : 01:36:03
Dear experts,
how can i find the ntext datatype columns in a database?

please guide me

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-05-30 : 01:40:39
[code]select * from information_schema.columns where data_type = 'ntext'[/code]

EDIT: My bad, it was just that I have huge number of tables in my database so just wanted to limit records.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-05-30 : 02:47:34
quote:
Originally posted by harsh_athalye

select top 1 * from information_schema.columns where data_type = 'ntext'


Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"


Why did you use top 1?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-05-30 : 03:07:13
<<
EDIT: My bad, it was just that I have huge number of tables in my database so just wanted to limit records.
>>
I see

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2007-05-30 : 05:12:10
thank you harsh....any way i didnt used that top 1....
i guessed the same thing


Vinod
Even you learn 1%, Learn it with 100% confidence.
Go to Top of Page
   

- Advertisement -