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...


What is the use of SCOPE_IDENTITY() function?

Answers were Sorted based on User's Feedback



What is the use of SCOPE_IDENTITY() function?..

Answer / saravakumar

Returns the most recently created identity value for the
tables in the current execution scope.

Is This Answer Correct ?    4 Yes 1 No

What is the use of SCOPE_IDENTITY() function?..

Answer / bhupesh

Returns the last identity value inserted into an identity
column in the same scope. A scope is a module: a stored
procedure, trigger, function, or batch.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More SQL Server Interview Questions

What do you understand by user-defined function in the sql server?

0 Answers  


Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture

0 Answers  


Can sql servers link to other servers like oracle?

0 Answers  


How optimize sql query with multiple joins in sql server?

0 Answers  


What is the purpose of self join?

0 Answers  


What are different types of raid configurations? : SQL Server Architecture

0 Answers  


What are the two virtual tables SQL Server maintains for triggers?

3 Answers  


What is used to replicate sessions between instances in coldfusion clusters?

0 Answers   HCL,


To automatically record the time on which the data was modified in a table, which data type should you choose for the column?

0 Answers  


If a stored procedure is taking a table data type, how it looks?

1 Answers  


What is use of except clause? How does it differ from not in clause?

0 Answers  


Can we insert data into a view?

0 Answers  


Categories