Click here to Skip to main content
15,918,889 members
Home / Discussions / Database
   

Database

 
GeneralDate Time shows different Pin
Tom Wright4-Mar-05 5:54
Tom Wright4-Mar-05 5:54 
GeneralRe: Date Time shows different Pin
numbrel5-Mar-05 3:45
numbrel5-Mar-05 3:45 
GeneralRe: Date Time shows different Pin
Rob Graham5-Mar-05 12:08
Rob Graham5-Mar-05 12:08 
GeneraloracleDataAdapter & Parameters Pin
Gerder3-Mar-05 0:56
Gerder3-Mar-05 0:56 
GeneralRe: oracleDataAdapter & Parameters Pin
numbrel7-Mar-05 10:38
numbrel7-Mar-05 10:38 
Generalinsert record into field names that contain brackets Pin
elephantstar2-Mar-05 8:08
elephantstar2-Mar-05 8:08 
GeneralRe: insert record into field names that contain brackets Pin
Michael Potter4-Mar-05 4:23
Michael Potter4-Mar-05 4:23 
GeneralSql Stored Procedure Pin
Mahesh16791-Mar-05 18:40
Mahesh16791-Mar-05 18:40 
GeneralRe: Sql Stored Procedure Pin
Anonymous1-Mar-05 19:00
Anonymous1-Mar-05 19:00 
GeneralRe: Sql Stored Procedure Pin
Mahesh16791-Mar-05 22:16
Mahesh16791-Mar-05 22:16 
GeneralRe: Sql Stored Procedure Pin
Tom Wright4-Mar-05 9:21
Tom Wright4-Mar-05 9:21 
GeneralOleDbDataAdapter.Update() should throw error but doesn't Pin
Florent Geffroy1-Mar-05 3:37
Florent Geffroy1-Mar-05 3:37 
GeneralRe: OleDbDataAdapter.Update() should throw error but doesn't Pin
Rob Graham5-Mar-05 12:20
Rob Graham5-Mar-05 12:20 
GeneralRe: OleDbDataAdapter.Update() should throw error but doesn't Pin
Florent Geffroy6-Mar-05 21:49
Florent Geffroy6-Mar-05 21:49 
Generalmultiple db systems in one app Pin
schilled1-Mar-05 2:45
schilled1-Mar-05 2:45 
GeneralRe: multiple db systems in one app Pin
-Dr_X-19-Mar-05 16:49
-Dr_X-19-Mar-05 16:49 
GeneralRe: multiple db systems in one app Pin
schilled20-Mar-05 22:22
schilled20-Mar-05 22:22 
GeneralSearching by degree of separation Pin
who2who228-Feb-05 23:19
who2who228-Feb-05 23:19 
GeneralRe: Searching by degree of separation Pin
Michael Potter2-Mar-05 4:03
Michael Potter2-Mar-05 4:03 
GeneralRe: Searching by degree of separation Pin
Colin Angus Mackay2-Mar-05 4:33
Colin Angus Mackay2-Mar-05 4:33 
GeneralExtended Stored Procedure from Trigger Pin
samvibes28-Feb-05 20:28
susssamvibes28-Feb-05 20:28 
GeneralRe: Extended Stored Procedure from Trigger Pin
Mike Dimmick28-Feb-05 22:57
Mike Dimmick28-Feb-05 22:57 
I'm guessing that your trigger is defined on the Employees table. Since you're creating a new connection, I think the query in your extended stored procedure is deadlocking on the locks held by the INSERT.

Triggers run in the context of the statements that cause them to execute, and significantly, as part of the implicit transaction implied by those statements. An INSERT causes the newly inserted row to be locked with an Exclusive lock. The statement in the XP takes shared locks. When it gets to the newly inserted row, it will block.

The Extended Stored Procedures documentation discusses bound connections, where you can make a new connection part of the original transaction. This might solve your problem.

What are you actually trying to achieve? An XP is really the last resort; you should try to use T-SQL if you can.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: Extended Stored Procedure from Trigger Pin
samvibes28-Feb-05 23:58
susssamvibes28-Feb-05 23:58 
GeneralRe: Extended Stored Procedure from Trigger Pin
Mike Dimmick2-Mar-05 5:58
Mike Dimmick2-Mar-05 5:58 
GeneralImage data Pin
Murlai28-Feb-05 17:28
Murlai28-Feb-05 17:28 

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.