Re: PROBLEM IN ROUTINE MIGRATION
Hi.
Yes, 5.0 does support stored procedures. But you have to use the SQL standard syntax (that is also used by DB2). You cannot execute Oracle PL/SQL procedures or TSQL procedures from MS SQL Server. You have to convert them first.
A simple stored procedure looks like this:
DELIMITER $$
DROP PROCEDURE IF EXISTS `scott`.`title-sp`$$
CREATE PROCEDURE `scott`.`title-sp` ()
BEGIN
select title_id,title from `scott`.`titles`;
END$$
DELIMITER ;
Mike
Michael Zinner, Team Lead, Developer Tools
MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
Subject
Written By
Posted
Re: PROBLEM IN ROUTINE MIGRATION
October 19, 2005 08:56AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.