Parameter pass to Stored Procedure stage .
Posted: Tue Jan 24, 2006 7:10 am
How to pass parameter value dynamically to Stroed Procedure stage.
for example i have one stored procedure called test(tablename) here Tablename is dynamically assigned by the job based on the Tablename parameter value Test procedure will extract data from respective table.
ProceureName -' "EDW$LIBRARIAN.refresh_fiscal_month"
Procedure call syntax "BEGIN test(": TableName :"); END;"
when i gave like this i got illegal parameter. if i tried to give dummy variable like :1 this works fine.
BEGIN test(:1); END;"
for example i have one stored procedure called test(tablename) here Tablename is dynamically assigned by the job based on the Tablename parameter value Test procedure will extract data from respective table.
ProceureName -' "EDW$LIBRARIAN.refresh_fiscal_month"
Procedure call syntax "BEGIN test(": TableName :"); END;"
when i gave like this i got illegal parameter. if i tried to give dummy variable like :1 this works fine.
BEGIN test(:1); END;"