SQL Server General Quiz 2012 - What is an IDENTITY Value?
What is an IDENTITY Value? What are the different ways to get IDENTITY values and properties of IDENTITY Values? If you are going to answer that identity value is ever increasing, is it possible to...
View ArticleSQL Server General Quiz 2012 - Writing where clause has been easiest thing
Writing where clause has been easiest thing. Most of the time we learn this as a first thing in SQL. I have often seen that many times a simple question with where one has to write about where clause...
View ArticleSQL Server General Quiz 2012 - Have you ever faced situation when you trying...
Have you ever faced situation when you trying to retrieve any data and the query keeps on waiting on the data and eventually times out. One of the reasons for the same can be locking. What are the...
View ArticleSQL Server General Quiz 2012 - DBA had to restore its database on new server...
DBA had to restore its database on new server runs a query to validate the data. The same query on the same database started to give different results. After a quick research he figured out that...
View ArticleSQL Server General Quiz 2012 - A new trainee was confused when he discovered...
A new trainee was confused when he discovered that organization is discouraging the Indexed View (or materialized views). After talking to senior team members he realized that Index Views which are...
View ArticleSQL Server General Quiz 2012 - A SQL developer got surprised when he learned...
A SQL developer got surprised when he learned that he does not have to use cursors to calculate ranks in SQL Server 2008. He can now just use newly introduced ranking functions. What are the different...
View ArticleSQL Server General Quiz 2012 - A query always ran in split second and...
A query always ran in split second and suddenly it started to timeout. A quick look at the error log the cause was deadlock. What is a Deadlock and how to identify and resolve a Deadlock inside SQL...
View ArticleSQL Server General Quiz 2012 - I noticed very long stored procedure in the...
I noticed very long stored procedure in the production database. This database creating temporary tables, using insert and select statement. When I asked the purpose of the stored procedure, I realize...
View ArticleSQL Server General Quiz 2012 - Performance tuning expert often encounter...
Performance tuning expert often encounter situation where it is difficult to figure out why certain activities are happening behind the scene in SQL Server Engine. Every action has some root cause and...
View ArticleSQL Server General Quiz 2012 - Developer and DBA both sometime have their own...
Developer and DBA both sometime have their own priority and preferences when it is about database designs. If you are DBA or Developer you must learn cross domain expertise features. One of the...
View ArticleSQL Server General Quiz 2012 - Some questions are good for debates
Some questions are good for debates. There are so many myths associated with few subjects that when the discussion starts it is hard to convince stubborn friend who is not read to accept the truth....
View ArticleSQL Server General Quiz 2012 - Compile and Recompile has very interesting...
Compile and Recompile has very interesting meaning when learning Machine learning. However, the same thing has similar but very interesting effect in SQL Server. Many related compilation of the code...
View ArticleSQL Server General Quiz 2012 - It is saying that where you should use nail,...
It is saying that where you should use nail, you should not use sword. Every little tool has its own usage and its own purpose. What are the differences of CHAR, VARCHAR, NVARCHAR and VARCHAR(MAX)...
View ArticleSQL Server General Quiz 2012 - Recently got a DBA who said the Log files was...
Recently got a DBA who said the Log files was growing bigger than the data file size. On discussion he mentioned using CHECKPOINT to solve this problem. So what does CHECKPOINT do inside SQL Server?...
View ArticleSQL Server General Quiz 2012 - Auditing is always fun when we do code reviews
Auditing is always fun when we do code reviews. And in a product backend check we found a lot of junk names for the Default constraints inside the database. What are the different ways you can create...
View ArticleSQL Server General Quiz 2012 - As an effective DBA it is critical to keep tap...
As an effective DBA it is critical to keep tap on the various server side databases. Recently was encountered with a Developer saying the “sys” schema objects were no longer in the MASTER database....
View ArticleSQL Server General Quiz 2012 - In any performance testing discussion for...
In any performance testing discussion for large development one of the common requirements has been to send a multiple values to SQL Server in one shot. So to help this requirement, SQL Server...
View ArticleSQL Server General Quiz 2012 - From SQL Server 2000 the use of XML has been...
From SQL Server 200 the use of XML has been more and more by applications. With SQL Server 2005 XML became a first class datatype and applications are likely to use more natively this datatype. What...
View ArticleSQL Server General Quiz 2012 - Even though storage as a subsystem is cheap...
Even though storage as a subsystem is cheap these days. We have seen DBA’s struggle to find Log files run out of space and stop transactions. Understanding size is a critical aspect, now tables data,...
View ArticleSQL Server General Quiz 2012 - Work of a DBA is never to be underestimated
Work of a DBA is never to be underestimated. An effective DBA’s role maybe understated for the 364 days in a year but for that 1 day when the database gets into a corrupt state is when all the skills...
View ArticleSQL Server General Quiz 2012 - Though High-Availability is something critical...
Though High-Availability is something critical for all large database deployments. There are multiple options one can use. For discussion today, what is database mirroring option? What are the...
View ArticleSQL Server General Quiz 2012 - Any database design can include only the...
Any database design can include only the Normal forms. But while a DBA performs a product deployment it is critical to take care of certain factors for Index creation. On that lines, explain...
View ArticleSQL Server General Quiz 2012 - Compliance is one of the non-negotiable in...
Compliance is one of the non-negotiable in this era. SQL Server has had so many options like C2 Auditing since the SQL Server 2000 days. With the advent of Policy Based Management inside SQL Server...
View ArticleSQL Server General Quiz 2012 - As part of performance tuning exercise our...
As part of performance tuning exercise our developer always suggested to use SET based operations rather than using procedural languages. One of the suggestions given for substitute for hierarchical...
View ArticleSQL Server General Quiz 2012 - Using datetime functions inside SQL Server...
Using datetime functions inside SQL Server have always been a struggle and there are multiple options. There have been interesting usages of GETDATE but interesting functions like SYSDATETIME(),...
View ArticleSQL Server General Quiz 2012 - Recently I was contacted by one of my friends...
Recently I was contacted by one of my friends operating a large database that he was running out of disk space because of some table with many indexes unnecessarily created. Even after truncating the...
View ArticleSQL Server General Quiz 2012 - There are multiple performance troubleshooting...
There are multiple performance troubleshooting tools which a DBA can use inside SQL Server from Perfmon, SQL Profiler and multiple third Party tools. One of the hidden features most forgotten is the...
View ArticleSQL Server General Quiz 2012 - As databases volumes become big and big the...
As databases volumes become big and big the best way to optimize would be take the big problem and break it up into smaller chunks. During a large server deployment DBA suggested implementing...
View ArticleSQL Server General Quiz 2012 - Reporting and analytics cannot be achieved...
Reporting and analytics cannot be achieved without a very good data model at the background. And using Analysis services for reporting requirement is always something very common architecture. But...
View ArticleThe Page – How SQL Server Stores Data - sqlity.net
SQL Server organizes all data into virtual containers called pages. The DBCC PAGE command can be used to explore these pages. This post starts a series about pages in SQL Server.See it on Scoop.it,...
View Article