Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Union and calculated field
Message
De
28/02/2010 02:12:05
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01451565
Message ID:
01451570
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform