Reputation: 189
Hi I was trying to create Type but getting a Syntax error while doing it.
CREATE OR REPLACE TYPE ARR_HNW_ID AS VARRAY(50) OF INTEGER;
Can you please help me to resolve this Issue
Upvotes: 1
Views: 1309
Reputation: 1620
Thera are multiple mistakes in your SQL:
So basically you can simply use integer[] for your ARR_HNW_ID
Upvotes: 1
Reputation: 9778
I don’t believe OR REPLACE is valid syntax. You can CREATE or ALTER types but not REPLACE
Upvotes: 1