Forum Replies Created

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

  • RE: Print (5596 / 11784) --- > yields 0 (should return .47 and not 0)

    You are asking for an integer result by dividing and INT by an INT.

    Try forcing a conversion to numeric during the calculation by adding a decimal to one of 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: OUTPUT & NEWID()

    I'll concede that the use of the word Guarantee was not the correct word.

    But I will again state, that the purpose was to spark conversation.

    My appologies to everyone who...

    ______________________________________________________________________

    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: OUTPUT & NEWID()

    One more time. 🙂

    Can you agree that both of these code snippets SHOULD do the exact same thing! (Delete a random set of 9 rows)

    CREATE TABLE #t

    ...

    ______________________________________________________________________

    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: OUTPUT & NEWID()

    SanDroid (4/25/2011)


    bitbucket-25253 (4/24/2011)


    Oh well, another question that does not rely on the workings of the database engine, but rather english comprehension.

    I would say you comprehended just fine.

    I would...

    ______________________________________________________________________

    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: OUTPUT & NEWID()

    wware (4/25/2011)


    Interesting question. I had no problem with the semantics of the question or answer.

    Wondering if anyone can think of a real world example where one might...

    ______________________________________________________________________

    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: OUTPUT & NEWID()

    It is a question of semantics. You are guaranteed to have ANY of those values and NONE of them at the same time. There is no guarantee, and yet there...

    ______________________________________________________________________

    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: Running Total's CTE Challenge

    For clarification can you post the expected results. 😀

    ______________________________________________________________________

    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: 2 queries with a union - Can I optimize to a single query?

    Check the article linked in my footer and please provide DDL and sample data.

    ..and I agree with Dan.

    ______________________________________________________________________

    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: TSQL Logic help needed-- Nested IF

    Jeff Moden (4/21/2011)


    ChrisM@home (4/21/2011)


    David Burrows (4/21/2011)


    Jeff Moden (4/20/2011)


    If we don't know the length, then we can force the max length for positive BIGINTs and simply remove all spaces afterwards.

    Also if...

    ______________________________________________________________________

    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: TSQL Logic help needed-- Nested IF

    Jeff's solutions works if you know the length. **a few assumptions here**

    SELECT

    LEFT(

    STUFF(

    ...

    ______________________________________________________________________

    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 use on delete cascade in SQL Server 2005

    polichlorek (4/20/2011)


    Pages you mentioned do not exist anymore, so could you please write it? Thank you.

    And just as SQLKiwi said, you might get faster results by trying your search 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: How to use on delete cascade in SQL Server 2005

    polichlorek (4/20/2011)


    Pages you mentioned do not exist anymore, so could you please write it? Thank you.

    This is a current link -->

    ______________________________________________________________________

    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: Salesforce attachments stored as binary data needs to be rendered viewable.... help!

    Sounds like a Salesforce or forceAmp question. Have you contacted support?

    http://www.forceamp.com/support.htm

    ______________________________________________________________________

    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: Salesforce attachments

    Posting the same question in multiple forums is frowned upon here. 😀

    ______________________________________________________________________

    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: Salesforce attachments stored as binary data needed to be rendered viewable.

    Sounds like a Salesforce or forceAmp question. Have you contacted support?

    http://www.forceamp.com/support.htm

    ______________________________________________________________________

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