SHOW CREATE PROCEDURE year_on_job\G ERROR 1305 (42000): PROCEDURE year_on_job does not exist
时间: 2024-02-20 13:00:22 浏览: 78
FILE_DOES_NOT_EXIST
5星 · 资源好评率100%
The error message "ERROR 1305 (42000): PROCEDURE year_on_job does not exist" indicates that the stored procedure "year_on_job" does not exist in the database or in the current schema.
If you are sure that the "year_on_job" stored procedure exists, then it is possible that you are running the command in the wrong schema. Make sure that you are connected to the correct database and schema where the stored procedure is created.
If the stored procedure does not exist, you can create it using the CREATE PROCEDURE statement. Here is an example:
```
CREATE PROCEDURE year_on_job()
BEGIN
-- stored procedure logic
END;
```
Replace the "-- stored procedure logic" with the actual SQL statements that you want the stored procedure to execute. After creating the stored procedure, you should be able to use the SHOW CREATE PROCEDURE command to display its create statement.
阅读全文