Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Open View from SQL Server Management Studio
Why the order is lost when I Select Open View??

My query really includes an ORDER clause and the Execute query was fine.



Report this thread to moderator Post Follow-up to this message
Old Post
515331Jack3490
10-31-06 05:15 AM


RE: Open View from SQL Server Management Studio
Hi

From BOL:
When ORDER BY is used in the definition of a view, inline function, derived
table, or subquery, the clause is used only to determine the rows returned b
y
the TOP clause. The ORDER BY clause does not guarantee ordered results when
these constructs are queried, unless ORDER BY is also specified in the query
itself.

You don't say if you are using SP1 or not, there are issues with ORDER BY
when in SQL 2000 compatibility mode.

John

"515331Jack3490" wrote:

> Why the order is lost when I Select Open View??
>
> My query really includes an ORDER clause and the Execute query was fine.
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
John Bell
10-31-06 05:15 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:50 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006