cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
lucascrandle
Level: Powered On

Use Oracle Sequences

Hello,

 

I need to be able to insert a row into an Oracle table once my flow has been approved. The table needs a unique key, and that needs to come from a sequence handled in the database. How can I access sequences?

 

I could query the DBA_SEQUENCES table and then insert an incremented value back, but I would prefer to use the built-in SEQUENCE.NEXTVAL call that oracle has built in.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
lucascrandle
Level: Powered On

Re: Use Oracle Sequences

I was able to setup triggers on the tables I was inserting into. They just look for '-1' and then grab the sequences when that occurs.

 

Hope that can help someone!

View solution in original post

1 REPLY 1
lucascrandle
Level: Powered On

Re: Use Oracle Sequences

I was able to setup triggers on the tables I was inserting into. They just look for '-1' and then grab the sequences when that occurs.

 

Hope that can help someone!

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,975)