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 |
|
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 AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
|
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 AthalyeIndia."The IMPOSSIBLE is often UNTRIED"
Why did you use top 1?MadhivananFailing to plan is Planning to fail |
 |
|
|
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 MadhivananFailing to plan is Planning to fail |
 |
|
|
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 thingVinodEven you learn 1%, Learn it with 100% confidence. |
 |
|
|
|
|
|