Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adjusting for alltrim
Message
From
08/02/2009 20:20:39
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Adjusting for alltrim
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01380195
Message ID:
01380195
Views:
85
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
Next
Reply
Map
View

Click here to load this message in the networking platform