Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Function for column validation in SQl Loader control file.

User2979Jul 5 2012 — edited Jul 6 2012
Hello Gurus,
We have an requirement to create a function to validate all date and number columns in control file, and return 0/1 accordingly to valid_column which is last column . I have developed the function which accepts the number and date type columns as parameter and return Y/N. My question is, is there any way so that the function could be created without passing any parameter to it?

If yes, then how to call the function in control file?

I have been searching since a while on Google to find out any solution but could find out.

Using Oracle 11g Enterprise Edition Release 11.2.0.1.0

Thanks!

Edited by: Sush on Jul 5, 2012 2:23 AM

Edited by: Sush on Jul 5, 2012 4:16 AM

Edited by: Sush on Jul 5, 2012 7:28 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2012
Added on Jul 5 2012
3 comments
655 views