Click here to Skip to main content
15,889,343 members
Home / Discussions / Database
   

Database

 
General[Message Deleted] Pin
VickyC#31-Dec-05 3:10
VickyC#31-Dec-05 3:10 
GeneralRe: SQL Optimization Pin
Paul Conrad2-Jan-06 12:09
professionalPaul Conrad2-Jan-06 12:09 
GeneralRe: SQL Optimization Pin
Paul Conrad2-Jan-06 19:14
professionalPaul Conrad2-Jan-06 19:14 
GeneralRe: SQL Optimization Pin
Paul Conrad13-Jan-06 14:45
professionalPaul Conrad13-Jan-06 14:45 
GeneralRe: SQL Optimization Pin
Dave Kreskowiak3-Jan-06 9:32
mveDave Kreskowiak3-Jan-06 9:32 
GeneralRe: SQL Optimization Pin
Paul Conrad3-Jan-06 9:36
professionalPaul Conrad3-Jan-06 9:36 
QuestionPreventing double column value Pin
gharry30-Dec-05 3:40
gharry30-Dec-05 3:40 
AnswerRe: Preventing double column value Pin
Colin Angus Mackay30-Dec-05 9:04
Colin Angus Mackay30-Dec-05 9:04 
The detail you supply is a little vague. Here is my understanding and assumptions:

There is a table with two columns
IdHorse
IdRider

[Assumption] There is only to be one IdHorse in the table. It identifies the horse, therefore it is the primary key.

Solution: Make IdHorse the primary key. It will enforce uniqueness.

However, from the way you described it, I have a feeling there is some missing information somewhere which would invalidate my assumption and therefore the solution.

My: Blog | Photos

"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius

QuestionSpecifying DSN in connection string Pin
Maqsood Ahmed29-Dec-05 21:03
Maqsood Ahmed29-Dec-05 21:03 
AnswerRe: Specifying DSN in connection string Pin
abhinish30-Dec-05 0:02
abhinish30-Dec-05 0:02 
QuestionReporting Services Programming Pin
mipooo29-Dec-05 18:10
mipooo29-Dec-05 18:10 
Questionbetter views or procedure? Pin
sasire1829-Dec-05 18:09
sasire1829-Dec-05 18:09 
AnswerRe: better views or procedure? Pin
Colin Angus Mackay30-Dec-05 0:46
Colin Angus Mackay30-Dec-05 0:46 
QuestionSpecified cast is not valid Pin
gharry29-Dec-05 9:38
gharry29-Dec-05 9:38 
AnswerRe: Specified cast is not valid Pin
Colin Angus Mackay29-Dec-05 15:30
Colin Angus Mackay29-Dec-05 15:30 
GeneralRe: Specified cast is not valid Pin
gharry29-Dec-05 23:02
gharry29-Dec-05 23:02 
GeneralRe: Specified cast is not valid Pin
gharry29-Dec-05 23:44
gharry29-Dec-05 23:44 
QuestionChanging the location for a replication subscription Pin
SeXyProwler29-Dec-05 9:37
SeXyProwler29-Dec-05 9:37 
QuestionSQL Server security Pin
Fad B29-Dec-05 6:50
Fad B29-Dec-05 6:50 
AnswerRe: SQL Server security Pin
Colin Angus Mackay29-Dec-05 15:38
Colin Angus Mackay29-Dec-05 15:38 
GeneralRe: SQL Server security Pin
Paul Conrad29-Dec-05 18:25
professionalPaul Conrad29-Dec-05 18:25 
GeneralRe: SQL Server security Pin
Fad B29-Dec-05 21:14
Fad B29-Dec-05 21:14 
GeneralRe: SQL Server security Pin
Fad B29-Dec-05 21:15
Fad B29-Dec-05 21:15 
QuestionParsing Text file w/ multple datasets and schema.ini? Pin
Joshua Lunsford29-Dec-05 6:33
Joshua Lunsford29-Dec-05 6:33 
QuestionExport xls from sql Pin
GoodQuestion28-Dec-05 6:52
GoodQuestion28-Dec-05 6:52 

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.