Forum Replies Created

Viewing 15 posts - 361 through 375 (of 463 total)

  • RE: Conditional delete

    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...

    ---------------------------------------------------------------------------------

  • RE: getting error of deadlock in one SP

    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...

    ---------------------------------------------------------------------------------

  • RE: unable to see user comments in store procedure

    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...

    ---------------------------------------------------------------------------------

  • RE: True, False, bit fields and can't submit QOTD

    HowardW (9/23/2009)


    Technically, a bit value of 1 is true as if you print the variable, you'll see 66 has implicitly converted to 1.

    Good idea for a QOTD, I wouldn't have...

    ---------------------------------------------------------------------------------

  • RE: how to knw clint or server

    Narendra-587652 (9/22/2009)


    thank's to all for your valuable suggestion.

    but still the problem is same .

    as it due to domain access it not solving my problem .

    is three any way by...

    ---------------------------------------------------------------------------------

  • RE: error

    May be that stored proc does not exist in the database context that you are executing this job in?

    ---------------------------------------------------------------------------------

  • RE: Duplicate Information in my database

    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.

    ---------------------------------------------------------------------------------

  • RE: Duplicate Information in my database

    cindy.hutchins (9/18/2009)


    These are all very helpful. However what happened was parts were being removed from a component electronically. Each part was removed once, this will store automatically in...

    ---------------------------------------------------------------------------------

  • RE: Duplicate Information in my database

    Can you provide some test data please?

    ---------------------------------------------------------------------------------

  • RE: Duplicate Information in my database

    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

    ---------------------------------------------------------------------------------

  • RE: working with single quote ' in sql

    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...

    ---------------------------------------------------------------------------------

  • RE: exec stored proc inside a function

    AS per BOL,

    CREATE FUNCTION [ owner_name. ] function_name

    ( [ { @parameter_name [AS] scalar_parameter_data_type [ = default ] } [ ,...n ] ] )

    RETURNS...

    ---------------------------------------------------------------------------------

  • RE: prevention of deteting data from a table

    CREATE TRIGGER prevent_delete ON yourtablecolumn INSTEAD OF DELETE

    AS

    BEGIN

    RAISERROR ('')

    END

    GO

    ---------------------------------------------------------------------------------

  • RE: prevention of deteting data from a table

    instead of trigger will do?

    ---------------------------------------------------------------------------------

  • RE: Table containing SQL statements - can this be done?

    ohh sorry, now I realize it should've been jobtitle instead of jobid

    ---------------------------------------------------------------------------------

Viewing 15 posts - 361 through 375 (of 463 total)