Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Union and calculated field
Message
From
28/02/2010 02:12:05
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01451565
Message ID:
01451570
Views:
25
>Which field is Text datatype? If you're using SQL 2005 and up, cast TEXT field to varchar(max).

Url2 was Text datatype. I have adjusted and it works.

>Also, IMHO, it doesn't make much sense to have char(74) field. I would use varchar(74) instead.

Why would that be?

>Finally, if you want to get rid of the error, use UNION ALL instead of UNION.

When I use UNION ALL, it worked even before I changed the Text. What does UNION ALL exactly?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform