Click here to Skip to main content
15,890,438 members
Home / Discussions / Database
   

Database

 
AnswerRe: Validation Rule In SQL Server 2005 Pin
dan!sh 6-Dec-09 21:50
professional dan!sh 6-Dec-09 21:50 
GeneralRe: Validation Rule In SQL Server 2005 Pin
hussain.attiya6-Dec-09 21:59
hussain.attiya6-Dec-09 21:59 
AnswerRe: Validation Rule In SQL Server 2005 Pin
Mycroft Holmes6-Dec-09 22:36
professionalMycroft Holmes6-Dec-09 22:36 
GeneralRe: Validation Rule In SQL Server 2005 Pin
hussain.attiya6-Dec-09 23:02
hussain.attiya6-Dec-09 23:02 
GeneralRe: Validation Rule In SQL Server 2005 Pin
Mycroft Holmes6-Dec-09 23:50
professionalMycroft Holmes6-Dec-09 23:50 
AnswerRe: Validation Rule In SQL Server 2005 Pin
puri keemti7-Dec-09 1:04
puri keemti7-Dec-09 1:04 
AnswerRe: Validation Rule In SQL Server 2005 Pin
Niladri_Biswas7-Dec-09 17:42
Niladri_Biswas7-Dec-09 17:42 
QuestionCustom sort in SQL Server Pin
Ma tju6-Dec-09 18:36
Ma tju6-Dec-09 18:36 
Hi,

I have a table where the results are sorted using an "priority" column, eg:

Doc_Value   priority
------------------------
  aaa         0
  xxx         1
  bbb         3
  ccc         0
  aaa         2


I need the SQL results to be in a specific order based on the "priority", but not in ascending or descending order. The order
that I want them in is 1,2,3,0,0,0,0....

Highest priority start with 1 to infinite (9999) number but the lowest priority is 0...
Any suggestion guys? Smile | :)

ma tju
Software Application Engineer
Petaling Jaya,Selangor, Malaysia

Ring Master SB MVP 2008 Poke tongue | ;-P
Petaling Jaya MOP (Otai)

AnswerRe: Custom sort in SQL Server Pin
Mycroft Holmes6-Dec-09 18:42
professionalMycroft Holmes6-Dec-09 18:42 
GeneralRe: Custom sort in SQL Server Pin
Ma tju6-Dec-09 18:48
Ma tju6-Dec-09 18:48 
AnswerRe: Custom sort in SQL Server Pin
Shameel6-Dec-09 23:37
professionalShameel6-Dec-09 23:37 
GeneralRe: Custom sort in SQL Server Pin
Mycroft Holmes7-Dec-09 0:07
professionalMycroft Holmes7-Dec-09 0:07 
GeneralRe: Custom sort in SQL Server Pin
Shameel7-Dec-09 6:57
professionalShameel7-Dec-09 6:57 
GeneralRe: Custom sort in SQL Server Pin
Ma tju7-Dec-09 14:31
Ma tju7-Dec-09 14:31 
AnswerRe: Custom sort in SQL Server Pin
Niladri_Biswas7-Dec-09 17:51
Niladri_Biswas7-Dec-09 17:51 
QuestionImport data from Xml to Sql in vs2003 Pin
<<Tash18>>6-Dec-09 17:12
<<Tash18>>6-Dec-09 17:12 
AnswerRe: Import data from Xml to Sql in vs2003 Pin
Mycroft Holmes6-Dec-09 18:39
professionalMycroft Holmes6-Dec-09 18:39 
GeneralRe: Import data from Xml to Sql in vs2003 Pin
<<Tash18>>6-Dec-09 18:45
<<Tash18>>6-Dec-09 18:45 
GeneralRe: Import data from Xml to Sql in vs2003 Pin
Mycroft Holmes7-Dec-09 0:11
professionalMycroft Holmes7-Dec-09 0:11 
GeneralRe: Import data from Xml to Sql in vs2003 Pin
<<Tash18>>7-Dec-09 1:15
<<Tash18>>7-Dec-09 1:15 
GeneralRe: Import data from Xml to Sql in vs2003 Pin
Mycroft Holmes7-Dec-09 13:16
professionalMycroft Holmes7-Dec-09 13:16 
Question(Reporting Services) windows services Pin
Jassim Rahma5-Dec-09 20:59
Jassim Rahma5-Dec-09 20:59 
Questionunable to view Reporting services page Pin
Jassim Rahma5-Dec-09 20:59
Jassim Rahma5-Dec-09 20:59 
Questionhow to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 2:43
AJ Hoge5-Dec-09 2:43 
AnswerRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Shameel5-Dec-09 5:06
professionalShameel5-Dec-09 5:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.