Forum Replies Created

Viewing 15 posts - 9,886 through 9,900 (of 26,489 total)

  • RE: How disable DBCC CHEKCDB command

    eric.lyons (8/28/2012)


    Check your log file.

    I have, not a peep. Haven't seen DBCC CHECKDB run on any of my servers without me running it, and I have been working with...

  • RE: Make Sequential numbers into ranges

    fsr645 (8/28/2012)


    I was investigating the thought process on the 2nd query (using row_num) and I was impressed how Lynn came up with the grp field "TN - row_number() over (partition...

  • RE: How disable DBCC CHEKCDB command

    eric.lyons (8/28/2012)


    dbcc checkdb runs on startup. This is an issue for any VLDB. It particularly is bad for mirroring and cluster failovers.

    Not that I am aware of.

  • RE: Make Sequential numbers into ranges

    Also, the 2nd version can be modified slightly to this (basically the same, but different):

    CREATE TABLE #Temp

    (TNID INT, TN BIGINT);

    INSERT INTO #Temp

    SELECT 3011170, 4402787100

    UNION ALL SELECT...

  • RE: Make Sequential numbers into ranges

    My last was a SQL Server 2000 version. Since you are using SQL Server 2008, I'd use the ROW_NUMBER() version (the 2nd).

  • RE: Make Sequential numbers into ranges

    fsr645 (8/28/2012)


    Lynn,

    I tried your second query and it works perfectly. Great work. Will I run to a maxrecursion with this too? What is the max data for the maxrecursion happens?...

  • RE: Make Sequential numbers into ranges

    Anybody have a SQL Server 2000 instance? Please give this a try:

    CREATE TABLE #Source

    (TNID INT, TN BIGINT);

    INSERT INTO #Source

    SELECT 3011170, 4402787100

    UNION ALL SELECT 3011170, 4402787101

    UNION...

  • RE: Make Sequential numbers into ranges

    Now someone tells me! Time to hit the desk with my head.

  • RE: error

    harri.reddy (8/28/2012)


    from oledb source to multitask to oledbdestionation in data flow task.

    i am getting this error on OLEDB Destination

    Hate to say it, but mud is clearer. I can't even...

  • RE: Backup taking MUCH longer on prod HELP:)

    David Benoit (8/28/2012)


    Additionally, you are using SATA disk which are not going to perform as well. I would be interested to know what the RAID configuration is still. As Lynn...

  • RE: Make Sequential numbers into ranges

    Here is another option that appears to work for the given test data:

    CREATE TABLE #Temp

    (TNID INT, TN BIGINT);

    INSERT INTO #Temp

    SELECT 3011170, 4402787100

    UNION ALL SELECT 3011170, 4402787101

    UNION...

  • RE: Make Sequential numbers into ranges

    GSquared (8/28/2012)


    Lynn Pettis (8/28/2012)


    Here is my shot at the solution.

    CREATE TABLE #Temp

    (TNID INT, TN BIGINT);

    INSERT INTO #Temp

    SELECT 3011170, 4402787100

    UNION ALL SELECT 3011170, 4402787101

    UNION ALL SELECT 3011170,...

  • RE: Time Off

    And here I am trying not to use my PTO time this year to earn some extra cash, what isn't used by the end of the year is cashed out....

  • RE: Backup taking MUCH longer on prod HELP:)

    Since you are sharing spindles with other servers, looks like you need to have the SAN guys monitor what is happening during the backups. Looks like contention between serveral...

  • RE: Make Sequential numbers into ranges

    Here is my shot at the solution.

    CREATE TABLE #Temp

    (TNID INT, TN BIGINT);

    INSERT INTO #Temp

    SELECT 3011170, 4402787100

    UNION ALL SELECT 3011170, 4402787101

    UNION ALL SELECT 3011170, 4402787102

    UNION ALL SELECT...

Viewing 15 posts - 9,886 through 9,900 (of 26,489 total)