Forum Replies Created

Viewing 15 posts - 3,826 through 3,840 (of 7,187 total)

  • RE: SSIS Use a conditional statement on a file name?

    Who is Bueller?

    Why don't you put the file in its own folder, then you don't need to worry about the file name - just look for any file in that...

  • RE: Commenting

    That's rough. What are non-technical people doing even looking at code, never mind imposing standards for it?

    John

  • RE: Commenting

    Maybe you could get the powers that be to have a look at the article I linked to? If I remember correctly, the thrust of the argument was that...

  • RE: Commenting

    There was an interesting discussion on comments recently here.

    John

  • RE: CTE

    But my script is simpler

    I know it's a matter of preference, but I'd rather have any complexity tucked away in the CTE definition than in the body of the query,...

  • RE: Indexes missing after restoring a database to a different server

    Does this happen every time, or did it just occur once? Do you have any jobs or triggers on Server B that might remove the indexes?

    John

  • RE: CTE

    Carlo Romagnano (9/25/2013)


    CTE is useless and complicated!

    Clearly not useless, even if your personal preference is not to use them. And no more or less complicated, in my opinion, than...

  • RE: Indexes missing after restoring a database to a different server

    Is this repeatable, or did it just happen once? What statement(s) are you using to restore the database, and what statements (if any) do you run after it?

    You appear...

  • RE: CTE

    paul s-306273 (9/25/2013)


    ...come on, maybe they were really impreseed, but I doubt they 'gasp in wonder'!

    Well, it was on the phone, so maybe I just heard what I wanted to...

  • RE: CTE

    paul s-306273 (9/25/2013)


    Can't see many people ever needing to use this feature.

    I've had developers gasp in wonder when I've shown them how to use code similar to Jamsheer's and thus...

  • RE: CTE

    Good question, thanks. I'd have liked to have seen in the explanation why the third and fourth options were wrong, something like this:

    Option three is not correct because the...

  • RE: Want to add Text data

    I think what Jeff is getting at, and I agree, is that you shouldn't necessary use the first solution you're given. Mark himself admitted that it's "quick and dirty"...

  • RE: DB Size

    I've got a feeling the free space only tells you what's in the data file. Have you tried sp_spaceused?

    John

  • RE: DB Size

    The database size in the database properties window includes the log file size.

    John

  • RE: Script to check the progress of rebuild Index?

    The only thing I can think of is to use the percent_complete column of sys.dm_exec_requests. You'll want to test to find out how accurate and reliable it is.

    John

Viewing 15 posts - 3,826 through 3,840 (of 7,187 total)