Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

267
Views
oracle to postgres migration table type issue

enter image description here

As shown in the image I'm facing this issue

I'm getting syntax error.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

PostgreSQL and Oracle are two different relational database systems.

They have different SQL dialects, and the stored procedure languages PL/SQL and PL/pgSQL are somewhat similar, but different when you get to the details.

You probably want to translate

TYPE mytype IS TABLE OF mytab.mycol%TYPE;
myvar mytype;

to

myvar mycoltype[];

(assuming that mytab.mycol is of type mycoltype.)

The syntax will be different, but you can do similar things.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!