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

Explain what are the different index configurations a table can have?

1039


What is the difference between SQL notification and SQL invalidation?

1077


What are the purposes of floor and sign functions?

927


How many types of database relationship in sql server?

998


How to convert a numeric expression from one data type to another?

934


How to list all user names in a database?

1005


What is catalog views?

1025


What are functions in the sql server?

1128


What happens if you insert a duplicate key for the primary key column in ms sql server?

935


What is nolock?

929


What do you understand by recursive stored procedure?

875


How do I view a trc file?

900


How to create dbo table in sql server?

901


How to get a list of columns using the "sys.columns" view in ms sql server?

920


What is index fragmentation in ms sql server?

1025