Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Unable To Create Stored Procedure Using JDBC !! - response (3) by Chuckbert

$
0
0

Rajeev,
I am able to run the DDL you posted (after changing the database name to a valid name). It got created even though the table being inserted into doesn't exist. Running the SP results in the error saying the table isn't there.
I get the 5526 message when trying to run the CREATE PROCEDURE statement if my user doesn't have CREATE PROCEDURE privileges on the database. The full message being returned in that case is:
Failed [5526 : HY000] Stored Procedure is not created/replaced due to error(s).{Nested Failure Msg [5526 : HY000] SPL1040:E(L2), Invalid definition for stored procedure 'E(3524):The user does not have CREATE PROCEDURE access to database dbname.'.}{Nested Failure Msg [5526 : HY000] SPL5000:W(L3), E(3807):Object 'dbman.tcols' does not exist.}
Could your problem be a result of not having permission to create the procedure in the database?


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>