Forum Replies Created

Viewing 15 posts - 2,746 through 2,760 (of 5,590 total)

  • RE: sp_rename throwing errors when trying to rename index

    Can you please post:

    1. the line that is failing in your script.

    2. the table and index CREATE statements when you script them out.

  • RE: SPLIT TSQL Between two character

    Craig Farrell (10/21/2010)


    Here's the DelimitedString8k function that's been heavily worked on round these parts. Modify to suit your needs. I didn't create it, didn't work on it, and...

  • RE: Sequence-numbering groups

    gmrose (10/21/2010)


    Thank you again to Lutz and Wayne. I updated my script per Lutz' suggestions to use table #tmpChecks instead of table variable @tmpChecks. I made some minor...

  • RE: Cheap Fun

    Craig Farrell (10/21/2010)


    Ahhh, Cheap fun...

    Going up to the SAN on Monday morning just before everyone starts needing to crank out work and hotswapping one drive in every RAID 5 array......

  • RE: Enterprise edition installs standard edition

    Why don't you try downloading it again? This way, you can be sure.

  • RE: Possible to log ship to TWO standby servers at once?

    I suggest you set up a test environment. You can actually do all of this on one server if you want...

    Set up a database.

    Set up log shipping to another database...

  • RE: OUTPUT clause

    Ray K (10/21/2010)


    Okay, that's what I figured.

    I ended up just creating a simple SELECT statement for the column immediately following the INSERT. I'm just writing a quick 'n dirty,...

  • RE: Enterprise edition installs standard edition

    It really sounds to me like you downloaded one media and it's been renamed, making you think it's a different edition.

  • RE: time difference the rows in the same table...

    I'm assuming that you want to compare to the previous row, sorted by the date.

    So, does this do what you desire?

    -- See how you start off by actually creating a...

  • RE: time difference the rows in the same table...

    In the case of eventid 2, there are three entries. So, are you looking for the difference between two rows, sorted by the eventid/timestamp?

    Even better... please read the first link...

  • RE: OUTPUT clause

    You can either use a table (table variable, temporary table, permanent table) (results to into it), or not (results to client). But not to a "regular" variable. See the BOL...

  • RE: Possible to log ship to TWO standby servers at once?

    If you use the SSMS Transaction Log setup wizard, you will see that you can log ship to multiple secondary destinations. Each can have their own copy/restore schedule. I've log...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (10/21/2010)


    On one hand it's good to have that stuff posted.

    Gives those that do know something to laugh at.

  • RE: Sequence-numbering groups

    ColdCoffee (10/20/2010)


    Wayne, in ur solution, you are basing your order over ckid column (Sequence = ROW_NUMBER() OVER (ORDER BY ckid) )

    What if ckid is not in a proper order...

  • RE: call a cursor in a procedure

    MonsterRocks (10/21/2010)


    ya...i implemented this... works fine... Thanks chris...otherwise i wud have done an ugly coding.. thanks gail shaw

    Do you understand the code that you implemented? If you can't explain to...

Viewing 15 posts - 2,746 through 2,760 (of 5,590 total)