Forum Replies Created

Viewing 15 posts - 1 through 15 (of 1,183 total)

  • Reply To: Query Tuning Question

    IMHO, both roles should understand how to tune queries. Of course, depending upon your organization you might be limited on the tools available, but understanding proper query writing should be...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • Reply To: SSDT and Dynamically generated SQL Server tables

    If the objects' structure is dynamic via your application code then SSDT will be out of synch anytime you modify or create them. The only way is to perform a...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • Reply To: SSRS Subscriptions General Question

    If you search this site for "Data-Driven Subscriptions using Standard Edition" you'll find a few articles covering different approaches. One of which I wrote quite a while ago. All should...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • Reply To: Reverse engineering 837 data to SQL table

    As luck would have it, I recently completed a project doing just this. I can not share the details as it was for another client, but I can certainly tell...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • Reply To: Date 'look ahead' and group

    PIVOT

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: SQLCMD Mode; Run all SQL files in a directory

    Jeff Moden - Friday, August 25, 2017 9:55 AM

    BTW, Jason... cool article.  I know what your goal was and you nailed that. ...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Create MERGE statements with data!

    Thanks gserdijn for the catch and fix!

    It's also good...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Run/create a query/datasource to Central Management Server query in SSRS

    It would behoove you to look into a PowerShell solution instead. Just my 2 cents.

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Manual ssrs subscriptions - jason selburgs guide

    Double check your base subscription in the UI. You must have missed something syntactically. If I remember correctly, these errors were usually caused by typos but regardless, they almost ALWAYS...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: How to Add a Drive as a Clustered Physical Disk Resource in Windows

    Yeah, the glaring omission is the Allocation Unit Size of 64k. I've seen this missed in far too many environments.

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: SQLCMD Mode; Run all SQL files in a directory

    andreas.brandsteidl (9/14/2015)


    Hello!

    Thx for the way how to call several script files!

    My question is: How can I or what is the best way to catch an error in one...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: SQLCMD Mode; Run all SQL files in a directory

    DonlSimpson (10/9/2015)


    Great script, really useful in our shop.

    I'm not sure if this is environmental or will always occur, but this step (!!NOTEPAD $(WorkDirectory)$(RunFile)) keeps the query executing until notepad...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Add Columns to Result that Don't Exist in Table?

    bsmith 63193 (10/7/2015)


    What about specifying a specific value for a column in all rows?

    SELECT col1, col2, col3, 0 as newCol4, 'ABC' as newCol5 FROM yourTable

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Add Columns to Result that Don't Exist in Table?

    Phil Parkin (10/7/2015)


    Jason Selburg (10/7/2015)


    SELECT col1, col2, col3, CAST(NULL as BIT) as newCol4, CAST(NULL as VARCHAR(6)) as newCol5 FROM yourTable

    in this example, newCol4 and newCol5 are your non-existent columns. Using...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Add Columns to Result that Don't Exist in Table?

    SELECT col1, col2, col3, CAST(NULL as BIT) as newCol4, CAST(NULL as VARCHAR(6)) as newCol5 FROM yourTable

    in this example, newCol4 and newCol5 are your non-existent columns. Using the CAST, ensures that...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg

Viewing 15 posts - 1 through 15 (of 1,183 total)