Forum Replies Created

Viewing 15 posts - 136 through 150 (of 180 total)

  • RE: Blocking by Insert

    ChrisM@Work (10/17/2016)


    Rechana Rajan (10/17/2016)


    ChrisM@Work (10/17/2016)


    There are at least two issues here which will unnecessarily prolong an INSERT transaction using this process.

    Firstly, as Jeff pointed out, the SELECT. Use the...

  • RE: Blocking by Insert

    ChrisM@Work (10/17/2016)


    No problem Rechana. Whilst Googling for [Forced Index = True] I came across this wonderfully succinct article by Grant Fritchey[/url]. A great starting point for reading and interpreting execution...

  • RE: Blocking by Insert

    ChrisM@Work (10/17/2016)


    There are at least two issues here which will unnecessarily prolong an INSERT transaction using this process.

    Firstly, as Jeff pointed out, the SELECT. Use the OUTPUT clause instead,...

  • RE: Blocking by Insert

    ChrisM@Work (10/17/2016)


    There are at least two issues here which will unnecessarily prolong an INSERT transaction using this process.

    Firstly, as Jeff pointed out, the SELECT. Use the OUTPUT clause instead,...

  • RE: Cluster On Cross Domain

    Raghavender (10/17/2016)


    Thank You.

    Can we setup cluster on VMs ?

    Yes

  • RE: Cluster On Cross Domain

    Raghavender (10/14/2016)


    Hi All,

    Could you please help me in setting up SQL Server cluster in cross domain.

    What are the prerequisites, what are the precaution we need to take.

    Is there any guide...

  • RE: Blocking by Insert

    Jeff Moden (10/16/2016)


    Rechana Rajan (10/16/2016)


    Found the below query causing blocking from different SPID.

    declare @0 bigint,@1 bigint,@2 varchar(50),@3 bit,@4 varchar(50),@5 datetime2(7),@6 varchar(50),@7 datetime2(7)

    INSERT [dbo].[Transaction]

    ([TransactionId], [ConId], [TransactionStatus], [Status], [CreatedUserId], [CreatedDate], [UpdatedUserId], [UpdatedDate])

    VALUES...

  • RE: Log_Reuse_wait_desc

    Thanks Willem

  • RE: Transaction Not commiting when run on wrong DB

    Phil Parkin (9/28/2016)


    Rechana Rajan (9/28/2016)


    Phil Parkin (9/28/2016)


    Rechana Rajan (9/28/2016)


    The transaction is not getting commited or rollback when run in different db. The execution might throw error but its not commiting...

  • RE: Transaction Not commiting when run on wrong DB

    Phil Parkin (9/28/2016)


    Rechana Rajan (9/28/2016)


    The transaction is not getting commited or rollback when run in different db. The execution might throw error but its not commiting for below

    BEGIN TRY

    ...

  • RE: Deadlock because of same process

    Eirikur Eiriksson (9/26/2016)


    No, a session cannot deadlock itself and there are two different spids in there, spid="186" & spid="200".

    😎

    On the other hand, this looks like a multi threaded Entity...

  • RE: DML & DDL Changes Revert

    GilaMonster (8/31/2016)


    Run your rollback scripts.

    If you don't have rollback scripts, then you're looking at restoring a copy of the database to a point before the deployment and then trying to...

  • RE: Always On Readonly

    Eddie Wuerch (5/30/2016)


    Queries aren't routed, the entire connection is. The connection does not change based on the type of query executing on that connection. You will connect to the Listener...

  • RE: Always On Readonly

    Thanks HappyCat.

    I understand that Listener is not an instance. My question is how can i determine where a query is routed, to primary or secondary? I believe that read-only queries...

  • RE: System databases not backing up

    tmmutsetse (4/13/2016)


    Hie i am new on this forum,please advise i do my back ups via a sql server agent job which ecxecutes a stored procedure

    EXECUTE dbo.DatabaseBackup

    @Databases...

Viewing 15 posts - 136 through 150 (of 180 total)