Thursday, April 25, 2013

Pessimistic Locking?

Pessimistic Locking is when you lock the record for your exclusive use until you have finished with it. It has much better integrity than optimistic locking but requires you to be careful with your application design to avoid Deadlocks.
(Read more here http://bit.ly/sql-interview)

Thursday, April 11, 2013

Which are the Important Points to Note when Multilanguage Data is Stored in a Table?

Which are the Important Points to Note when Multilanguage Data is Stored in a Table?

There are two things to keep in mind while storing unicode data. First, the column must be of unicode data type (nchar, nvarchar, ntext). Second, the value must be prefixed with N while insertion. For example,

INSERT INTO table (Hindi_col) values (N’hindi data’)

(Read more here http://bit.ly/sql-interview)

Wednesday, April 3, 2013

What is the Difference between GRANT and WITH GRANT while Giving Permissions to the User?


In case of only GRANT, the username cannot grant the same permission to other users. On the other hand, with the option WITH GRANT, the username will be able to give the permission after receiving requests from other users. (Read more here http://bit.ly/sql-interview)

Explain Few of the New Features of SQL Server 2008 Management Studio



SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.

A few of the important new features are as follows:

IntelliSense for Query Editing
Multi Server Query
Query Editor Regions
Object Explorer Enhancements
Activity Monitors

(http://bit.ly/sql-interview)







Explain Few of the New Features of SQL Server 2008 Management Studio