Click here to Skip to main content
15,891,184 members
Home / Discussions / Database
   

Database

 
GeneralRe: Query the records that are not same in two different table. Pin
ptr_Electron1-Feb-12 3:46
ptr_Electron1-Feb-12 3:46 
GeneralRe: Query the records that are not same in two different table. Pin
Simon_Whale1-Feb-12 3:52
Simon_Whale1-Feb-12 3:52 
AnswerRe: Query the records that are not same in two different table. Pin
Blue_Boy1-Feb-12 4:01
Blue_Boy1-Feb-12 4:01 
AnswerRe: Query the records that are not same in two different table. Pin
scottgp1-Feb-12 4:25
professionalscottgp1-Feb-12 4:25 
QuestionTwo same foreign keys in the one table . is it possible Pin
yousefshokati30-Jan-12 21:02
yousefshokati30-Jan-12 21:02 
AnswerRe: Two same foreign keys in the same table . is it possible Pin
Mycroft Holmes30-Jan-12 21:27
professionalMycroft Holmes30-Jan-12 21:27 
AnswerRe: Two same foreign keys in the one table . is it possible Pin
PIEBALDconsult31-Jan-12 2:48
mvePIEBALDconsult31-Jan-12 2:48 
AnswerRe: Two same foreign keys in the one table . is it possible Pin
SilimSayo31-Jan-12 9:35
SilimSayo31-Jan-12 9:35 
What you are asking is possible; however, be sure that your design is right. Off the top of my head, I thing a Category can have 1 or several products.

If that is the case, then I would have my tables as follows

Product(ProductID, CategoryID, ProductDesc,...)
Category(CategoryID, CategoryDesc,......)


Category ID would be a foregn in the product table
GeneralRe: Two same foreign keys in the one table . is it possible Pin
Shameel31-Jan-12 18:51
professionalShameel31-Jan-12 18:51 
GeneralRe: Two same foreign keys in the one table . is it possible Pin
SilimSayo1-Feb-12 6:28
SilimSayo1-Feb-12 6:28 
AnswerRe: Two same foreign keys in the one table . is it possible Pin
Shameel31-Jan-12 20:36
professionalShameel31-Jan-12 20:36 
GeneralRe: Two same foreign keys in the one table . is it possible Pin
SilimSayo1-Feb-12 16:37
SilimSayo1-Feb-12 16:37 
QuestionCopy 84 million rows from one table to another table. Pin
vanikanc30-Jan-12 4:25
vanikanc30-Jan-12 4:25 
AnswerRe: Copy 84 million rows from one table to another table. Pin
Chris Meech30-Jan-12 4:45
Chris Meech30-Jan-12 4:45 
GeneralRe: Copy 84 million rows from one table to another table. Pin
vanikanc30-Jan-12 4:50
vanikanc30-Jan-12 4:50 
AnswerRe: Copy 84 million rows from one table to another table. Pin
RK KL30-Jan-12 5:06
RK KL30-Jan-12 5:06 
AnswerRe: Copy 84 million rows from one table to another table. Pin
Eddy Vluggen30-Jan-12 5:34
professionalEddy Vluggen30-Jan-12 5:34 
GeneralRe: Copy 84 million rows from one table to another table. Pin
vanikanc30-Jan-12 5:39
vanikanc30-Jan-12 5:39 
AnswerRe: Copy 84 million rows from one table to another table. Pin
Eddy Vluggen30-Jan-12 7:01
professionalEddy Vluggen30-Jan-12 7:01 
AnswerRe: Copy 84 million rows from one table to another table. Pin
jschell30-Jan-12 9:12
jschell30-Jan-12 9:12 
AnswerRe: Copy 84 million rows from one table to another table. Pin
PIEBALDconsult31-Jan-12 2:59
mvePIEBALDconsult31-Jan-12 2:59 
Question[ANSWERED] Group_Concat and using a query result in the where clause Pin
Dwayner7929-Jan-12 7:35
Dwayner7929-Jan-12 7:35 
AnswerRe: Group_Concat and using a query result in the where clause Pin
Jörgen Andersson29-Jan-12 8:35
professionalJörgen Andersson29-Jan-12 8:35 
GeneralRe: Group_Concat and using a query result in the where clause Pin
Dwayner7929-Jan-12 11:24
Dwayner7929-Jan-12 11:24 
GeneralRe: Group_Concat and using a query result in the where clause Pin
Dwayner7929-Jan-12 13:01
Dwayner7929-Jan-12 13:01 

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.