Click here to Skip to main content
15,909,939 members
Home / Discussions / Database
   

Database

 
Generalimport data from excel spreadsheet into sql database Pin
solarthur0130-Jan-08 13:28
solarthur0130-Jan-08 13:28 
GeneralRe: import data from excel spreadsheet into sql database Pin
pmarfleet30-Jan-08 21:29
pmarfleet30-Jan-08 21:29 
GeneralRe: import data from excel spreadsheet into sql database Pin
John_Adams30-Jan-08 22:08
John_Adams30-Jan-08 22:08 
GeneralReturn Child rows as a concatenated string Pin
AlexeiXX330-Jan-08 13:01
AlexeiXX330-Jan-08 13:01 
GeneralRe: Return Child rows as a concatenated string Pin
pmarfleet30-Jan-08 21:27
pmarfleet30-Jan-08 21:27 
AnswerRe: Return Child rows as a concatenated string Pin
Ashfield31-Jan-08 2:42
Ashfield31-Jan-08 2:42 
GeneralRe: Return Child rows as a concatenated string Pin
AlexeiXX331-Jan-08 8:37
AlexeiXX331-Jan-08 8:37 
QuestionStarting a new transaction thead after it ends quickly (like would do an ISR, Interupt Service Routine) Pin
grozo30-Jan-08 11:41
grozo30-Jan-08 11:41 
SITUATION:Confused | :confused:
An external process (web server) writes one row into a table (WipTable) in my SQL 2005 server, and it takes too much time for my 'INSERT' trigger to execute in once, since the data process and checking is big and time consuming.

This 'INSERT' trigger to this 'WipTable' need to end quickly, but, the trigger takes too much time to finish the transaction. The only step required at this stage is updating a 'confirmation status' field into the table.

My goal is simple: Unsure | :~ avoiding the big delay before COMMITTING the first stage of the transaction, and instead split the task in 2 parts (like an Interrupt Service Routine would react):

1) first, do the simple things that place some data (to put a 'CONFIRMATION' status) and write one 'row task' into another table (RequestTable). Then, the RequestTable's TRIGGER would do the rest of the work in ANOTHER transaction.
2) The second table that would then be triggered would take more time to execute but

QUESTION:
How to 'force' the real and effective completion of the transaction, so that another (longer) transaction could begin just after it (being in fact 'triggered' by the first transaction because of an INSERT into a second table possessing an 'INSERT' trigger) ? Cool | :cool:
GeneralRe: Starting a new transaction thead after it ends quickly (like would do an ISR, Interupt Service Routine) Pin
PIEBALDconsult30-Jan-08 13:07
mvePIEBALDconsult30-Jan-08 13:07 
GeneralRe: Starting a new transaction thead after it ends quickly (like would do an ISR, Interupt Service Routine) Pin
grozo6-Feb-08 19:25
grozo6-Feb-08 19:25 
GeneralSelect statement using strig column as parameter Pin
AlexeiXX330-Jan-08 8:02
AlexeiXX330-Jan-08 8:02 
GeneralRe: Select statement using strig column as parameter Pin
pmarfleet30-Jan-08 8:18
pmarfleet30-Jan-08 8:18 
GeneralRe: Select statement using strig column as parameter Pin
AlexeiXX330-Jan-08 12:47
AlexeiXX330-Jan-08 12:47 
GeneralRe: Select statement using strig column as parameter Pin
pmarfleet30-Jan-08 21:25
pmarfleet30-Jan-08 21:25 
QuestionWhy is Oracle OLE wizard trying to open SQL Server? Pin
Richard Jones30-Jan-08 4:31
Richard Jones30-Jan-08 4:31 
QuestionHow to Display and Save the SQl Database Diagrams or Schemma in SQL 2000 Pin
Vimalsoft(Pty) Ltd30-Jan-08 2:54
professionalVimalsoft(Pty) Ltd30-Jan-08 2:54 
AnswerRe: How to Display and Save the SQl Database Diagrams or Schemma in SQL 2000 Pin
AlexeiXX330-Jan-08 8:04
AlexeiXX330-Jan-08 8:04 
GeneralHelp with MS SQL Update statement please. Pin
Steven J Jowett30-Jan-08 2:03
Steven J Jowett30-Jan-08 2:03 
GeneralRe: Help with MS SQL Update statement please. Pin
Steven J Jowett30-Jan-08 2:18
Steven J Jowett30-Jan-08 2:18 
GeneralRe: Help with MS SQL Update statement please. Pin
Ashfield30-Jan-08 2:21
Ashfield30-Jan-08 2:21 
GeneralRe: Help with MS SQL Update statement please. Pin
Steven J Jowett30-Jan-08 5:21
Steven J Jowett30-Jan-08 5:21 
GeneralRe: Help with MS SQL Update statement please. Pin
Ashfield30-Jan-08 7:22
Ashfield30-Jan-08 7:22 
QuestionHow Can I execute pl/sql query?? Pin
Vanamaindia29-Jan-08 23:09
Vanamaindia29-Jan-08 23:09 
AnswerRe: How Can I execute pl/sql query?? Pin
andyharman29-Jan-08 23:26
professionalandyharman29-Jan-08 23:26 
GeneralNHibernate data saving problem, help! Pin
Harry Sun29-Jan-08 22:56
Harry Sun29-Jan-08 22:56 

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.