Forum Replies Created

Viewing 15 posts - 3,841 through 3,855 (of 6,038 total)

  • RE: 'Check constraint' on group of records

    You can also reference scalar user defined functions within check constraints.

  • RE: column datatype update not usable

    Confirm there is not a trigger on this table, or some other change data capture mechanism, that inserts into an audit table for which the datatype of Age is still...

  • RE: missing one record when selecting by date range

    Lynn Pettis (5/26/2015)


    itortu (5/26/2015)


    This did the trick for me:

    SELECT orderno

    FROM _order

    WHERE CAST(FLOOR(CAST(order_date AS FLOAT)) AS DATETIME)

    BETWEEN CAST('5/14/2015' AS DATETIME)

    AND CAST('5/15/2015' AS DATETIME)

    ORDER BY order_date asc

    The...

  • RE: The Scientific Method: a call to action

    Kyrilluk (5/26/2015)


    It would be nice to have this scientific method to all the blab about security as well. Like "I shouldn't give the sysadmin password to the developers because of...

  • RE: Database security question

    robin.pryor (5/26/2015)


    The company I work for insists on being really liberal with db_owner. For the most part, that's not a problem, but security is an issue. Is there a way...

  • RE: Would a Duress Password be a Good Idea?

    Wayne West (5/25/2015)


    Ross McMicken (5/25/2015)


    GPO (5/23/2015)


    Of course all of this assumes your DBA or sysadmin is beyond reproach. I worked as a bank clerk many years before I'd ever heard...

  • RE: Naming Confusion

    Gary Varga (5/22/2015)


    Eric M Russell (5/22/2015)


    Gary Varga (5/22/2015)


    Eric M Russell (5/22/2015)


    T_Peters (5/21/2015)


    I've run into various naming conventions that have caused problems over the years. One of my favorites was naming...

  • RE: Naming Confusion

    Gary Varga (5/22/2015)


    Eric M Russell (5/22/2015)


    T_Peters (5/21/2015)


    I've run into various naming conventions that have caused problems over the years. One of my favorites was naming printers after the 7 Snow...

  • RE: Is it possible to determine the dataflow within a database?

    The high level data flow depends on the sequence for which the application calls the stored procedures, so perhaps ask the application team if they have a diagram. Also, running...

  • RE: Multiple Apps in one Database

    mrl6254 (5/21/2015)


    I’m involved in an application where a database is to be migrated over to a new server.

    I have been told that numerous applications each today with their own database...

  • RE: Naming Confusion

    T_Peters (5/21/2015)


    I've run into various naming conventions that have caused problems over the years. One of my favorites was naming printers after the 7 Snow White dwarfs. It was a...

  • RE: Columnstore Query Reverting to Row Mode with CROSS JOIN

    If you feel confident that this particular query should always leverage the non-clustered columnstore index, then have you tried an index like so?

    WITH (INDEX (IX_EmployeeReview_CS))

  • RE: Naming Confusion

    Executive managment has requested that available MB disk storage (zero padded to 10 digits) be appended to the end of all server names. You know... as a convenience for the...

  • RE: Naming Confusion

    dmbaker (5/21/2015)


    Eric M Russell (5/21/2015)


    Why is including location in server name important for some?

    Because when I'm querying a London server from Seattle, I like to know that I can step...

  • RE: Naming Confusion

    Why is including location in server name important for some?

Viewing 15 posts - 3,841 through 3,855 (of 6,038 total)