Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

QUERY AND SYNTAX

Posted on 2008-10-20
1
Medium Priority
?
146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
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 datatypes, explain the available data types and show how data can be passed into and out of variables.

730 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