how to implement locking in sql server

Answers were Sorted based on User's Feedback



how to implement locking in sql server..

Answer / suraj

like this

select *
from dbo.Address
with (nolock)

-- above query doesn't hold lock while retrieving data.

Is This Answer Correct ?    3 Yes 1 No

how to implement locking in sql server..

Answer / midhun

By using lock hints and Isolation level

Is This Answer Correct ?    0 Yes 0 No

how to implement locking in sql server..

Answer / rama krishna

no need to impliment locks sql server automatically holds
locks

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More SQL Server Interview Questions

Do you know what is a linked server in sql server?

0 Answers  


What is a with(nolock)?

0 Answers  


How do you drop an index?

0 Answers  


What is the difference between cube operator and rollup operator? : SQL Server Architecture

0 Answers  


Would it be a good idea to create an index on a table that always contains 10 records? Why or why not?

3 Answers  






What do you mean by COLLATION?

4 Answers   ABC, BirlaSoft,


whate is advantages of sql server 2000

0 Answers  


what is a live lock? : Sql server database administration

0 Answers  


What is DCL?

0 Answers  


What are defaults? Is there a column to which a default can't be bound?

2 Answers   TCS,


How many index keys possible for a table

6 Answers  


Tell me the difference between clustered and non-clustered index?

0 Answers  


Categories