DELIMITER $$ DROP PROCEDURE IF EXISTS `datepaty`.`datepart` $$ CREATE PROCEDURE `datepaty`.`datepart` () BEGIN declare week1 int SELECT week('98-04-01'); END $$ DELIMITER ;
Script line: 4 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT week('98-04-01'); END' at line 4
SELECT week('1998-04-01');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)