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

Database

 
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 
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 
Introduce a new table called PriorityOrder with something like:

Priority    PriorityOrder
-------------------------
0           5
1           1
2           2
3           3
4           4


And then join your tables with this table on the Priority column and then Order by the PriorityOrder column.

This design gives you the flexibility to change the ordering any time by changing the contents of this table instead of changing code.
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 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:10
AJ Hoge5-Dec-09 21:10 
AnswerRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Blue_Boy5-Dec-09 8:35
Blue_Boy5-Dec-09 8:35 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:31
AJ Hoge5-Dec-09 21:31 

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.