Category: Database

  • MICROSOFT SQL SERVER: Temporary tables in SQL Server vs. table variables

    When writing T-SQL code, you often need a table in which to store data temporarily when it comes time to execute that code. You have four table options: normal tables, local temporary tables, global temporary tables and table variables. I'll discuss the differences between using temporary tables in SQL Server versus table variables. Each of the four table options has its own purpose and use, and each has its benefits and issues: Normal tables...>
    Read more...
    5/12/2008 4:13:12 AM Published by FengLiN Category Database Comments 1 Views (1044)
  • Performance tuning tips for database developers

    Below is my list of the top 15 things I believe developers should do as a matter of course to tune performance when coding. These are the low hanging fruit of SQL Server performance – they are easy to do and often have a substantial impact. Doing these won’t guarantee lightening fast performance, but it won’t be slow either. Create a primary key on each table you create and unless you are really knowledgeable enough to...>
    Read more...
    5/5/2008 10:23:22 PM Published by FengLiN Category Database Comments 0 Views (983)