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

Database

 
QuestionSQL Mutiple Like Statements Pin
admoore771-Mar-07 9:07
admoore771-Mar-07 9:07 
AnswerRe: SQL Mutiple Like Statements Pin
Colin Angus Mackay1-Mar-07 11:26
Colin Angus Mackay1-Mar-07 11:26 
GeneralRe: SQL Mutiple Like Statements Pin
admoore771-Mar-07 14:55
admoore771-Mar-07 14:55 
GeneralRe: SQL Mutiple Like Statements Pin
Colin Angus Mackay1-Mar-07 21:19
Colin Angus Mackay1-Mar-07 21:19 
Questionrelationship creation issue Pin
Saira Tanwir1-Mar-07 6:50
Saira Tanwir1-Mar-07 6:50 
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 
Priya_2007 wrote:
It should be same datatypes while creating a relationship between two tables


The OP was asking about two PRIMARY KEYS. The primary keys do NOT have to be the same, and often they are not the same in two related tables. The important part is the PRIMARY KEY on the parent table matches the type of the FOREIGN KEY on the child table. You only need to match both primary keys when you are creating a one-to-one or zero-to-one relationship.


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

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.