07-13-2017 06:57 AM - edited 07-13-2017 06:59 AM
I am planning to execute oracle sql procedure with following date '01/JAN/1900' as input parameter in order to pull limited data.
Thanks for your help in advance
connect to oracle (user=&username password=&passwrd path=&dbname);
execute (execute PROC_CREATE_TABLE('01/JAN/1900')) by oracle;
disconnect from oracle;
07-13-2017 07:27 AM
Is thre a question in there somewhere, or would you just like the advice that its never a good idea to put data (date in this case) as table or column names?
07-13-2017 09:12 AM
07-15-2017 07:10 PM
Your code looks OK - it is very similar to this: http://support.sas.com/kb/18/350.html
But please note you can't return a result set from a stored procedure. You need to get the stored procedure to create a table or view that can then be queried separately.
07-13-2017 01:20 PM