Solved

QUERY AND SYNTAX

Posted on 2008-10-20
1
141 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 143

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

756 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