Click here to Skip to main content
15,913,467 members
Home / Discussions / Database
   

Database

 
GeneralRe: Error in installation SQL Server 2005 ! Pin
Jerry Hammond16-Aug-09 10:20
Jerry Hammond16-Aug-09 10:20 
AnswerRe: Error in installation SQL Server 2005 ! Pin
pmpdesign16-Aug-09 20:55
pmpdesign16-Aug-09 20:55 
QuestionHOw to design DB ? Pin
Ali_10016-Aug-09 5:19
Ali_10016-Aug-09 5:19 
AnswerRe: HOw to design DB ? Pin
Jerry Hammond16-Aug-09 5:40
Jerry Hammond16-Aug-09 5:40 
QuestionDeleting a member's account Pin
Kontakentee15-Aug-09 12:05
Kontakentee15-Aug-09 12:05 
AnswerRe: Deleting a member's account Pin
i.j.russell16-Aug-09 0:36
i.j.russell16-Aug-09 0:36 
AnswerRe: Deleting a member's account Pin
Abhishek Sur16-Aug-09 7:43
professionalAbhishek Sur16-Aug-09 7:43 
Questionis there a more effective way to insert new row of data in multiple table [modified] Pin
neodeaths15-Aug-09 4:29
neodeaths15-Aug-09 4:29 
hi
i am currently using vs.net 2005 c# window application and using ms sql as the database.

usually when i create database it is good practice to separate our database to such as below:
table: dad
table: child

where by when inserting data we have to add the dad data first then the child.

insert data into dad table
insert data ,max(index) from dad into child table

my question is there a more effective way to do this like inserting the data in one sql command while inserting the newest index from the dad table to the child table as a reference.

and thus if there are any error during the adding of data to any of the table both table will be then unaffected.


modified on Saturday, August 15, 2009 1:01 PM

AnswerRe: is there a more effective way to insert new row of data in multiple table Pin
Henry Minute15-Aug-09 13:13
Henry Minute15-Aug-09 13:13 
AnswerRe: is there a more effective way to insert new row of data in multiple table Pin
Mycroft Holmes15-Aug-09 16:16
professionalMycroft Holmes15-Aug-09 16:16 
GeneralRe: is there a more effective way to insert new row of data in multiple table Pin
Ashfield16-Aug-09 20:57
Ashfield16-Aug-09 20:57 
GeneralRe: is there a more effective way to insert new row of data in multiple table Pin
Mycroft Holmes16-Aug-09 22:07
professionalMycroft Holmes16-Aug-09 22:07 
QuestionHow to use reporting engine features effiectvely Pin
kiranp50714-Aug-09 21:28
kiranp50714-Aug-09 21:28 
AnswerRe: How to use reporting engine features effiectvely Pin
Mycroft Holmes14-Aug-09 22:55
professionalMycroft Holmes14-Aug-09 22:55 
QuestionSynchronizing different locations in sql server 2005 Pin
εїзεїзεїз14-Aug-09 20:31
εїзεїзεїз14-Aug-09 20:31 
AnswerRe: Synchronizing different locations in sql server 2005 Pin
Adam Maras14-Aug-09 21:51
Adam Maras14-Aug-09 21:51 
GeneralRe: Synchronizing different locations in sql server 2005 Pin
εїзεїзεїз14-Aug-09 21:55
εїзεїзεїз14-Aug-09 21:55 
GeneralRe: Synchronizing different locations in sql server 2005 Pin
Mycroft Holmes14-Aug-09 23:02
professionalMycroft Holmes14-Aug-09 23:02 
GeneralRe: Synchronizing different locations in sql server 2005 Pin
εїзεїзεїз14-Aug-09 23:13
εїзεїзεїз14-Aug-09 23:13 
GeneralRe: Synchronizing different locations in sql server 2005 Pin
Jerry Hammond15-Aug-09 3:47
Jerry Hammond15-Aug-09 3:47 
GeneralRe: Synchronizing different locations in sql server 2005 Pin
Ashfield16-Aug-09 21:00
Ashfield16-Aug-09 21:00 
QuestionHelp in Query - Oracle Pin
aaraaayen14-Aug-09 8:36
aaraaayen14-Aug-09 8:36 
AnswerRe: Help in Query - Oracle Pin
Mycroft Holmes14-Aug-09 13:41
professionalMycroft Holmes14-Aug-09 13:41 
GeneralRe: Help in Query - Oracle Pin
N a v a n e e t h14-Aug-09 17:45
N a v a n e e t h14-Aug-09 17:45 
GeneralRe: Help in Query - Oracle Pin
aaraaayen16-Aug-09 23:54
aaraaayen16-Aug-09 23:54 

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.