python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Checking Function Parameter Postgres
i'm trying to find the fastest way to check whether my postgres function parameter is null or empty.
my current function looks like:
CREATE OR REPLATE FUNCTON update_seller_detail(seller_id int,
sell...

Yohanes Lim
Votes: 0
Answers: 1
Postgresql Function for Inserting Data With Join
i tried to do create postgres sql function to insert data from parameter that given in the function.
For example There are 2 tables:
Table Customer
Customer
customer_id
customer_name
customer_phone
T...

Yohanes Lim
Votes: 0
Answers: 0
Declare and return value for DELETE and INSERT
I am trying to remove duplicated data from some of our databases based upon unique id's. All deleted data should be stored in a separate table for auditing purposes. Since it concerns quite some datab...
Bobstar
Votes: 0
Answers: 3
How to update all constraints referencing some field? For loop execute plpgsql
I want to update several constraints to cascade on delete or update. I know there are going to be major changes to "field_z" in "my_table", and many other fields in my database are...
Chad S
Votes: 0
Answers: 0