-- B1 DEPENDS: BEFORE:PT:PROCESS_START

CREATE PROCEDURE _TmSp_CreateOIVEInsertIndexes
LANGUAGE SQLSCRIPT 
SQL SECURITY INVOKER

AS
	sqlStr nvarchar(1000);
BEGIN
	sqlStr :='CREATE INDEX OIVE_TRANS_SEQ ON OIVE("TransSeq" ASC,"LayerID" ASC)';
	EXEC sqlStr; 
	sqlStr :='CREATE INDEX OIVE_TreeID ON OIVE("TreeID" ASC)';
	EXEC sqlStr;
END;
