Office & Productivity Software forum

General discussion

order by in sql view

by Rob Kormoski / January 23, 2006 1:15 AM PST

i have a view in my sql database and I would like to order one of my columns, but I am receiving an error saying that you cannot use ORDER BY in a sql view. is there a way around this by using a different command ?

thanks in advance
rob kormoski

Discussion is locked
You are posting a reply to: order by in sql view
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: order by in sql view
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: order by
by Kees Bakker / January 23, 2006 6:25 AM PST
In reply to: order by in sql view

You can certainly use ORDER BY in an MS Access query (type it in SQL or enter the sort sequence in the GUI in the design view). As most or all of your questions are about MS Access, I don't grasp the problem.

Here's my Access query (where member is a table in the database, but it could be another query, or a table in another database, or even a table or a view in an SQL Server database, as far as I know): SELECT Member.member_id, Member.last_name, Member.first_name FROM Member ORDER BY Member.last_name

Can you clarify your problem?


Collapse -
order by
by Rob Kormoski / January 23, 2006 10:29 AM PST
In reply to: Re: order by

it seemed as if there was an installation issue with my sql server - I guess the reason for the error message. thanks for your reply.

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?