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

Database

 
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 
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 
Best way to see which is performing fast is to profile the application. I will go with the first method with the modifications what PIEBALDconsult suggested.

Second method would be good in performance but it is hard to troubleshoot when you get error in one of the inserts.

neodeaths wrote:
also if lets say way 2 somewhere in the middle of the insert command there is an error would the code before it still be added?
Quote Selected Text


It will be added. If you want to ensure all the data gets added, run the queries in a transaction.


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 
AnswerRe: Regaring Establishing Connection with sqlserver. Pin
dan!sh 12-Sep-09 8:56
professional dan!sh 12-Sep-09 8:56 
AnswerRe: Regaring Establishing Connection with sqlserver. Pin
εїзεїзεїз12-Sep-09 10:20
εїзεїзεїз12-Sep-09 10:20 
AnswerRe: Regaring Establishing Connection with sqlserver. Pin
εїзεїзεїз12-Sep-09 12:00
εїзεїзεїз12-Sep-09 12:00 
QuestionWhats wrong with this query Pin
AndreFratelli12-Sep-09 7:47
AndreFratelli12-Sep-09 7:47 

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.