Click here to Skip to main content
15,894,410 members
Home / Discussions / Database
   

Database

 
AnswerRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
Luc Pattyn7-Dec-09 0:52
sitebuilderLuc Pattyn7-Dec-09 0:52 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
AJ Hoge7-Dec-09 1:45
AJ Hoge7-Dec-09 1:45 
AnswerRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
puri keemti7-Dec-09 1:03
puri keemti7-Dec-09 1:03 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
AJ Hoge7-Dec-09 2:12
AJ Hoge7-Dec-09 2:12 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! [modified] Pin
Blue_Boy7-Dec-09 2:43
Blue_Boy7-Dec-09 2:43 
AnswerRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
Niladri_Biswas7-Dec-09 17:33
Niladri_Biswas7-Dec-09 17:33 
QuestionValidation Rule In SQL Server 2005 Pin
hussain.attiya6-Dec-09 21:09
hussain.attiya6-Dec-09 21:09 
AnswerRe: Validation Rule In SQL Server 2005 Pin
dan!sh 6-Dec-09 21:50
professional dan!sh 6-Dec-09 21:50 
You can make use of check constraint on your table for this. Something like:

Alter YourTableName
check (intCol > 0 and intCol < 100)


Although, you should try and filter out faulty data at the UI only. Why to hit database to know that it is a faulty data? It will make your application slow.

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

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 
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 

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.