Forum Replies Created

Viewing 15 posts - 661 through 675 (of 3,348 total)

  • RE: Default constraints OR INSERT trigger for Audit columns (create date time/user)

    For denying updates on column, you can use the DENY statement to set column-level permissions. Check Books Online for the syntax. This might even remove the need for an INSERT...

  • RE: traverse query

    Please post a repro script. Not with millions of lines - try to create a repro script that is as small as possible, yet shows the same problem you are...

  • RE: Departments, Teams, Roles and Services

    Jeff Moden (3/6/2016)


    Hugo Kornelis (3/2/2016)


    First, thanks for not including surrogate keys in your ERD. They are an implementation choice, so they should never ever be in any ERD.

    That's one...

  • RE: Restore point time recovery in SQL Server database

    In addition to Gianluca's suggestion, here is a link to a good article: https://www.simple-talk.com/sql/backup-and-recovery/sql-server-2014-backup-basics/%5B/url%5D

    (Do not worry about the "2014" in the title, the basics are the same in all versions...

  • RE: DBCC Shrink

    risingflight143 (3/7/2016)


    Hi i want to shrink my database, This is a critical server and i am not a sql admin. Experts help me.

    If it's a critical server and you are...

  • RE: Fulltext issue...

    PiMané (3/7/2016)So I tried trace flag 9481 and it was very very fast... 47ms and 4.000 reads...

    Then you should add that trace flag to the query.

    Don't worry, it is a...

  • RE: SQL Server CPU

    Yes, you can, and you could use those affinity masks for that (but read the note below). So with your eight cores, you could for instance assign two cores to...

  • RE: Large Table Design Best Practices

    tnpich (3/6/2016)


    To Hugo’s comment “I agree that having an explicit column to show the step (either as a number or as a code) is probably a much better idea.” ...

  • RE: Departments, Teams, Roles and Services

    SteveD SQL (3/5/2016)


    the challenge I came across was linking the Department-Team-Role combination to the Services table and other tables that need to link a Department-Team-Role. I wanted a single table...

  • RE: MAKE DIFFERENT COLOR IN CHART

    In the designer, click the cell you want to affect, click the color (or background color) property in the properties window, then enter a formula such as the one below:

    =Switch(Fields!City.Value...

  • RE: Tables partition

    Partitioning is not a performance feature. Indexing should help you lots more.

  • RE: Large Table Design Best Practices

    RonKyle (3/5/2016)


    A blank string does not mean that it is known that there is no value; a blank string means that it is known that there is a value, and...

  • RE: Tables partition

    Define "advantage".

    Are you looking for performance benefits? Then partitioning provides little advantage, regardless of single or multiple disks.

    Are you looking for easier management with swapping partitions in and out? Then...

  • RE: traverse query

    Mvs2k11 (3/5/2016)


    Thanks a lot..

    The provided query works fine however when I ran the query against with 1 million records which is failing due to maximum recursion error and I have...

  • RE: Fulltext issue...

    The simplification you made should make the plan a lot simpler, and should help the optimiizer get a good estimate.

    Before playing with the trace flags, please try updating statistics first!

Viewing 15 posts - 661 through 675 (of 3,348 total)