Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: One sequence for several tables

$
0
0

Hi Wenjun,

 

thanks very very much for your help, but unfortunately it's not that what I am looking for.

 

I would like to create a sequence and use this sequence in the CREATE TABLE command of different tables.

 

I managed to create a table to use the sequence in the insert command, this works, but I don't get in run with the create table statement, although it's described.

 

this works here:

 

create column table "bla1" (no1 integer, text1 varchar(10));

insert into "bla1" values (ww_seq.nextval, 'hugo');

 

 

best regards

Wolfgang


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>