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)
 How to use Text(16) with Unoin Operation

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-01-11 : 08:31:33
RameshBabu writes "How to handle TEXT(16) data type of Microsoft SQL Server in a SELECT statement with UNION function."

amachanic
SQL Server MVP

169 Posts

Posted - 2005-01-11 : 13:42:10
You can't.

What are you trying to do? Post DDL for your table(s), sample data, and sample output...
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2005-01-11 : 21:00:49
A UNION ALL should work though, as it does not perform a DISTINCT operation like UNION does.
Go to Top of Page

amachanic
SQL Server MVP

169 Posts

Posted - 2005-01-11 : 21:12:06
Rob, that depends on what the OP is trying to do -- UNION ALL will work, but the results won't be the same as with UNION...
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2005-01-11 : 22:04:21
True, but if there are no duplicates anyway then the results will be the same.
Go to Top of Page
   

- Advertisement -