Forum Replies Created

Viewing 15 posts - 4,576 through 4,590 (of 7,164 total)

  • RE: CASE Statement

    If you can change what your input parameters mean you will have a much simpler time querying your data in my opinion. Let's say we changed it to mean this...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How do you recover disk space from a database that is no longer needed?

    chumphrey 12211 (4/6/2012)


    I am a newbie!!! I have a 2008 R2 Standard Ed server with a database that is in Simple Recovery. The database had a large amount...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Process the textfiles from specific folders under which one main folder

    You've got several concepts going on here that you need to learn before you can get all the way through the task. Here are a couple videos that cover some...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Domain Rename with a domain that contains SQL Clusters

    Not sure, but your registered SPNs may need to be updated after the rename if the FQDNs change with the rename.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: RESTORE detected an error on page (0:0)

    OK, I think I ruled out the block-level copy step as a possible problem. I just successfully restored the supposedly problematic-backup to a different 2008 R2 server in the remote...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Getting the Distinct group of records in one single record

    Here's the equivalent T-SQL solution:

    WITH cte

    AS (

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Getting the Distinct group of records in one single record

    You're sample data is still causing trouble...but I polished it a little to the point where it will at least run. here is a sample using the SQLCLR Aggregate:

    IF EXISTS...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: RESTORE detected an error on page (0:0)

    Lynn Pettis (4/6/2012)


    Try copying the file using Robocopy and see if it verifies okay on the destination server.

    I wish I could...the 2005 and 2008 R2 data centers are geo-separated and...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Trouble using GO or other batch command.

    No worries on the name, happens all the time.

    Did you see Gail's post? I think she is onto something 😉

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: RESTORE detected an error on page (0:0)

    The RESTORE VERIFYONLY returned clean:

    The backup set on file 1 is valid.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Trouble using GO or other batch command.

    Can you post the DDL for DateL2?

    This part of your update statement will not tolerate NULLs:

    WHERE CollectionPrefix = @CollectionPrefix

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: RESTORE detected an error on page (0:0)

    GilaMonster (4/6/2012)


    I can pretty much tell you that it is not a corrupt page in the source DB. There is no page 0:0 in a database, and if page 1:0...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Trouble using GO or other batch command.

    We must have been typing at the same time...ditto to everything Lynn said. In order to help further we need to see DDL (i.e. CREATE TABLE statements), DML to create...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Trouble using GO or other batch command.

    kpwimberger (4/6/2012)


    Thanks SS:

    That makes sense. But what can be done about the loop issue, then? It seems to me that the call to:

    UPDATE #temp SET Processed = 1 WHERE Foo...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: RESTORE detected an error on page (0:0)

    Lynn Pettis (4/6/2012)


    Have you run the RESTORE VERIFYONLY on the files on your SQL Server 2005 system?

    I am running the verify now...will post back when complete.

    When was the last time...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 4,576 through 4,590 (of 7,164 total)