How can i call this database function with DS4. Do I need to wrap this in another named function/stored procedure and import by name because I can’t create this in the source and don’t really want to store in our staging area nor do I want to use the sql transform.
Don’t know why. But you should not use the sql() function, you should create a stored procedure, import it into the datastore and then use that either in the mapping of the first query or as new-function-call.
Thanks again Werner, the reason was because the return was defined as an integer which has its own limitations and yes as an imported dbase function its considerably quicker however it does mean its another object to migrate and promote to next environment.
Anyhow on the same topic, does DS offer an alternative to ORA_HASH, e.g. something in python that gives a deterministic value.