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

How can I check that whether automatic statistic update is enabled or not?

984


What is the Main Difference between ACCESS and SQL SERVER?

1064


How to automatically create a log when an exception is being received into SQL Server?

1207


Can we write ddl in trigger?

864


How to round a numeric value to a specific precision?

1011


How to list all login names on the ms sql server?

1076


What is difference between order by and group by?

953


What is the difference between the application object and session object?

1010


How to check if stored procedure is running in sql server?

959


Why we need to use secondry database file? though, we can do same work using primary database file also.

6750


you have separate development and production systems you want to move a copy of a development database into production to do this, you do a backup on the development system and restore to the production system after a few minutes, you begin getting calls from several customers saying that they are denied access to the system why? : Sql server administration

919


How to create function with parameter in sql server?

1036


What is named calculation? : sql server analysis services, ssas

930


Can we store videos inside the sql server table?

907


How to retrieve error messages using odbc_errormsg()?

987