/**Begin D:\dev\tools\PDM_UPGRADE\pdm1\HAOS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_HAOS_ORGTEAMSRELTEMP') 
 CREATE TABLE T_HAOS_ORGTEAMSRELTEMP (
FID BIGINT DEFAULT 0 NOT NULL,
FORGTEAMID BIGINT DEFAULT 0 NOT NULL,
FPARENTID BIGINT DEFAULT 0 NOT NULL,
FCREATORID BIGINT DEFAULT 0 NOT NULL,
FMODIFIERID BIGINT DEFAULT 0 NOT NULL,
FCREATETIME DATETIME,
FMODIFYTIME DATETIME,
FMASTERID BIGINT DEFAULT 0 NOT NULL,
FBSED DATETIME,
FBSLED DATETIME,
FOTCLASSIFYID BIGINT DEFAULT 0 NOT NULL,
FADMINORGHISID BIGINT DEFAULT 0 NOT NULL
);



/**End D:\dev\tools\PDM_UPGRADE\pdm1\HAOS_table.sql **/
