SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Cursors in Mysql

    When i am try to create a cursor with in a mysql stored procedure it is throwing syntax error in the create cursor line.Will any one please share mysql sample procedure with cursors usage on it?

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    The MySQL manual has example procedures with cursor usage:

    MySQL :: MySQL 5.0 Reference Manual :: 12.7.5 Cursors

    You might want to share some of your code and the exact error message if you want help with it.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •