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

Write the Syntax for Cursors.

Answer Posted / ranjith kumar

declare cursor_name cursor for
select * from table_name
open cursor_name
fetch next from cursor_name

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is the significance of null value and why should we avoid permitting null values?

984


How do I edit a procedure in sql server?

957


What you can do to delete a table without the delete trigger firing?

973


Can you please explain the difference between function and stored procedure?

1007


if no size is defined while creating the database, what size will the database have? : Sql server administration

1005


Explain the truncate command?

982


How secure is sql server database?

1007


What happens if you add a new index to large table?

941


Explain what role entity and relationship play in an ER diagram.

1071


What are the advantages of policy management?

997


How to insert data into an existing table?

977


What is the difference between online clustering and Offline clustering?

2416


How data can be copied from one table to another table?

950


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

1081


How to sort query output in descending order in ms sql server?

942