cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CREATE OR REPLACE TYPE

rhavin
Explorer
0 Likes
357

How do I create or replace a type in HANA 2.0 SP5?

I want to create a type if it currently does not exist. How do I do that?

View Entire Topic
simon25
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi, 

I believe you're looking for the CREATE TYPE for table which can be found here in the guide :
CREATE TYPE Statement (Procedural)

Create a table type called tt_publishers.

 

CREATE TYPE tt_publishers AS TABLE (
publisher INTEGER,
name VARCHAR(50),
price DECIMAL,
cnt INTEGER);

Kind Regards
Simon

rhavin
Explorer
0 Likes
No @simon25 "Product and Topic "Expert"" I'm not looking for the nonhelpful guide. I asked a simple question and it is marked BOLD.