nextval Questions
4
I have a web api post method that inserts a new row in my table in my Oracle database. I'm having trouble with the primary key of the table which is a sequence value. How do I do my_primary_key_seq...
Miguelinamiguelita asked 15/8, 2013 at 19:38
8
I am using PostgreSQL for my Codeigniter website. I am using grocery crud for add, edit and delete operations. While doing an edit or add, I want to rename an uploaded file dynamically based on the...
Igor asked 15/11, 2012 at 8:11
0
In my postgreSQL DB applications, I sometimes need to retrieve the next value of a sequence BEFORE running an insert.
I used to make this by giving a “usage” privilege on such sequences to my users...
Fernery asked 24/7, 2019 at 18:13
10
Solved
I have an entity that has an NON-ID field that must be set from a sequence.
Currently, I fetch for the first value of the sequence, store it on the client's side, and compute from that value.
How...
5
Solved
I had to migrate from a mySql based ruby on rails app to using postgresql. No problems but one so far, and I don't know how to solve it.
The migration of data brought ids along with it, and postg...
Widespread asked 10/11, 2009 at 17:27
5
Solved
Is there a concise way to select the nextval for a PostgreSQL sequence multiple times in 1 query? This would be the only value being returned.
For example, I would like to do something really shor...
Sholom asked 22/5, 2009 at 3:47
1
© 2022 - 2024 — McMap. All rights reserved.