Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 16 Oracle Analytics Lounge
- 216 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 79 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Sequence Generation

Summary
Sequence Generation
Content
Hi All,
I have a very weird requirement,
1. Create a sequence (Oracle Sequence ) in query template.
2. Pass sequence as parameter in ReportTrigger which will insert some data into temporary table based on key.
3. Retrieve inserted records using the key.
Any ides how to implement.
Answers
-
Do this all the time but never used a sequence (seems like overhead for a temp table) ...
set a variable just before writing the rows for your data_key as something similar to:
select
to_number(to_char(sysdate,'DDMMYYYYHH24MISS')) insert_key
from dual;
insert_key = 16062017134825
^ then select records based on MAX(insert_key)
0