Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to implement locking in sql server

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If no size is defined while creating the database, what size will the database have?

977


What are the dmvs?

1001


Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?

986


Explain primary key?

951


While you are inserting values into a table with the insert into .. Values option, does the order of the columns in the insert statement have to be the same as the order of the columns in the table?

974


Explain nested stored procedure. Syntax and an example for create nested stored procedure?

916


Detail about query optimizer?

1086


define and explain the differences between clustered and non-clustered indexes.

1177


What are magic tables in sql server?

1121


What is difference between views and tables?

993


Is resultset an interface?

948


What happens when converting big values to integers?

991


Explain what is the use of custom fields in report?

908


What do you understand by mirroring and mention the advantages of the mirroring?

1051


How you can find out if an index is useful to the optimizer?

926