Forum Replies Created

Viewing 15 posts - 16 through 30 (of 458 total)

  • RE: The Danger of xp_cmdshell

    Jeff Moden (9/15/2016)


    Heh... I think I'm being prodded to publish. 😀

    "Prodded"????

    My first thought on reading this was "oh, dear, Steve just shot a pork chop at Jeff Moden"! 😀

    Rich

  • RE: Small rounding

    sknox (9/9/2016)


    Good question, but the explanation is incomplete. Precision is only half of the story, the other being scale.

    1.0 can fit in a number with precision of 1, if the...

  • RE: Building BI from Scratch!

    About BI tools:

    I've run SSRS and been working 6 months with Tableau. They are (and are intended to be) very different products. Tableau wins hands down for interactive...

  • RE: sp_msforeachdb: Improving on an Undocumented Stored Procedure

    Careful with that cursor definition: I had a horrible issue with backups never being executed using a solution much like this. Although a query from sys.databases returned the correct...

  • RE: Temporary Table Limitations

    TomThomson (4/6/2016)


    Ed Wagner (4/6/2016)


    TomThomson (4/6/2016)


    It was however easy to see which of them was the one that was wanted, just by looking at the wording - it was the only...

  • RE: ORDER BY ASC and NULLs last

    Hugo Kornelis (4/7/2016)


    Stewart "Arturius" Campbell (4/6/2016)


    Interesting, never thought of doing it that way

    Nice question, thanks Horia

    Nor should you. In production code, I would always write out the explicit intent instead...

  • RE: Where to start?

    Funny, I've had the reverse problem migrating to using Toad for Oracle: where is everything I know in SSMS? Chacun a son gout, as they say. 🙂

    Here's an...

  • RE: ORDER BY and NULL

    Scratched my head a bit at that first ORDER BY (on the INSERT). Was that just smoke to trip us up?

    🙂

    Rich

  • RE: Trust, or Verify – How FKs Can (or Cannot) Help Performance

    Nice article Hugo, and I like your inclusion of execution plans to show how untrusted foreign keys can affect query plans.

    A nice, small thing you did that will probably help...

  • RE: Trust, or Verify – How FKs Can (or Cannot) Help Performance

    jghohengarten (3/8/2016)


    Perhaps you could add to your article a query that finds untrusted FK's, also maybe even to dynamically generate the WITH CHECK statements?

    --Which FK constraints aren't trusted? (e.g.,...

  • RE: TRY_CONVERT large numbers

    Maybe everyone following this already knew it, but as I don't use CONVERT much at all, I had to read through the BOL entry Steve linked to for CONVERT. ...

  • RE: TRY_CONVERT large numbers

    Thanks for the speculation, Hugo.

    Huh. I guess in this case, the "N" in NVARCHAR must stand for "NULL"? Or maybe "Not gonna return an asterisk if the conversion...

  • RE: Extracting Select data from SQL to Access

    Echoing what others have said: back up the database and restore it elsewhere. You should be doing that regularly, whether or not you need to extract data for reporting...

  • RE: TRY_CONVERT large numbers

    Great question, Steve, thank you for exposing this. Anyone else find BOL more than less than unhelpful here?

    Return Types

    Returns a value cast to the specified data type...

  • RE: Odd (to me) Behavior with NTILE() and NULL Values in Source Data

    I think in this case you weren't hijacking at all (I believe you said you arrived here via Google for a similar issue), and I've appreciated the additional testing and...

Viewing 15 posts - 16 through 30 (of 458 total)