IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_TSRBD_PORTRAIT')
 CREATE TABLE T_TSRBD_PORTRAIT (
FID BIGINT DEFAULT 0 NOT NULL,
FTAGOBJTYPEID BIGINT DEFAULT 0 NOT NULL,
FTAGOBJID BIGINT DEFAULT 0 NOT NULL,
FPORTRAIT NCLOB DEFAULT ' '
);



