all. I'm trying to use the eclipse dtp to work on a mySQL DB. Here's the code that's giving an issue:
drop function if exists checkTypedness;
DELIMITER //
create function checkTypedness(nom varchar(255))
returns int
reads sql data
begin
declare hits int;
set hits = 0;
[.....]
end
//
gives:
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 'DELIMITER //
create function checkTypedness(nom varchar(255)) returns int ' at line 1
Elapsed Time: 0 hr, 0 min, 0 sec, 0 ms.
I was really hoping to not have to use phpmyadmin to build the database... Cheers, Charles.