on 06-04-2008 6:36 PM
Hi,
In JDBC Sender adapter, can we use a VIEW sql query in the "Query SQL Statement" placeholder?
For eg:
CREATE VIEW <view name> as SELECT * from <table name> WHERE <condition>
instead of the usual:
SELECT * from <table name> WHERE <condition>
Thanks,
Vishak
Hi,
If the view already exists in the Database then we can call that view from here, according to my knowledge we can't create the view from here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wanted to populate this view with the SELECT statement and then update the view with the UPDATE statement so that the actual table gets updated. This would avoid problems of more records getting updated than the actual no: of records getting selected when an INSERT step happens in the milli second between the SELECT and UPDATE statements (especially in a heavily overloaded DB).
Hi
What exactly is your use of creating a view, if you are going to fetch data from different tables, then you can use the view through stored procedures.
Hope this clears your doubts
Thanks
Saiyog
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.