Forum Replies Created

Viewing 15 posts - 3,271 through 3,285 (of 13,874 total)

  • Reply To: Table Function becomes slow

    balestragerman wrote:

    Hi folks, I have a 2012 sql and it works very fast, one of the most used queries is a table function. This function over time becomes slow and...


  • Reply To: Export to csv then FTP using variables

    I imagine that you've called your variable something like 'FileName', and not "C:\SCRIPTS\SQLServersExport_20191007.csv"!

    Thus, I suspect you need to revisit the various relevant properties in your package components, looking for incorrect...


  • Reply To: compression file - Error: Exception has been thrown by the target of an invocati

    Please expand on what you have provided, to include

    a) Your question

    b) Which line throws the error, and an outline of what you are trying to achieve

     


  • Reply To: Insert forum posts/threads in the DB table

    C#, maybe.


  • Reply To: How to return lowest level parts from BOM

    As long as max level is the same for all of the lowest-level items, that is. Otherwise, it gets trickier.


  • Reply To: How to return lowest level parts from BOM

    Add hierarchy level to your CTE and base your selection on that?


  • Reply To: T SQL While Loop - Into a Temp table for final output

    Why do you refuse to format your code?

    Your SELECT should be outside of your WHILE loop.


  • Reply To: Is it a bad idea to create a user-defined stored procedure in SSISDB database?

    Thom A wrote:

    We have a dumping ground Utility Database here and it works well.If you can try and get him to come around to the idea, you'll likely start finding other...


  • Reply To: T SQL While Loop - Into a Temp table for final output

    John Mitchell-245523 wrote:

    Phil Parkin wrote:

    You should declare your table variable outside of the WHILE loop, otherwise it will keep getting reinitialized.

    Phil, I agree that the table should be declared outside of the...


  • Reply To: Is it a bad idea to create a user-defined stored procedure in SSISDB database?

    Shame about your DBA. A Utility database is a rather good idea, in my opinion – I'm with Thom about not putting non-system objects inside system (or pseudo-system) databases. With...


  • Viewing 15 posts - 3,271 through 3,285 (of 13,874 total)