WebProfIT Consulting
  • Home
  • Cloud
  • SQL
  • Big Data
  • Contact Us
  • RSS

Categories

  • AWS (1)
  • Big Data (1)
  • Cloud (1)
  • SQL (4)
    • Microsoft SQL Server (3)
  • Tips and Tricks (2)
  • Tutorials (1)

Recent Comments

    • Home
    • SQL
    • Microsoft SQL Server

    Renaming Primary Keys to Standard

    2016-09-03 Leave a Comment Written by Pavel Danilov

    We prefer to name all primary key constraints explicitly and not let SQL server come up with its own names. In this case: We always know what name to look for. Standard name, which in our case looks like PK_tableName, simplifies automatic maintenance of primary keys: if all names are standard, they can be used […]

    Read More
    Microsoft SQL Server, SQL
    primary key, SQL, SQL Server

    Using a DDL trigger to control and automate history of data changes

    2016-09-03 Leave a Comment Written by Pavel Danilov
    Time Capsule - Sony tape recorders

    Summary: DDL trigger does all the magic of automatic support of historical data, all you need is to run the script against your database (once). After that you can turn history on tables on, off, or pause it. It will keep audit of all schema changes in your database and automatically generate DML triggers on […]

    Read More
    Big Data, Microsoft SQL Server, SQL
    backup, COMMIT, DDL, DDL trigger, DML trigger, Excel, IDENTITY column, INDEX, INSERT, management, Microsoft, Microsoft SQL server, primary key, React, replication, SQL, SQL Server, trigger, XML

    INCLUDE Clause in Non-clustered Indexes

    2016-09-03 Leave a Comment Written by Pavel Danilov

    Summary: improve performance of you queries by including hot data into index If you have a big table, let’s say with 100 columns and million rows, and some of those 100 columns, say 5 of them are being used in queries very often, you may significantly improve performance by building a special non-clustered index with […]

    Read More
    Microsoft SQL Server, SQL, Tips and Tricks, Tutorials
    BigTable, HOT, INDEX, non-clustered index, performance, primary key, SQL

    Recent Posts

    • How to shrink size of Linux EBS volume in AWS
    • Data Normalization
    • Renaming Primary Keys to Standard
    • INCLUDE Clause in Non-clustered Indexes
    • Using a DDL trigger to control and automate history of data changes

    Archives

    WebProfIT Consulting, Inc. 2016