Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adjusting for alltrim
Message
De
08/02/2009 20:20:39
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Adjusting for alltrim
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01380195
Message ID:
01380195
Vues:
84
Is there a way to adjust this SQL command to be ANSI compliant?
SELECT Temp.Numero,Temp.Link,Temp.TotalLink,Link.URL,LEN(ALLTRIM(Temp.Link)) AS LenLink
 FROM (SELECT MIN(Link.Numero) AS Numero,Link.Link,COUNT(*) AS TotalLink
 FROM Link GROUP BY 2) AS Temp
 INNER JOIN Link ON Temp.Numero=Link.Numero
 ORDER BY LenLink DESC
The problem is with the alltrim command.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform