on 09-03-2015 6:22 PM
Hi Experts,
I've a requirement where I have to check the connection status of a datastore for a database before processing the dataflow.The source and target database is oracle.So I want to check it's status so if it's ok I can load the data into target otherwise wait till it's active.This is because my target databse goes down sometimes due to backup or maintenance.So Please share your thoughts how can I achieve this.
Many Thanks.
Niranjan
you can add a script before the Dataflow, and execute a dummy sql statement using SQL() function and do the error handling
sql('datastore name', 'SELECT sysdate FROM DUAL');
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.