Forum Replies Created

Viewing 15 posts - 736 through 750 (of 1,790 total)

  • RE: Question in sp_recompile

    It doesn't recompile the table but marks all the stored procedures that reference the table you used when executing sp_recompile, for recompilation.

    I feel like a technical writer trying to...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Passing a #TempTable and running an ALTER ADD on it

    Ok. I will have to play more later. They both ran ok for me so I left it at that. Wasn't looking for results.

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Passing a #TempTable and running an ALTER ADD on it

    Your create procedure script will work fine with the #rpt2 table but you need to take the last column out of the create statement as that is the column that...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Passing a #TempTable and running an ALTER ADD on it

    Try changing the procedure to the following;

    IF EXISTS( SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[Report_Processing]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)

    DROP PROCEDURE [dbo].[Report_Processing]

    GO

    SET QUOTED_IDENTIFIER OFF

    GO...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Passing a #TempTable and running an ALTER ADD on it

    Unless I am mistaken, you can't "alter" a table variable but you can the #temp tables. So, if that is what you are trying to do it will not add...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Passing a #TempTable and running an ALTER ADD on it

    It looks like your procedure Report_Processing is trying to alter a #rpt table but you are creating a table variable @rpt. Am I missing something or could that be the...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: INSERT xp_msver from remote servers into a local table

    Are you looking to do this as a one off or a regular process? A couple of options as follows;

    -Use SSIS and create a package which will pull that...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Question in sp_recompile

    From BOL:

    If object is the name of a stored procedure or trigger, the stored procedure or trigger will be recompiled the next time that it is run. If object...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Backup and restore in 2000

    You can restore to your new server, make all your changes. Before you copy over the production using the Import / Export wizard or SSIS you can truncate all the...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: RAID 1 vs. RAID 10

    Kendal Van Dyke (2/19/2009)


    Perry Whittle (2/19/2009)


    Great blog Kendal (you have way too much time on your hands 😀 )

    very informative

    Thanks for the positive feedback!

    I posted part 7 this afternoon. Wrapup...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Are the posted questions getting worse?

    Steve Jones - Editor (2/19/2009)


    And after lunch, I'm lost again in this thread.

    Yeah if you step away for more than a couple of hours you have to go back 3...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: How Do I Measure MemtoLeave

    Tim - I was able to validate that the "Total Avail Mem, KB" from that script is the MemToLeave on a test instance that I have with very little activity....

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: How Do I Measure MemtoLeave

    The answer is.... I don't know. I am poking around at it a bit and will take a deeper look and reply back with what I find.

    I am certainly...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: How Do I Measure MemtoLeave

    Tim - First of all I really like the account name that you have!

    Wondering if this BLOG POST helps. Doesn't seem to answer the question completely but seems to...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • RE: Conversion failed when converting the varchar value 'See Comment' to data type int

    Michele - Check out the isnumeric function and you should be able to use that to solve your problem.

    Glad you were able to find it. I had to deal...

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

Viewing 15 posts - 736 through 750 (of 1,790 total)