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

What is ddl command?

968


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1213


Working with TLogs

1832


What does man by sql wildcard characters in sql server?

1055


What is the guest user account in sql server? What login is it mapped to it? : sql server security

1060


Relational calculus is what type of language?

1031


what is the system function to get current user's user id? : Sql server database administration

995


Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)

1858


What is the purpose of object explorer and its features? : sql server management studio

1203


What is data compression? : sql server database administration

965


What is subquery in sql?

1063


What is @@error in sql?

1057


What is the use of sql profiler in sql server 2012?

886


what are the Prerequisites for Replication?

11345


Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?

1046