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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Grouping with Text datatype

Author  Topic 

mkloster
Starting Member

7 Posts

Posted - 2006-03-31 : 12:11:02
I need to do a group by on a field defined as a Text datatype. Obviously, SQL doesn't allow this. Are there any work-arounds?

Mike

Srinika
Master Smack Fu Yak Hacker

1378 Posts

Posted - 2006-03-31 : 12:16:56
U may need to consider a part of the data
(I mean left(TextField, 1000)

Convert to Varchar


Srinika
Go to Top of Page

mkloster
Starting Member

7 Posts

Posted - 2006-04-02 : 15:37:19
Thanks. That worked.

Mike
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-04-03 : 01:43:11
Also if the text column has data with more than 8000 characters, then you may have difficulty with that.


Madhivanan

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

- Advertisement -