Forum Replies Created

Viewing 15 posts - 4,156 through 4,170 (of 8,754 total)

  • RE: Datetime2

    The explanation isn't correct, "This determines the storage for the type, but only in varying the storage from 6 to 8 digits of precision." should be "This determines the storage...

  • RE: Need help on Grouping

    So far so good with the DDL but you are missing the sample data matching the expected results.

    😎

  • RE: Omitting 'DISTINCT'

    sql_only (12/25/2015)


    Is there a better way to code this?

    Yes there is, not only in terms of performance but it's also more legible and maintainable

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID('tempdb..#n') IS NOT...

  • RE: Maintenance Plans are not working as scheduled

    Quick suggestion, remove the maintenance plans and install Ola Hallengren's SQL Server Maintenance Solution[/url].

    😎

  • RE: Fail to retrieve XML

    foxyland.vfp (12/26/2015)


    Hi all,

    First of all, Merry Christmas 🙂

    Merry Christmas to you too.

    What I got is seven rows of all-null record set.

    Can anybody give me a hint where I did wrong?...

  • RE: The Most Common Query Blunders...

    100% agreeing with Gail on this one.

    😎

    Piling on a bit

    Most wanted (preferably dead) sql code objects and anti patterns:

    1. Multi statement multi function table value functions

    These functions tend to...

  • RE: PowerView... is it just me?

    pietlinden (12/25/2015)


    Was it removed in 2016? I didn't really ever use it much... just never had a reason to.

    That said, anybody know what MS's plans are with reporting? It...

  • RE: Comma separated values

    Quick solution

    😎CREATE TABLE #DeploymentPlan

    (

    WorkFlow VARCHAR(100)

    ,Deliverable ...

  • RE: Merry Christmas 2015

    arnierowland (12/25/2015)


    Try this one:

    SELECT geometry::Parse('POLYGON((

    4 0, 0 0, 3 2, 1 2, 3 4, 1 4, 3 6, 2 6,

    4 8, 6 6, 5 6, 7 4, 5 4, 7...

  • RE: Dynamic Query issue

    My suggestion is to rewrite this query, quite certain that there is no need for neither dynamic sql nor the nested replace. The syntax is correct but the methods are...

  • RE: Merry Christmas 2015

    Merry Christmas Steve

    😎

  • RE: Number VS Letter

    Check out this thread

    😎

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (12/24/2015)


    Oh, has anyone stayed at a Hyatt recently?

    He he, cash only:-D

    😎

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (12/24/2015)


    Eirikur Eiriksson (12/24/2015)


    Steve Jones - SSC Editor (12/24/2015)


    Eirikur Eiriksson (12/24/2015)


    Banks seem to be capable of doing date math, I've for instance seen interests paid early

    😎

    I'm not sure that's...

  • RE: create stored procedure with if condition

    Quick question, are you storing passwords in plain text?

    😎

Viewing 15 posts - 4,156 through 4,170 (of 8,754 total)