Forum Replies Created

Viewing 15 posts - 5,806 through 5,820 (of 7,597 total)

  • RE: Using COALESCE and also trying to multiply and divide

    CELKO (9/4/2014)


    He put each element into its own schema. A curious design, I admit, but not one that breaks any rules I know of.

    Attribute splitting. You...

  • RE: Using COALESCE and also trying to multiply and divide

    CELKO (9/3/2014)


    the truncated YYYY-MM-DD is allowed in ISO 8061. But DD is constrained to be in the range 01 to 31 so the CELKO YYYY-MM-00 is guaranteed non-conformant...

  • RE: Using COALESCE and also trying to multiply and divide

    TomThomson (9/3/2014)


    CELKO (9/3/2014)


    Do you have you copy of the ANSI/ISO Standards? Read them. The only display format allowed is ISO-8601, 'yyyy-mm-dd' and not your punctuation free version. Sorry....

  • RE: Using COALESCE and also trying to multiply and divide

    CELKO (9/3/2014)


    Vastly more important, "we" do not store editing chars within the data! Even if one insists on storing dates as (var)char, why on earth would there ever...

  • RE: Trigger or Not Trigger

    LutzM (9/3/2014)


    ScottPletcher (9/3/2014)


    ...

    There are 3rd party solutions that do that, but they are rather expensive. At least one we investigated uses its own "black box" to hold the data...

  • RE: memory settings from default to 4500 MB

    If you want to verify the current setting, run this statement:

    EXEC sp_configure 'max server memory'

  • RE: Using COALESCE and also trying to multiply and divide

    CELKO (9/3/2014)


    You doing everything wrong. Where is the DDL? That is minimal Netiquette in SQL forums. Is this all INTEGER math? I hope not! But that is what your coalesce...

  • RE: Using COALESCE and also trying to multiply and divide

    SQL Server has a feature called computed columns that could be very useful here. Basically you can create a virtual column based on a computation, and it becomes effectively...

  • RE: Trigger or Not Trigger

    LutzM (9/3/2014)


    One of the issues when using triggers to audit changes is the ability to disable the trigger, apply the change and re-enable the trigger.

    Without any audit for DDL changes...

  • RE: Trigger or Not Trigger

    Triggers can capture the originating user as well if you provide that info to the trigger. This can be passed in several ways, including CONTEXT_INFO, APP_NAME or even a...

  • RE: Index analysis

    Agreed, there's no easy way to tell if an index has extra columns. You can use the missing index stats to get a feel for missing column(s) though. ...

  • RE: primary key discussion

    Eirikur Eiriksson (8/29/2014)


    Thank you Scott, Tom and Lynn, this was the discussion I wanted to get going in this context. The subject is far to dependent on the environment and...

  • RE: primary key discussion

    Lynn Pettis (8/29/2014)


    ScottPletcher (8/29/2014)


    The page split / fragmentation concern is often overblown. Remember, one INSERT, but you may read the row 1000, 10K, 100K+(?) or more times. Particularly...

  • RE: primary key discussion

    The page split / fragmentation concern is often overblown. Remember, one INSERT, but you may read the row 1000, 10K, 100K+(?) or more times. Particularly given the availability...

  • RE: primary key discussion

    Eirikur Eiriksson (8/29/2014)


    ScottPletcher (8/29/2014)


    patrickmcginnis59 10839 (8/29/2014)


    CELKO (8/22/2014)


    What do you use for the PK on lookup tables?

    I use the encoding that is being used. The IDENTITY property (not a column!)...

Viewing 15 posts - 5,806 through 5,820 (of 7,597 total)