Click here to Skip to main content
16,005,281 members
Home / Discussions / Database
   

Database

 
QuestionJOIN and WHERE condiiton Pin
sujithkumarsl13-Sep-09 20:54
sujithkumarsl13-Sep-09 20:54 
AnswerRe: JOIN and WHERE condiiton Pin
Blikkies13-Sep-09 21:04
professionalBlikkies13-Sep-09 21:04 
AnswerRe: JOIN and WHERE condiiton Pin
PIEBALDconsult14-Sep-09 6:57
mvePIEBALDconsult14-Sep-09 6:57 
AnswerRe: JOIN and WHERE condiiton Pin
WoutL14-Sep-09 22:27
WoutL14-Sep-09 22:27 
GeneralRe: JOIN and WHERE condiiton Pin
ElectricLlama17-Sep-09 23:44
ElectricLlama17-Sep-09 23:44 
Questionlogin with unique password Pin
reza assar13-Sep-09 8:41
reza assar13-Sep-09 8:41 
AnswerRe: login with unique password Pin
εїзεїзεїз13-Sep-09 9:14
εїзεїзεїз13-Sep-09 9:14 
AnswerRe: login with unique password Pin
PIEBALDconsult14-Sep-09 7:01
mvePIEBALDconsult14-Sep-09 7:01 
QuestionWhich database (free or open source) is password protected? [modified] Pin
transoft13-Sep-09 8:33
transoft13-Sep-09 8:33 
AnswerRe: Which database (free or open source) is password protected? Pin
ElectricLlama17-Sep-09 23:46
ElectricLlama17-Sep-09 23:46 
GeneralRe: Which database (free or open source) is password protected? Pin
transoft18-Sep-09 2:02
transoft18-Sep-09 2:02 
GeneralRe: Which database (free or open source) is password protected? Pin
ElectricLlama18-Sep-09 14:47
ElectricLlama18-Sep-09 14:47 
QuestionInsert into a table that has Foreign Keys Pin
ShabRaza13-Sep-09 6:48
ShabRaza13-Sep-09 6:48 
AnswerRe: Insert into a table that has Foreign Keys Pin
PIEBALDconsult13-Sep-09 7:07
mvePIEBALDconsult13-Sep-09 7:07 
GeneralRe: Insert into a table that has Foreign Keys Pin
ShabRaza13-Sep-09 8:00
ShabRaza13-Sep-09 8:00 
GeneralRe: Insert into a table that has Foreign Keys Pin
Ashfield13-Sep-09 20:59
Ashfield13-Sep-09 20:59 
GeneralRe: Insert into a table that has Foreign Keys Pin
ShabRaza13-Sep-09 23:36
ShabRaza13-Sep-09 23:36 
GeneralRe: Insert into a table that has Foreign Keys Pin
PIEBALDconsult14-Sep-09 7:04
mvePIEBALDconsult14-Sep-09 7:04 
GeneralRe: Insert into a table that has Foreign Keys Pin
Ashfield14-Sep-09 10:03
Ashfield14-Sep-09 10:03 
What you have done to display the nformation is correct, but what you need to do id translate the supplier and category names back to their ID values to insert into the product table. YOU have to do the lookup and supply the correct values for the insert.

Personally I would be doing the insert in a stored procedure and would look up any FK values in the stored proc.

Hopefully this makes sense

Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP

Questionwhich is better when inserting data in sql database Pin
neodeaths13-Sep-09 6:16
neodeaths13-Sep-09 6:16 
AnswerRe: which is better when inserting data in sql database Pin
PIEBALDconsult13-Sep-09 6:56
mvePIEBALDconsult13-Sep-09 6:56 
AnswerRe: which is better when inserting data in sql database Pin
εїзεїзεїз13-Sep-09 7:46
εїзεїзεїз13-Sep-09 7:46 
AnswerRe: which is better when inserting data in sql database Pin
N a v a n e e t h13-Sep-09 8:23
N a v a n e e t h13-Sep-09 8:23 
QuestionDifferences between SqlServer Express and MySql Pin
Henry Minute13-Sep-09 5:26
Henry Minute13-Sep-09 5:26 
AnswerRe: Differences between SqlServer Express and MySql Pin
εїзεїзεїз13-Sep-09 6:26
εїзεїзεїз13-Sep-09 6:26 

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.