Click here to Skip to main content
15,895,084 members
Home / Discussions / Database
   

Database

 
AnswerRe: relationship creation issue Pin
Colin Angus Mackay1-Mar-07 6:56
Colin Angus Mackay1-Mar-07 6:56 
AnswerRe: relationship creation issue Pin
Priya_20071-Mar-07 20:23
Priya_20071-Mar-07 20:23 
GeneralRe: relationship creation issue Pin
Colin Angus Mackay1-Mar-07 21:27
Colin Angus Mackay1-Mar-07 21:27 
QuestionGenerating script file programmatically Pin
Saira Tanwir1-Mar-07 3:52
Saira Tanwir1-Mar-07 3:52 
AnswerRe: Generating script file programmatically Pin
Colin Angus Mackay1-Mar-07 4:20
Colin Angus Mackay1-Mar-07 4:20 
GeneralRe: Generating script file programmatically Pin
Saira Tanwir1-Mar-07 5:25
Saira Tanwir1-Mar-07 5:25 
Questionquery problem Pin
Saira Tanwir1-Mar-07 3:27
Saira Tanwir1-Mar-07 3:27 
AnswerRe: query problem Pin
Colin Angus Mackay1-Mar-07 4:20
Colin Angus Mackay1-Mar-07 4:20 
Saira Tanwir wrote:
a One to One relatonship between two tables 'boys' and 'sports'


Are you sure that is what you want to do? It doesn't sound like a very useful relationship to me. What if two (or perhaps 11) boys play football?

Adding a unique constraint does not make a 1-to-1 relationship.

If you want to create a one-to-one relationship then generally both tables will share the same primary key (which also happens to be a foreign key to the other table too)


Saira Tanwir wrote:
column sports_type does not exist in the target table. Couldnot create constraint see previous errors

can u plz explain the meaning of this, too???


Well, it means that the table boys does not contain a column called sports_type.


GeneralRe: query problem Pin
Saira Tanwir1-Mar-07 5:22
Saira Tanwir1-Mar-07 5:22 
AnswerRe: query problem Pin
Priya_20071-Mar-07 20:25
Priya_20071-Mar-07 20:25 
Questionhelp on SP (edit / insert) Pin
firestoper1-Mar-07 1:05
firestoper1-Mar-07 1:05 
AnswerRe: help on SP (edit / insert) Pin
Pete O'Hanlon1-Mar-07 1:42
mvePete O'Hanlon1-Mar-07 1:42 
GeneralRe: help on SP (edit / insert) Pin
firestoper1-Mar-07 2:06
firestoper1-Mar-07 2:06 
GeneralRe: help on SP (edit / insert) Pin
Pete O'Hanlon1-Mar-07 2:45
mvePete O'Hanlon1-Mar-07 2:45 
GeneralRe: help on SP (edit / insert) Pin
firestoper1-Mar-07 12:35
firestoper1-Mar-07 12:35 
AnswerRe: help on SP (edit / insert) Pin
gauthee1-Mar-07 1:45
gauthee1-Mar-07 1:45 
GeneralRe: help on SP (edit / insert) Pin
firestoper1-Mar-07 2:10
firestoper1-Mar-07 2:10 
QuestionError on SP I made Pin
firestoper1-Mar-07 0:36
firestoper1-Mar-07 0:36 
AnswerRe: Error on SP I made Pin
Paddy Boyd1-Mar-07 0:44
Paddy Boyd1-Mar-07 0:44 
GeneralRe: Error on SP I made Pin
firestoper1-Mar-07 0:56
firestoper1-Mar-07 0:56 
QuestionIntersect in SQL Server2000 Pin
Prashant C28-Feb-07 23:34
Prashant C28-Feb-07 23:34 
AnswerRe: Intersect in SQL Server2000 Pin
Krish - KP28-Feb-07 23:52
Krish - KP28-Feb-07 23:52 
AnswerRe: Intersect in SQL Server2000 Pin
gauthee1-Mar-07 0:06
gauthee1-Mar-07 0:06 
QuestionRe: Intersect in SQL Server2000 Pin
Prashant C1-Mar-07 0:39
Prashant C1-Mar-07 0:39 
AnswerRe: Intersect in SQL Server2000 Pin
Harini N K1-Mar-07 0:45
Harini N K1-Mar-07 0: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.