Click here to Skip to main content
15,900,429 members
Home / Discussions / Database
   

Database

 
QuestionCopy Excel Data into Access Database Table. Pin
jeshra27922-May-10 3:12
jeshra27922-May-10 3:12 
AnswerRe: Copy Excel Data into Access Database Table. Pin
Jörgen Andersson22-May-10 9:11
professionalJörgen Andersson22-May-10 9:11 
GeneralRe: Copy Excel Data into Access Database Table. Pin
jeshra27923-May-10 11:42
jeshra27923-May-10 11:42 
GeneralSorry By Mistake !!!!!!!!!!!!! Pin
jeshra27923-May-10 11:43
jeshra27923-May-10 11:43 
QuestionCreate Trigger Pin
zafax_21-May-10 13:40
zafax_21-May-10 13:40 
AnswerRe: Create Trigger Pin
Mohsiul Haque21-May-10 22:48
Mohsiul Haque21-May-10 22:48 
GeneralRe: Create Trigger Pin
zafax_27-May-10 6:11
zafax_27-May-10 6:11 
AnswerRe: Create Trigger Pin
Mycroft Holmes23-May-10 4:30
professionalMycroft Holmes23-May-10 4:30 
Triggers are EVIL. Although this is a valid use of a trigger I would suggest using a normal stored proc and surrounding the inserts with a transaction.

Begin Tran
insert parent record
get scope_identity for the inserted record
begin a loop
insert the number of records in the child tables
end the loop
commit the transaction
return the id to the calling method
Never underestimate the power of human stupidity
RAH

GeneralRe: Create Trigger Pin
zafax_27-May-10 6:12
zafax_27-May-10 6:12 
QuestionMSSQL query taking too long Pin
Mike Osbahr21-May-10 5:16
Mike Osbahr21-May-10 5:16 
AnswerRe: MSSQL query taking too long Pin
Blue_Boy21-May-10 5:46
Blue_Boy21-May-10 5:46 
AnswerRe: MSSQL query taking too long Pin
David Mujica21-May-10 5:49
David Mujica21-May-10 5:49 
GeneralRe: MSSQL query taking too long Pin
Mike Osbahr25-May-10 3:48
Mike Osbahr25-May-10 3:48 
QuestionHow to create Data Archiving in SQL Server 2005 Pin
Raghu_M21-May-10 5:15
Raghu_M21-May-10 5:15 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Mohsiul Haque21-May-10 22:52
Mohsiul Haque21-May-10 22:52 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Shameel23-May-10 5:11
professionalShameel23-May-10 5:11 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Mycroft Holmes23-May-10 11:15
professionalMycroft Holmes23-May-10 11:15 
Questionan insert query with return value Pin
reza assar20-May-10 22:53
reza assar20-May-10 22:53 
AnswerRe: an insert query with return value Pin
Johan Hakkesteegt21-May-10 0:50
Johan Hakkesteegt21-May-10 0:50 
GeneralRe: an insert query with return value Pin
J4amieC21-May-10 1:28
J4amieC21-May-10 1:28 
GeneralRe: an insert query with return value Pin
Luc Pattyn21-May-10 3:13
sitebuilderLuc Pattyn21-May-10 3:13 
GeneralRe: an insert query with return value Pin
Johan Hakkesteegt21-May-10 3:15
Johan Hakkesteegt21-May-10 3:15 
AnswerRe: an insert query with return value Pin
Tripathi Swati21-May-10 0:52
Tripathi Swati21-May-10 0:52 
GeneralRe: an insert query with return value Pin
J4amieC21-May-10 1:31
J4amieC21-May-10 1:31 
AnswerRe: an insert query with return value Pin
J4amieC21-May-10 1:31
J4amieC21-May-10 1:31 

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.