Stored proc called from dstag doesn't generate rows of data
Posted: Tue May 24, 2011 3:50 am
Hi All,
I have a stored proc running fine in sqlplus but not when called from datastage. Stored proc defined as 'Transform'.
I ran the stored proc in sqlplus which inserted approximately 700 rows. However, when the stored proc calls from datastage, it generates zero rows.
One thing i suspected is the definition of the SP comes with ampersand(&), part of the SP goes like this
....WHERE edu IN ('Pre-sch', 'Sec & Post Sec')
Need your advise on this.
Thanks a bunch.
I have a stored proc running fine in sqlplus but not when called from datastage. Stored proc defined as 'Transform'.
I ran the stored proc in sqlplus which inserted approximately 700 rows. However, when the stored proc calls from datastage, it generates zero rows.
One thing i suspected is the definition of the SP comes with ampersand(&), part of the SP goes like this
....WHERE edu IN ('Pre-sch', 'Sec & Post Sec')
Need your advise on this.
Thanks a bunch.