Viewing 15 posts - 361 through 375 (of 462 total)
You should write only one SP and check for this condition before deleting. Set proper isolation level in your sp and sql server should be able to handle your concurrency...
September 23, 2009 at 9:23 am
ashish.pandey-891490 (9/23/2009)
Hi,i have created a window service with multithreading, but getting many deadlocks on sql in
one Stored procedure
different processes that are created from your multithreaded application are...
September 23, 2009 at 8:21 am
Not sure, there could be something else he is missing out or if there are any client side settings that is preventing. I could write it outside the stored procedure...
September 23, 2009 at 8:09 am
HowardW (9/23/2009)
Good idea for a QOTD, I wouldn't have...
September 23, 2009 at 8:03 am
Narendra-587652 (9/22/2009)
but still the problem is same .
as it due to domain access it not solving my problem .
is three any way by...
September 22, 2009 at 2:21 am
cindy.hutchins (9/18/2009)
Exactly right
You got your solution? its very straightforward you should be able to do that. If not just give the table structure.
September 18, 2009 at 12:50 pm
cindy.hutchins (9/18/2009)
September 18, 2009 at 12:32 pm
Can you provide some test data please?
September 18, 2009 at 12:25 pm
Add to the above suggestion, I think I just saw one more discussion related to the duplicate entries just today,
http://www.sqlservercentral.com/Forums/Topic790009-338-1.aspx
September 18, 2009 at 12:03 pm
I think you can pass, something like this..
Select '''' + convert(varchar(10),group_id), * from Group_Test
But I think it can also be handled while writing it onto the...
September 18, 2009 at 8:45 am
AS per BOL,
CREATE FUNCTION [ owner_name. ] function_name
( [ { @parameter_name [AS] scalar_parameter_data_type [ = default ] } [ ,...n ] ] )
RETURNS...
September 18, 2009 at 6:43 am
CREATE TRIGGER prevent_delete ON yourtablecolumn INSTEAD OF DELETE
AS
BEGIN
RAISERROR ('')
END
GO
September 18, 2009 at 5:23 am
instead of trigger will do?
September 18, 2009 at 5:18 am
ohh sorry, now I realize it should've been jobtitle instead of jobid
September 18, 2009 at 4:52 am
Viewing 15 posts - 361 through 375 (of 462 total)