I have two databases, one MySQL 5, one SQL Server 2000. I've got the MySQL database mapped as a linked server in the MS SQL database. I'd like to call a stored procedure saved in the MySQL database from the MS SQL database. What's the correct syntax to do this? Is it even possible in SQL Server 2000?
Edit:
I've tried
EXEC webpush...clear_tables
but I just get this back:
Could not execute procedure 'clear_tables' on remote server 'webpush'.
[OLE/DB provider returned message: [MySQL][ODBC 3.51 Driver]
[mysqld-5.0.46-enterprise-gpl-log]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 '?=call "clear_tables";1' at line 1]
Even when I fill in DB name and owner, I still get the same thing.