9
Reply

Can we use Cursors inside the Stored Procedure in SQL SERVER?

Vasudev Mishra

Vasudev Mishra

Nov 29, 2012
7.1k
0

    yes we can.i just give the link just have a chk http://stackoverflow.com/questions/13507317/how-to-write-a-cursor-inside-a-stored-procedure-in-sql-server-2008

    Bhabani Prasad
    May 23, 2014
    1

    Cursor is used when we need to process a set of values/fields from each record in a resultset.

    Sunil Babu
    April 02, 2016
    0

    Yes we can use cursor inside stored procedure in sql server

    Irshad Ahmad
    February 21, 2013
    0

    Yes, we can use Cursors inside Procedure in SQL Server.. Since Cursor operates row by row they degrade the Performance.

    Shankar M
    February 18, 2013
    0

    Yes. We Can.. But usage of cursor's will affect the performance

    Thameem Ansari
    February 07, 2013
    0

    Yes definitely we can use.

    Rishikesh Kumar Singh
    January 31, 2013
    0

    Yes We can

    Koteeswaran Lakshmikanth
    January 30, 2013
    0

    we can use cursor inside sp in sql server.It causes performance degrade when we handle large amount of data in cursor. because it takes the system memory, and the table will be locked.

    Mukesh Km
    January 25, 2013
    0

    Yes we can use cursors in inside Stored Procedure

    Chetan Kumar
    January 04, 2013
    0