I am developing a table driven ETL system, where I store large PL/SQL queries in a varchar(max) field. I read the field
into an object variable at the package level using a SQL task. Next I have a C# script task that creates a connection to
our Oracle database using the Oracle provider. I am trying to set the Command.Text property to the PL/SQL statement I've
stored in the package level object variable, but I'm having difficulty getting the Pl/SQL text back out of the object. I've
tried Object.value.tostring, but it just returns a generic "system__text". I have been researching this for awhile now,
but I haven't found a good solution. Does anyone have any ideas on how I can proceed?:unsure:
into an object variable at the package level using a SQL task. Next I have a C# script task that creates a connection to
our Oracle database using the Oracle provider. I am trying to set the Command.Text property to the PL/SQL statement I've
stored in the package level object variable, but I'm having difficulty getting the Pl/SQL text back out of the object. I've
tried Object.value.tostring, but it just returns a generic "system__text". I have been researching this for awhile now,
but I haven't found a good solution. Does anyone have any ideas on how I can proceed?:unsure:
Brandon Forest SQL Server DBA