Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using > in SQL Select
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01412630
Message ID:
01412734
Views:
54
I always put query clauses in the same order and format queries the same way. It makes them easier to read.

>I thought it was a valid WHERE. And I have used it before. The problem turned out to be that I had WHERE after ORDER clause. In VFP it never caused any problems and then I remembered that SQL Server is more stringent about the order of these clauses. So putting the clauses in proper order solved the problem.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform