Forum Replies Created

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

  • RE: New Supporting Index for a Stored Procedure

    SQL will use the index if it deems it helpfull. In other words, "no action required"

    ______________________________________________________________________

    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: using subscriptions for Date Parameter Reports

    Add 1 month to the start date, and subtract 1 day. 🙂

    ______________________________________________________________________

    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: Question - How to insert record from within an select statement -

    Resender (10/31/2012)


    Jason Selburg (10/31/2012)


    Luis Cazares (10/31/2012)


    It's hard to be sure about what you need to do, but as I uderstood, you have a Sites table that is referenced by the...

    ______________________________________________________________________

    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: Question - How to insert record from within an select statement -

    Luis Cazares (10/31/2012)


    It's hard to be sure about what you need to do, but as I uderstood, you have a Sites table that is referenced by the OrderHeader table.

    I'm thinking...

    ______________________________________________________________________

    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: Question - How to insert record from within an select statement -

    The MERGE command is available in 2008 and beyond.

    ______________________________________________________________________

    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: Question - How to insert record from within an select statement -

    Without getting deep into your question, would the MERGE statement be of any help.....?

    ______________________________________________________________________

    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: I would like to be able to trace who or what process made a change to a stored procedure

    Here's a "poor man's source control" I wrote/found/modified a few years back. (In all honesty, I can't recall how much of this was "found" on the internet and how much...

    ______________________________________________________________________

    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: Cartesian product

    What exactly are you trying to accomplish? Delete any workstation ID's that dont exist in your table?

    If so ....

    DELETE FROM W

    FROM tbl_Workstations AS W

    LEFT JOIN...

    ______________________________________________________________________

    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: Very Small Tables

    I'm in agreement with you. Another way to think of it is, why would you put a table of contents in a 1 page "book"?

    Sql Server will ultimately pull the...

    ______________________________________________________________________

    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: Data Driven Subscriptions

    aditya.anita.moitra (10/12/2012)


    Jason,

    I am in the same situation to implement Data Driven Subscription to a File Share while we are using SQL Server 2008 R2 Standard Edition. I'm really interested in...

    ______________________________________________________________________

    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: Best of SSC

    That's pretty odd Jeff. One would think that "gem of sql code" would be at the top of the list.

    ______________________________________________________________________

    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: Best of SSC

    brendan woulfe (10/3/2012)


    You got to be kidding me. It does exist. And it's even called Best of SSC. :hehe:

    Apparently my google skills have failed me. Thanks Jason....

    ______________________________________________________________________

    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: Best of SSC

    Try searching this sight for "Best of SQLServerCentral" and only show articles.

    http://www.sqlservercentral.com/search/?q=Best+of+SQLServerCentral&t=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
  • RE: Spiltting columns in sql 2008

    Good grief Joe, did you forget to take your meds this morning? You complain about the rudeness of the OP, look at your response. Talk about rude!!!

    +1

    ______________________________________________________________________

    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: Multiple CTE select statement - fast in SSMS, painfully slow in a stored proc

    Just a possibility, but read up on "parameter sniffing".

    Also, I've found that CTE's are generally poor performers when dealing with large result sets. In those situations, I'd suggest using temp...

    ______________________________________________________________________

    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 - 91 through 105 (of 1,183 total)