Forum Replies Created

Viewing 15 posts - 61 through 75 (of 648 total)

  • RE: How to receive Deadlock information automatically via email.

    The same error repeated after removed quotes on both side..

    @query = 'select logdate, procInfo, ERRORLOG from tempdb.dbo.ErrorLog where Id >= (select TOP 1 Id from tempdb.dbo.ErrorLog WHERE ERRORLOG Like ''%Deadlock...

  • RE: How to receive Deadlock information automatically via email.

    Thanks Tony for your reply, I have tried and modified on existing script for file attachment as below, but its throwing errors

    Please help.

    declare @subject varchar(250)

    select @subject = 'Deadlock reported on...

  • RE: How to receive Deadlock information automatically via email.

    Hi.. it is very useful script for monitoring deadlock event occur in OLTP databases.

    I am facing same issues: But when deadlock occurred i received attachment in text file but...

  • RE: Disaster Recovery

    Hi,

    I would like share the AG setup.

    I recently deployed alwayson availability group one of the OLTP database for DR requirment with MultiSubNet failover.

    OS: Win 2012 R2 standard edition, DB: SQL...

  • RE: SPID blocking frequently

    Hi SQL GURU and Jeff,

    Issues resolved by developer, he has changed and modified the existing whole query at application side. After that there is no glitch and blocking...

  • RE: SPID blocking frequently

    I have used WhoIs-Active version 11..

    I found as below script frequently access in database from application, Pl. suggest me, How can escalate to application developer?

    Wait Info: (1ms)LATCH_EX [ACCESS_METHODS_DATASET_PARENT]

    CPU:...

  • RE: SPID blocking frequently

    In Extent event started session then stopped session over period of time (1 Hours), but does not captured and stored blocked process data in xel file.

    I might be...

  • RE: Question about SQL 2012 service packs and CU.

    Yes. I get all CUs 1,2,3, 4 and 5.

    Thanks for updates, I can update latest CU5 only and no need to apply all CUs 1,2,3 and 4 of SP3.

  • RE: SPID blocking frequently

    Update statistics configured thru Maintenance plan with FULL SCAN on weekly basis, so it would completed around 57 min.

    As suggested Mr. Grant, I have configured Extent Event with help...

  • RE: Missing Index Script with Create Statement

    Hi Andrew LAckenby.

    Your script is very useful for finding missing index details in database. I executed one of the busy OLTP database and outputs are 45 create index statements in...

  • RE: create view with CTE SQL statement

    Dropped Existing Linked server. then view has been created & working as per Mr. ChrisM suggested and scripts.

    Thank you all..

  • RE: create view with CTE SQL statement

    Yes. it is there..

    I checked - select * from sys.sysservers,

    servername and datasource as below name

    targetserver,96361

  • RE: create view with CTE SQL statement

    Yes, that view is correct SQL statement.. I have created many views with CTE Select statement in non custom port just like only Linked server name.

    also SELECT query...

  • RE: create view with CTE SQL statement

    Remoteserver_Name -> target server which is created linked server

    Port Number-> 96361 - this is custom port number was mentioned in target server at SQL 2012

    SELECT *

    FROM OPENQUERY (

    [Remoteserver_Name,96361],

  • RE: Query output not display in HTML format

    I have changed in second table as below..

    SET @body1 ='<html><body></table><H3>ROAD Users</H3>

    Thanks a lot Ed Wagner .. Perfectly working as you suggested.. Thank you.

Viewing 15 posts - 61 through 75 (of 648 total)