Re: ORDER BY in VIEW not working



RickW wrote:

I'm a
bit ticked that a very useful feature, in place for almost a decade, was
taken away without more reasonable notice. I would have thought it
would show up on the MSDN page I quoted in an earlier reply.


Your unwillingness to learn is so amazing that I wonder why you
bothered to ask at all. There was no notice in the docs because no
feature was removed. It's just that you assumed the existence of a
feature that never was there. Even in SQL Server 2000 queries against
views containing ORDER BY don't always respect any predetermined order.
In many cases ORDER BY in views will be ignored. I believe that has
been true of every version of SQL Server. Your elementary mistake
reminds me of the joke about the economist who sees a brown cow and
therefore assumes all cows are brown.

I'd second Joe's suggestion: get some training. Trial and error is the
most expensive form of education.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--

.



Relevant Pages

  • Re: 2008 Express Database Engine Services Failed
    ... Is there any possibility that your system does not meet the minimum requirements for a SQL Server 2008 installation? ... pass as it returned false and true was expected. ... RS_RunInstallScriptsAction_Cpu32 The condition tests feature: ... SqlEngineDBStopConfigAction_install_configrc_Cpu32 The condition tests ...
    (microsoft.public.sqlserver.setup)
  • Re: Full Text Search Install Problem
    ... Then "Component Selection" window pops up, choose your SQL Server 2005 instance on the list and click Next button. ... In the Feature Maintenance window, choose Database Engine and click Next button again. ...
    (microsoft.public.sqlserver.setup)
  • Re: SQL Server Management Studio Express 2008
    ... SQL Server 2008 Express Edition with Tools and Advanced Services have SQL Server Management Studio Basic with them and this feature is called "Management Tools - Basic" and you can check this feature to be installed during SQL Server 2008 Express Edition installation. ...
    (microsoft.public.sqlserver.setup)
  • Re: Computed column
    ... >> Consider it a "feature", to be used if you wish. ... >> Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.server)