Is there a way to define type aliases for internal types?
I'd like to define aliases for CLOB and would like to know if/how this is possible. I tried this: create type "array" external name "str"; create table atest(it array); insert into atest values('test'); Yielding the following error: TypeException:user.s2_27[3]:'calc.array' undefined in: _5:any := calc.array(_4:str) program contains errors So, that was probably not the right way to do it ... Thanks, -- Percy Wegmann +1 512 637 8500 ext 148 _______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
There is no facility for type aliasing. regards, Martin On 11/11/12 12:45 AM, Percy Wegmann wrote:
I'd like to define aliases for CLOB and would like to know if/how this is possible.
I tried this:
create type "array" external name "str";
create table atest(it array);
insert into atest values('test');
Yielding the following error:
TypeException:user.s2_27[3]:'calc.array' undefined in: _5:any := calc.array(_4:str) program contains errors
So, that was probably not the right way to do it ...
Thanks,
--
Percy Wegmann +1 512 637 8500 ext 148
_______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
Thanks,
Percy
On Sun, Nov 11, 2012 at 1:38 AM, Martin Kersten
There is no facility for type aliasing.
regards, Martin
On 11/11/12 12:45 AM, Percy Wegmann wrote:
I'd like to define aliases for CLOB and would like to know if/how this is possible.
I tried this:
create type "array" external name "str";
create table atest(it array);
insert into atest values('test');
Yielding the following error:
TypeException:user.s2_27[3]:'calc.array' undefined in: _5:any := calc.array(_4:str) program contains errors
So, that was probably not the right way to do it ...
Thanks,
--
Percy Wegmann +1 512 637 8500 ext 148
_______________________________________________ users-list mailing listusers-list@monetdb.orghttp://mail.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
-- Percy Wegmann +1 512 637 8500 ext 148 _______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
participants (2)
-
Martin Kersten
-
Percy Wegmann