Solved

QUERY AND SYNTAX

Posted on 2008-10-20
1
138 Views
Last Modified: 2012-05-05
I need to add to this query a sort filter, by Case Number, from highest number of CaseNumber to lowest:

SELECT     CaseNumber, TypeCase, Category, CaseRep, [ Last Name ], [ First Name ], DriverLicense, SignUpDate, SignedBy, Address, City, State, Zipcode, Telef_Home, Telef_Cell, Telef_Work,
FROM         dbo. [ Clients List ]
WHERE     (Status IS NULL)

0
Comment
Question by:gabepcsolutions
1 Comment
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 22757342
you mean:
SELECT     CaseNumber, TypeCase, Category, CaseRep, [ Last Name ], [ First Name ], DriverLicense, SignUpDate, SignedBy, Address, City, State, Zipcode, Telef_Home, Telef_Cell, Telef_Work, 
FROM         dbo. [ Clients List ]
WHERE     (Status IS NULL)
ORDER BY CaseNumber DESC

Open in new window

0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how the fundamental information of how to create a table.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now