Forum Replies Created

Viewing 15 posts - 976 through 990 (of 3,348 total)

  • RE: Trying to replace UNION

    SQL006 (1/31/2016)


    Thanks chris, Luis for the solution.

    This is just the scenario i created, In production there is no temporary table #Test only physical table which consists of 2 million data....

  • RE: Strange Performance Issue

    hitesh jain (2/1/2016)


    Yes we do have weekly maintenance jobs but in this particular case, its completely a different scenario. The server in question is a "dedicated warehouse" build server used...

  • RE: Pivoting Problem" in "Development - SQL Server 2014"

    The original post appears to be back, but the reply I had already posted is still missing. And so are the two replies posted later (that I did get email...

  • RE: Calculation without Cursor suggestions

    First, my apologies for not coming back to you sooner. I can make all kinds of excuses, but you were waiting for me and I should not have kept you...

  • RE: Are the posted questions getting worse?

    Hmmm, that's strange. I got email notifications about new posts to a topic that I previously contributed to, but when I click the link I get an error message. And...

  • RE: Low level inheriting data from top level and its parent levels

    Thanks for posting CREATE TABLE and INSERT statements and expected output along with the description. That saves a lot of time!

    The code below returns the expected results for your test...

  • RE: Are the posted questions getting worse?

    Jeff Moden (1/31/2016)


    Hugo Kornelis (1/31/2016)


    Jeff Moden (1/31/2016)


    Hugo Kornelis (1/31/2016)


    Ed Wagner (1/30/2016)


    The articles and discussion on this site are top-notch.

    I am once more going to be contrary. But let me start...

  • RE: Are the posted questions getting worse?

    Jeff Moden (1/31/2016)


    Hugo Kornelis (1/31/2016)


    Ed Wagner (1/30/2016)


    The articles and discussion on this site are top-notch.

    I am once more going to be contrary. But let me start with the positive: a...

  • RE: Are the posted questions getting worse?

    Ed Wagner (1/30/2016)


    The articles and discussion on this site are top-notch.

    I am once more going to be contrary. But let me start with the positive: a lot of the articles...

  • RE: SQL Server 2005 service are not starting due to temp db

    When the SQL Server service (re)starts, it will always drop and recreate the tempdb database. Based on the error messages, you did something that made this impossible.

    The error messages indicate...

  • RE: Script to create Triggers

    GilaMonster (1/30/2016)


    Hugo Kornelis (1/30/2016)


    GilaMonster (1/30/2016)


    You don't need both of these, they're checking for the same thing.

    IF @@ROWCOUNT = 0

    RETURN;

    IF NOT EXISTS (SELECT * FROM INSERTED) RETURN;

    True on...

  • RE: Script to create Triggers

    SQL!$@w$0ME (1/30/2016)


    Appreciate your help on this Hugo & Gail!

    Updated the script:

    USE [Test]

    GO

    /****** Object: Trigger [dbo].[TR_Aud_Update_Datetime_Update_User] Script Date: 1/30/2016 10:58:39 AM ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    ALTER TRIGGER...

  • RE: Script to create Triggers

    GilaMonster (1/30/2016)


    You don't need both of these, they're checking for the same thing.

    IF @@ROWCOUNT = 0

    RETURN;

    IF NOT EXISTS (SELECT * FROM INSERTED) RETURN;

    True on SQL Server 2005...

  • RE: Are the posted questions getting worse?

    Ed Wagner (1/30/2016)


    Hugo Kornelis (1/30/2016)


    Ed Wagner (1/30/2016)


    I enjoy helping people, but honestly, what do they they expect from a free help forum?

    I think that this, even more than the consumerist...

  • RE: Importing Poorly Formatted Text File to SQL

    I am far from an SSIS expert, but with the little I know I think that you'll have to use an Execute Script task for this. Which means you'll need...

Viewing 15 posts - 976 through 990 (of 3,348 total)