|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
unable to create procedure or function error 104
mysql> delimiter //
mysql> CREATE FUNCTION hello (s CHAR(20)) RETURNS CHAR(50) -> RETURN CONCAT('Hello, ',s,'!'); -> // ERROR 1064 (42000): 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 '(s CH AR(20)) RETURNS CHAR(50) RETURN CONCAT('Hello, ',s,'!')' at line 1 mysql> an idea ? i'm loged as root Mysql V4.1 on Windows 2000 ![]() |
|
#2
|
|||
|
|||
|
Quote:
Do you have an object file for your UDF? Also, your call to CREATE FUNCTION isn't formatted correctly. It should be something like this: CREATE FUNCTION hello RETURNS STRING SONAME 'shared.so'; where shared.so is a filename of your choice to a shared object file (compiled). REF: http://dev.mysql.com/doc/mysql/en/udf-compiling.html
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > unable to create procedure or function error 104 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|