Reputation: 433
Is it possible for exporting only the functions in MySQL workbench. Exporting is possible for stored procedure, but don't know how to export functions in MySQL workbench?
Upvotes: 2
Views: 18937
Reputation: 59
This will dump only the procedures and function and no data.
Upvotes: 2
Reputation: 11
I had the problem and I solved it by opening the *.sql file via notepad and deleted the drop and create table queries.
Upvotes: 1
Reputation: 8431
You can export the create syntax function using the SHOW CREATE FUNCTION Syntax:
SHOW CREATE FUNCTION [func_name]
Or using the Forward Engineer Wizard(Ctrl+G)
Then select the MySQL Routine Objects
to export functions:
Finally:
Upvotes: 4