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

Database

 
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 
GeneralRe: Differences between SqlServer Express and MySql Pin
Henry Minute13-Sep-09 7:41
Henry Minute13-Sep-09 7:41 
QuestionCreating a report selecting information from two databases on the same server Pin
mlemon1413-Sep-09 3:06
mlemon1413-Sep-09 3:06 
AnswerRe: Creating a report selecting information from two databases on the same server Pin
Eddy Vluggen13-Sep-09 3:56
professionalEddy Vluggen13-Sep-09 3:56 
GeneralRe: Creating a report selecting information from two databases on the same server Pin
Md. Marufuzzaman13-Sep-09 4:46
professionalMd. Marufuzzaman13-Sep-09 4:46 
GeneralRe: Creating a report selecting information from two databases on the same server Pin
Eddy Vluggen13-Sep-09 7:08
professionalEddy Vluggen13-Sep-09 7:08 
AnswerRe: Creating a report selecting information from two databases on the same server Pin
εїзεїзεїз13-Sep-09 6:09
εїзεїзεїз13-Sep-09 6:09 
Questionproblem with sql server 2008 - cant change field type Pin
E_Gold12-Sep-09 22:19
E_Gold12-Sep-09 22:19 
AnswerRe: problem with sql server 2008 - cant change field type Pin
Md. Marufuzzaman13-Sep-09 4:38
professionalMd. Marufuzzaman13-Sep-09 4:38 
GeneralRe: problem with sql server 2008 - cant change field type Pin
E_Gold13-Sep-09 9:21
E_Gold13-Sep-09 9:21 
AnswerRe: problem with sql server 2008 - cant change field type Pin
εїзεїзεїз13-Sep-09 5:59
εїзεїзεїз13-Sep-09 5:59 
QuestionRegaring Establishing Connection with sqlserver. Pin
dayakar_dn12-Sep-09 8:35
dayakar_dn12-Sep-09 8:35 

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.