The Vertica Forum recently got a makeover! Let us know what you think by filling out this short, anonymous survey.
Please take this survey to help us learn more about how you use third party tools. Your input is greatly appreciated!
Error in Passing parameter to Procedure in v ertica
Hi , My Concept is , I just want to selecting name for the parameter I just pass it on run time using external procedure. 1)I have created a sh file. It runs perfectly. 2)Created the Procedure also which calls the .sh file. 3)When I run the procedure I get error. I showed below. CaN any one help me out. .sh file: ---------- vsql -c "select name from test where id='read id; echo $id'"; output: ------- [dbadmin@cch1utbia7 malar]$ sh q.sh 1 name ------ a (1 row) Create Procedure: ------------------ create procedure a17(arg1 int) as 'q.sh' language 'external' user 'dbadmin'; CREATE PROCEDURE Executing Procedure: -------------------- dbadmin=> select a17(1); INFO 4427: Procedure reported: Could not execute procedure, errno=8 ERROR 4424: Procedure execution error: exit status=1 Regards, Malar
0
Comments