Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Order by
Message
From
12/01/2006 10:13:11
 
 
To
12/01/2006 09:46:31
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01086037
Message ID:
01086061
Views:
27
Sorry,

SELECT dbo.t_role_map.*
FROM dbo.t_role_map
WHERE (uID IN
(SELECT uID
FROM dbo.t_role_map
WHERE (rID = 100)
GROUP BY uID, rID
HAVING (COUNT(rID) > 1))) AND (rID = 100)

I would like to Order By uID.

>>The following select works without the 'order by' clause. When I put it in, it also adds 'top 100 percent' by default, and generates an error. I have tried saving the select without the 'order by' and calling it from another select (view), but that still generates the error. Is there an easy way to do this??
>>
>>Thanks in advance!
>
>Uh, what select?
Thank You

Rollin Burr

Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform