How to select oracle sequence from different schema and
How to select oracle sequence from different Databases.
Explain with example
Answer Posted / harikanth
How to select oracle sequence from different schema
ANS:
a. SCHEMANAME.SEQUENCENAME.CURRVAL.
b. SCHEMANAME.SEQUENCENAME.NEXTVAL
How to select oracle sequence from different Databases
ANS:
a. SCHEMANAME.SEQUENCENAME.CURRVAL@DBLINK
b. SCHEMANAME.SEQUENCENAME.NEXTVAL@DBLINIK
Thanks,
Hari
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is Segment Advisor in Oracle?
What is Undo Management Advisor in Oracle?
What is oracle database client?
How to define a cusotmer as a supplier in ORACLE R12
How can we view last record added to a table?
How to rename an index in oracle?
What are set operators?
What is the maximum limit on the number of columns in a table?
How to test null values?
How to create a new table by selecting rows from another table?
Can select statements be used on views in oracle?
How to convert a date to char in oracle? Give one example.
Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.
Can multiple columns be used in group by in oracle?
What is the order of defining local variables and sub procedures/functions?