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 are cursors?

Answer Posted / kuttikrishnan kodoth

if we ant to retrive data from a database table having
duplicate entries which violates primarykey rule
we can handle this case using cursor, it by declaring a
cursor which would check the
records during retreival one by one and remove rows which
have duplicate values. there are many types of cursors to
fetch data in diffrent order like fetch first,fetch
last ,fetct prior,fetch next,fetch abslute n,fetch relative
n

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how you can list all the tables in a database?

1069


Explain transaction server consistency?

1019


How to create view in stored procedure sql server?

1057


Does transparent data encryption provide encryption when transmitting data across the network?

1100


What are the grouping functions?

974


Write a sql query to get zero records from a table having n number of records?

1235


What is trace flag in sql server?

1080


What is a View ? Can we insert, Update and delete a view?

1061


you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?

1096


How to define the name and server for a new dsn?

1196


Explain the difference between delete,drop and truncate in SQL Server?

1163


You notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it?

1158


What are clustered and non-clustered index?

1050


What is the difference between left and right outer join?

1115


What is page-level compression?

1010