-- -- acs-core-ui/sql/attribute-create.sql -- -- Creates the necessary attributes for objects for the core ui -- -- @author Hiro Iwashima (iwashima@mit.edu) -- -- @creation-date 18 May 2000 -- -- @cvs-id $Id: attribute.sql,v 1.2 2001/04/17 04:10:06 danw Exp $ -- -- declare -- result varchar2(10); -- begin -- result := acs_attribute.create_attribute ( -- object_type => 'person', -- attribute_name => 'bio', -- datatype => 'string', -- pretty_name => 'Biography', -- pretty_plural => 'Biographies', -- min_n_values => 0, -- max_n_values => 1, -- storage => 'generic' -- ); -- commit; -- end; -- / -- show errors select acs_attribute__create_attribute ( 'person', 'bio', 'string', 'Biography', 'Biographies', null, null, null, 0, 1, null, 'generic', 'f' );