Archive

Archive for July, 2009

Total number of days in a month

July 26th, 2009 Arun Mallick 2 comments


Here are some ways described to find out the total no. of days in a given month.

Read more…

Categories: T - SQL, Tips N Tricks

Last business day of any given month

July 25th, 2009 Arun Mallick No comments
Categories: T - SQL, Tips N Tricks

SQL Driver Issues Resolver

July 20th, 2009 Arun Mallick No comments

Driver Issues Resolver - Thumnail

Here comes the real deal, sometimes you may face some unexpected things happening in SQL Server while creating SSIS package or dealing with the same, like missing Foreach File Enumerator or Foreach Item Enumerator in Foreach loop container. You might be thinking that, maybe it is not available in my piece of software.

Read more…

Categories: Products

SQL Server Indexes – Pros and Cons (Part 3)

July 13th, 2009 Arun Mallick No comments

SQL Server Indexes – Pros and Cons (Part 2)

Optimizing Indexes in SQL Server: Although there are many bright faces of indexes but every coin have two sides. So it’s always advisable to implement indexes wisely on a table. Here we will check out different perspectives to view indexes on a given table.

Read more…

Categories: T - SQL

SQL Server Indexes – Pros and Cons (Part 2)

July 12th, 2009 Arun Mallick No comments

SQL Server Indexes – Pros and Cons (Part 1)

Types of indexes: We have basically two types of indexes in SQL Server.

  • Clustered index:  It’s a type of index where the data itself is arranged at the indexed column i.e. we have the actual data at the leaf nodes. For example, in a science definition pocket book, every word is arranged alphabetically and the definition of the word is given along with it. Here there is no need to look up for the referencing page, as in case of other example like in a general book with indexes at the end of the book, contains page number along with the term or word which is then followed to get the information about the term.

Read more…

Categories: T - SQL

SQL Server Indexes – Pros and Cons (Part 1)

July 11th, 2009 Arun Mallick No comments


Indexing has become a critical buzzword in the arena of databases. Not only database users, but also all of us are using indexes in our daily life.  Got puzzled? Let me give you one scenario. Have you ever noticed how did a librarian arranges and orders all the books in the library? And when you are asking for a particular book, he immediately gives it to you within some couple of minutes without searching the whole library. This is possible because he has already indexed each book and categorized them according to the author and the publisher and again ordered all the books falling under same author and publisher in an alphabetical order of the title. So when you ask for a particular book, he just refers to the shelf belonging to the author and publisher of the book and the book is with you in no time.

Read more…

Categories: T - SQL

TRANSACTION Isolation Levels in SQL Server

July 4th, 2009 Arun Mallick 16 comments

SQL Server 2005 has some unique features to deal with the Transaction system in the database world. It has some unique sets to take care of every possibility of transactions or types of transaction. Technically, it will give us discrete ways to isolate the transactions from occurrence of deadlocks or crashes.

Before going deeper to the Isolation level that SQL Server provides to distinguish types of transaction, let’s have a look on the definition of the TRANSACTION. What does transaction means in real world and in a database scenario?

Read more…

Categories: SSIS, T - SQL