User Profile

Collapse

Profile Sidebar

Collapse
Jason Hallums
Jason Hallums
Last Activity: Oct 12 '07, 06:51 PM
Joined: Oct 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Jason Hallums
    started a topic MYSQL: update where clause ignored in SP

    MYSQL: update where clause ignored in SP

    New to Mysql;
    I have created a stored procedure. Using a cursor I traverse the first table.
    For each row in the cursor I need to determine the correct row in another table to update.
    Using a select statement with data from the cursor I identify the primary key to this the target table and update it. I extract row counts from the target table as I go to check that the correct number of rows are being updated (i.e. 1 each time)....
    See more | Go to post

  • you can use the following:

    select greatest(100,67 ,876,76,234,100 98) from dual;

    can be used in any sql statement , just list the relevant comments inside the greatest () function
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...