update SYSPARAMETERS set VALUESTRING = '1'  where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionHigh'
/
update SYSPARAMETERS set VALUESTRING = '176' where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionLow'
/
update SYSPARAMETERS set VALUESTRING = '2006-08-31' where CONTEXT = 'SYSTEMINFO' and name = 'DBCreationDate'
/
CREATE TABLE DYNUSERATTRVALUES (
USERID				INTEGER NOT NULL,
USERATTRID			INTEGER NOT NULL,
NAME				VARCHAR(255) NOT NULL,
VALUESTRING			VARCHAR(4000),
AUTORIZATION 		INTEGER,  
CONSTRAINT PK_DYNUSERATTRVALUES PRIMARY KEY (USERID, USERATTRID),
CONSTRAINT FK_DYNUSERATTRVALUES FOREIGN KEY (USERID) REFERENCES USERS (USERID) ON DELETE CASCADE
)
/
create sequence DYNUSERATTRVALUES_SEQ start with 1 increment by 1
/
commit
/