I am using SSIS to connect to ORACLE database and i want to view TEXT for some view. I followed this link but its giving me invalid syntax error.
SET LINESIZE 132
SET LONG 4000
SELECT TEXT FROM ALL_SOURCE WHERE NAME = 'YOUR_PROCEDURE_NAME'
Please suggest any other alternative.
Update:
Meanwhile i have checked for another option
select TEXT from ALL_VIEWS where view_name = 'YOUR_PROCEDURE_NAME'
This is getting sucessfully parsed but ORA -24374 define not done before error is coming
This worked finally in SQL PLUS. Not sure why this is not working with SSIS adapter.