Database block on a view [message #168969] |
Mon, 24 April 2006 07:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kritikverma
Messages: 22 Registered: January 2006 Location: Jamshedpur, India
|
Junior Member |
|
|
Hi All,
I have created a database block on a view and this is populated
using SET_BLOCK_PROPERTY command. It is working as required. Now a backend procedure is called in when-button-pressed trigger which updates certain records in the table. These records needs to reflected on the screen (in the database block created on view) without using the EXECUTE_QUERY command.
I have two options:
1) Simply update the value on the block but this is not happening as the block is created on a view.
2) The second option is to refresh only the record on the block. I don't want to use EXECUTE_QUERY as this would unnecessary query all the records.
Please suggest an alternative to query on the changed record. SELECT statements are not working as this block is based on view.
Regards,
Kriti
|
|
|
|
Re: Database block on a view [message #169740 is a reply to message #169042] |
Fri, 28 April 2006 08:52 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kritikverma
Messages: 22 Registered: January 2006 Location: Jamshedpur, India
|
Junior Member |
|
|
Hi,
Your suggestion was perfect, but the problem is that I want to execute only the specific record at a specific position. The rest data should be exactly the same. I can restrict the data to query only the changed record but this query should be done at a specific record number. How would I do this ? Please suggest...
Regards,
Kriti
|
|
|
|
|
Re: Database block on a view [message #171346 is a reply to message #169946] |
Tue, 09 May 2006 08:13 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kritikverma
Messages: 22 Registered: January 2006 Location: Jamshedpur, India
|
Junior Member |
|
|
It is very important because the data is queried from a remote database and it takes some to get displayed. Hence it is a performance issue if all the records are requeried.
If you have a solution then please do update it.
Bye,
Kriti
|
|
|
|