Forum Replies Created

Viewing 15 posts - 31 through 45 (of 405 total)

  • RE: Variable needed for dynamic ff destination not being retrieved from sql

    Did you try putting a break point on post execute event of the execute SQL task try watching the variable value getting assigned?

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: sp_send_dbmail

    A simple SSIS package can do the trick for you.

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to pass parameters from outer procedure to inner procedure

    Why don't you pass the parameter like

    If @alloc_id < 0

    exec proc2 @alloc_id

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Access Database ADODB Connection to SQL Server Table

    Hi

    This is a SQL server forum, so you can expect quick help for SQL questions.

    Yet, looking at your code I think you need to rearrange your code, you can...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: What do you do when you inherit a mess at work?

    One always. Two many times. Its mostly the client's decision based on their priority and budget. My role is often to appraise the stakeholders honestly about the different options...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Truncate tables with foreign keys

    robert.sterbal 56890 (12/2/2016)


    joeroshan (12/2/2016)


    robert.sterbal 56890 (12/1/2016)


    How is the script licensed?

    Hi Robert

    I do not have any problem someone using the script to help their job done easy. In fact that is...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Truncate tables with foreign keys

    robert.sterbal 56890 (12/1/2016)


    How is the script licensed?

    Hi Robert

    I do not have any problem someone using the script to help their job done easy. In fact that is the point of...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Truncate tables with foreign keys

    ggrewe (12/1/2016)


    I am not sure why are you dropping and recreating the Foreign Keys? Why not just disable and re-eanble them?

    If the table has an Identity column, you cannot...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Accessing lookup tables

    Bruce-12445 (11/30/2016)


    Joe - it might be better to do both inner joins on the asset to attribute table which returns a match of 14,538 records a 40,355 difference from returning...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Multiple files in Primary Filegroup

    GilaMonster (11/30/2016)


    joeroshan (11/30/2016)


    It is recommended to create multiple data files with same size to optimize tempdb to take advantage of proportional fill algorithm and reduce allocation contention.

    That is specifically for...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Multiple files in Primary Filegroup

    It is recommended to create multiple data files with same size to optimize tempdb to take advantage of proportional fill algorithm and reduce allocation contention. Unless you have separate file...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Using OpenRowset to Insert Data

    Good call. I have always found linked server/ openrowset slower and resort to it only in case of emergencies. Thanks for posting the statistics.

    Just curious, why are you not executing...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Accessing lookup tables

    The plan with join looks better since you are getting a seek for the Asset table. But both cases the left join on the asset_attr table is going for a...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Can I do restore from database set to 2008 R2 compatibilty on version 2012 instance to 2008 R2 instance?

    I think Gail has a point there.

    I have had side by side many times but I can remember always it was the lower version first.

    It would be good to test...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: should i use temp table all the time while making loops

    Got your point. You will use loops sparingly. But whenever using loop is it a good practice to use temp tables instead of the actual table. is that your query?

    It...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 31 through 45 (of 405 total)