postgresql tag

79 questions


1 answers
346 views
0
I don't know if Cloudinary or database settings are wrong.

I asked the following questions and was able to set them up.When I tried to post an image in the production environment, an error occurred.The Cloudinary configuration I was referring to should have b...


2 answers
483 views
0
Understanding the First Numbering of PostgreSQL Sequence

Question SummaryIn the sequence of PostgreSQL, we believe it will be numbered with the current value of +1 (if INCREMENT is 1).So the next time it's INSERTed, it's numbered 5+1 to 6.However, in the fi...

1 years ago

1 answers
400 views
0
DB fails to boot locally after Rails deployment.

What you can't doAfter successfully deploying my own application on Render.com, I tried to proceed with the development locally, but now I can't access DB.Error ContentsI was going to test with Rspec,...


1 answers
363 views
0
How to swing row_number in the order in which values are entered

I would like to enter a fixed value from the program side and search the database for the value.When I return it, I would like to return it in the order of program input.So I'd like to use the ID in t...

2 years ago

1 answers
497 views
0
How to Get Two Types of Data in the Same Column

I would like to get data similar to the ideal execution result from the teiki_oyaprod_cd value in the table teikiideal execution resultsmeisai is teikimeisai.meisai_no and NULL for set child informati...

2 years ago

1 answers
128 views
0
I want to run a schema-specified query without writing the schema name in the query.

ASK:  Is there a way to do the following without writing the schema name in the query?Environment: postgreSQL 9.x Windows If possible, I'd like to run it on pgAdmin4 (Because I'm not used to running f...

2 years ago

1 answers
172 views
0
In order to migrate the POSGRE database to AWS dynamicb, we would like to extract it in json format first.

In order to migrate the POSGRE database to AWS dynamicb, we would like to extract it in json format first.Therefore, we have considered the following statements to range multiple tables and output sel...


1 answers
131 views
0
Information About Unable to Register User-Defined Functions in RDS

In RDS-postgresql, I would like to register the following user-defined functions, but I do not have superuser privileges, so I get an error.db=>CREATE OR REPLACE FUNCTION public.bitpoint4(bit) RETU...

2 years ago

2 answers
103 views
0
About creating SQL for Iot data

There is a system for recording equipment parked at the facility.(There is no record of the aircraft moving because it is a monitoring record at each facility)In Table A, the name of the aircraft, the...

2 years ago

1 answers
127 views
0
Error in postgreSQL function

CREATE OR REPLACE FUNCTION testtable()RETURNS void AS'BEGIN FOR i IN 2..41 LOOP FOR j IN 1..5 LOOP IF j = 1 THEEN INSERT INTO a(test1, test2)VALUES(i,1); ENDIF; INSERT INTO b(test3, test4) VALUES(...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.