﻿<?xml version="1.0" encoding="utf-8" ?> 
<T_CreateTableInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- // <Mod IR対応> 2009/07/23 Add N.Nishino []() ->					-->
<!-- tEventLogテーブルにSoftwareTypeカラム追加						-->
<!-- SystemNumValueFormat,ProjectNumValueFormatテーブルにSoftwareTypeカラムを追加	-->
<!-- DefaultNumValueFormatテーブルを新規追加						-->
<!-- RightsControlテーブルを新規追加							-->
<!-- RightsControlテーブルに権限の機種を追加						-->
<!-- RightsテーブルにIR用の権限を追加							-->
<!-- RightsGroupテーブルにSoftwareTypeカラムを追加					-->
<!-- RightsGroupテーブルに試験責任者(IR)、オペレータ(IR)を追加				-->
<!-- RightsGroup_Rights_RelationテーブルにIR権限グループ関連付けを追加			-->
<!-- SystemPolicyテーブルの装置セキュリティポリシーを削除			-->
<!-- SystemInstPolicyテーブルを新規追加						-->
<!-- ProjectPolicyテーブルの装置セキュリティポリシーを削除			-->
<!-- ProjectInstPolicyテーブルを新規追加					-->
<!-- // <Mod IR対応> 2009/07/23 Add N.Nishino []() <-					-->

<!-- // <Mod IR対応> 2009/10/14 Delete A.Shimizu []() ->				-->
<!-- RightsGroupテーブルのSoftwareTypeカラムを削除					-->
<!-- // <Mod IR対応> 2009/10/14 Delete A.Shimizu []() <-				-->

<!-- // <Mod> 2010/07/07 Change D.Yamamoto (SGS) [](データ処理設定項目追加) ->		-->
<!-- SystemDataProcテーブルにDefaultXAxisCalibCurveカラムを追加、create table/insert	-->
<!-- ProjectDataProcテーブルにDefaultXAxisCalibCurveカラムを追加、create table/insert	-->
<!-- // <Mod> 2010/07/07 Change D.Yamamoto (SGS) [](データ処理設定項目追加) <-		-->

<!-- // <Mod> 2010/07/30 Add by Y.Nakamura(SGS) [71784] (LabSolutions C/S) ->		-->
<!-- SystemInstPolicyとProjectInstPolicyテーブルに以下の項目を追加 -->
<!-- "データファイルの登録・保存時、PDFファイルを自動作成する" 1048 -->
<!-- "データファイルの登録・保存時、プリンタにもレポート出力する" 1049 -->
<!-- "予約領域1～6" 1050～1055 -->
<!-- // <Mod> 2010/07/30 Add by Y.Nakamura(SGS) [71784] (LabSolutions C/S) <-		-->

  <createTableSql>
create table AcquisitionServer (
	ID							TEXT		(32)			NOT NULL,
	HostName					TEXT		(255)			NOT NULL,
	IpAddress					TEXT		(255)			NOT NULL,
	SerialNo					TEXT		(32)			NOT NULL,
	Comments					TEXT		(255),
	RegisterHostName			YESNO						NOT NULL,
	IsForward					YESNO						NOT NULL,
	RegistrationDate			DATETIME					NOT NULL,
	IsDelete					YESNO						NOT NULL,
	DeleteDate					DATETIME,
		CONSTRAINT PK_AcquisitionServer 
			PRIMARY KEY (ID),
		CONSTRAINT IX_AcquisitionServer
			UNIQUE ( SerialNo ));

create table Instrument (
	ID							TEXT		(32)		NOT NULL,
	InstrumentNo				INTEGER		IDENTITY	NOT NULL,
	Name						TEXT		(31)		NOT NULL,
	Type						TEXT		(255)		NOT NULL,
	IsValid						YESNO					NOT NULL,
	Comments					TEXT		(255),
	RegistrationDate			DATETIME				NOT NULL,	
	IsDelete					YESNO					NOT NULL,
	DeleteDate					DATETIME,
		CONSTRAINT PK_Instrument 
			PRIMARY KEY (ID));

create table AcqSV_Inst_Relation (
	AcquisitionID				TEXT		(32),
	InstrumentID				TEXT		(32),
	CONSTRAINT FKAcquisitionServer_Instrument1
		FOREIGN KEY (AcquisitionID) REFERENCES AcquisitionServer (ID),
	CONSTRAINT FKAcquisitionServer_Instrument2
		FOREIGN KEY (InstrumentID) REFERENCES Instrument (ID));

create table ColumnInfo (
	ColumnNo					INTEGER 	IDENTITY	NOT NULL,
	DispOrder					INTEGER 	,
	InstrumentType				TEXT		(255)		NOT NULL,
	ColumnName					TEXT		(63)		NOT NULL,
	ColumnID					TEXT		(63)		NOT NULL,
	Length						float					NOT NULL,
	Diameter					float					NOT NULL,
	ColumnType					SMALLINT				NOT NULL,
	FilmThick					float					NOT NULL,
	MaxInjection				INTEGER					NOT NULL,
	ValidityPeriod				DATETIME	,
	MaxUseableTemp				float					NOT NULL,
	Installation				DATETIME	,
	OptionTitle1				TEXT		(20),
	Option1						TEXT		(26),
	OptionTitle2				TEXT		(20),
	Option2						TEXT		(26),
	OptionTitle3				TEXT		(20),
	Option3						TEXT		(26),
	Comments					TEXT		(255),
	IntReserve1					INTEGER		,
	IntReserve2					INTEGER		,
	IntReserve3					INTEGER		,
	DoubleReserve1				float		,
	DoubleReserve2				float		,
	DoubleReserve3				float		,
	DateTimeReserve1			DATETIME	,
	DateTimeReserve2			DATETIME	,
	DateTimeReserve3			DATETIME	,
	StringReserve1				TEXT		(255)		,
	StringReserve2				TEXT		(255)		,
	StringReserve3				TEXT		(255)		,
		CONSTRAINT PK_ColumnInfo 
			PRIMARY KEY (ColumnNo));

create table InstMngUpdate (
	InstMngUpdate				DATETIME);

create table tAgentGroupPermission (
	fGroup						INTEGER					NOT NULL,
	fName						TEXT		(64),
	fPermission					TEXT		(64),
		CONSTRAINT PK_tAgentGroupPermission
			PRIMARY KEY (fGroup));

create table tAgent_UserPermission (
	fUserKey					INTEGER					NOT NULL,
	fGroup						INTEGER		,
	fPermission					TEXT		(64),
		CONSTRAINT PK_tAgent_UserPermission
			PRIMARY KEY (fUserKey));

create table tUser (
	fUserKey					INTEGER		IDENTITY			NOT NULL,
	fName						TEXT		(31),
	fPwd						TEXT		(255),
	fChgPwdDate					DATETIME	,
	fFullUser					TEXT		(64),
	fCompany					TEXT		(128),
	fSection					TEXT		(128),
	fJobTitle					TEXT		(128),
	fPhone						TEXT		(32),
	fEmail						TEXT		(64),
	fRegDate					DATETIME,
	fLastUpDate					DATETIME,
	fIsAdmin					YESNO	,
	fIsDelete					YESNO	,
	fDelReason					TEXT		(255),
	fDescription				TEXT		,
	fPastPwd					TEXT		,
	fLssIsSystemManager			YESNO		DEFAULT no			NOT NULL,
	fLssComment					TEXT		(255),
	fLssCreator					TEXT		(64),
	fLssEnglishName				TEXT		(64),
	fLssDegiCompany				TEXT		(64),
	fLssDegiPost				TEXT		(64),
	fLssDegiCountryCode			SMALLINT	,
	fLssDegiCertificate			IMAGE		,
	fLssChangeUserIdCount		SMALLINT	,
		CONSTRAINT PK_tUser
			PRIMARY KEY ( fUserKey ),
		CONSTRAINT IX_tUser_1 
			UNIQUE  ( fName ),
		CONSTRAINT IX_tUser_2
			UNIQUE ( fFullUser ));


create table tPcTemp (
	fPCName						TEXT		(32),
	fLastLoginDate				DATETIME	,
	fDenyDate					DATETIME	,
	fDenyCount					SMALLINT	,
	fSendMail					YESNO); 	

create table tUserTemp (
	fUserKey					INTEGER		,
	fLastLoginDate				DATETIME	,
	fDenyDate					DATETIME	,
	fDenyCount					INTEGER	,
	fSendMail					YESNO,
		CONSTRAINT PK_tUserTemp 
			PRIMARY KEY ( fUserKey ));

create table tFingerConfig (
	fEnable						INTEGER,
	fRetry						INTEGER,
	fKey						INTEGER,
	fWithUserName				INTEGER);

create table tUserFinger (
	fUserKey					INTEGER							NOT NULL,
	fFinger1_1					IMAGE,
	fFinger1_2					IMAGE,
	fFinger2_1					IMAGE,
	fFinger2_2					IMAGE,
	fFace						IMAGE,
	ftReserve1					TEXT		(255),
	ftReserve2					TEXT		(255),
	flReserve1					INTEGER,
	flReserve2					INTEGER,
	fiReserve1					IMAGE,
	fiReserve2					IMAGE,
		CONSTRAINT PK_tUserFinger
			PRIMARY KEY(fUserKey));

create table UserGroup (
	UserGroupID					TEXT		(32)				NOT NULL,
	UserGroupName				TEXT		(64),
	Creator						TEXT		(64),
	RegDate						DATETIME	,
	LastUpDate					DATETIME	,
	Comments					TEXT		(255),
		CONSTRAINT PK_UserGroup
			PRIMARY KEY (UserGroupID));

create table RightsGroup (
	RightsGroupID				TEXT		(32)				NOT NULL,
	RightsGroupName				TEXT		(64),
	Creator						TEXT		(64),
	RegDate						DATETIME	,
	LastUpDate					DATETIME	,
	Comments					TEXT		(255),
		CONSTRAINT PK_RightsGroup
			PRIMARY KEY (RightsGroupID));

create table Rights (
	RightsNo					INTEGER							NOT NULL,
	RightsEngName				TEXT		(64),
	RightsOtherName				TEXT		(64),
		CONSTRAINT PK_Rights
			PRIMARY KEY (RightsNo));

create table User_RightsGroup_Relation (
	UserNo						INTEGER							NOT NULL,
	RightsGroupID				TEXT		(32)				NOT NULL,
	CONSTRAINT PK_User_RightsGroup_Relation
		PRIMARY KEY (UserNo, RightsGroupID),
	CONSTRAINT FK_User_RightsGroup_Relation1
		FOREIGN KEY (UserNo) REFERENCES tUser (fUserKey),
	CONSTRAINT FK_User_RightsGroup_Relation2
		FOREIGN KEY (RightsGroupID) REFERENCES RightsGroup (RightsGroupID));

create table UserGroup_User_Relation (
	UserGroupID					TEXT		(32)				NOT NULL,
	UserNo						INTEGER							NOT NULL,
	CONSTRAINT PK_UserGroup_User_Relation
		PRIMARY KEY (UserGroupID, UserNo),
	CONSTRAINT FK_UserGroup_User_Relation1
		FOREIGN KEY (UserGroupID) REFERENCES UserGroup (UserGroupID),
	CONSTRAINT FK_UserGroup_User_Relation2
		FOREIGN KEY (UserNo) REFERENCES tUser (fUserKey));

create table RightsGroup_Rights_Relation (
	RightsGroupID				TEXT		(32)				NOT NULL,
	RightsNo					INTEGER							NOT NULL,
	CONSTRAINT PK_RightsGroup_Rights_Relation
		PRIMARY KEY (RightsGroupID, RightsNo),
	CONSTRAINT FKRightsGroup_Rights_Relation1
		FOREIGN KEY (RightsGroupID) REFERENCES RightsGroup (RightsGroupID),
	CONSTRAINT FKRightsGroup_Rights_Relation2
		FOREIGN KEY (RightsNo) REFERENCES Rights (RightsNo));

create table LoginUser (
	PCName						TEXT		(255)				NOT NULL,
	UserNo						INTEGER							NOT NULL,
	UserName					TEXT		(64),
	LogoutFlg					YESNO	,
	LogoutDate					DATETIME	,
		CONSTRAINT PK_LoginUser
			PRIMARY KEY (PCName, UserNo));

create table ProjectInfo (
	ProjectID					TEXT		(32)					NOT NULL,
	ProjectNo					INTEGER		IDENTITY (0, 1),
	ProjectName					TEXT		(64)					NOT NULL,
	Comments					TEXT		(255),
	IsAllUser					YESNO		,
	IsAllInstrument				YESNO		,
	ShowOnlyUserGroup			YESNO		,
	HasDeleted					YESNO		DEFAULT yes				NOT NULL,
	CreatorNo					INTEGER								NOT NULL,
	Creator 					TEXT		(64),
	CreateDateTime				DATETIME	,
	UpdateDateTime				DATETIME	,
	IsErEs						YESNO								NOT NULL,
	DBType						SMALLINT							NOT NULL,
	OraInstanceName 			TEXT		(255),
	DBServerName 				TEXT		(255),
	MsdeFolder 					TEXT		(255),
	IsDeleting					YESNO		,
		CONSTRAINT PK_ProjectInfo
			PRIMARY KEY (ProjectID));
	
create table User_Project_Relation (
	UserNo						INTEGER		,
	ProjectID					TEXT		(32),
		CONSTRAINT PK_User_Project_Relation
			PRIMARY KEY (UserNo, ProjectID),
		CONSTRAINT FK_User_Project_Relation
			FOREIGN KEY (ProjectID) REFERENCES ProjectInfo (ProjectID));

create table Project_Instrument_Relation (
	ProjectID					TEXT		(32),
	InstrumentNo				INTEGER		,
	IsDeleting					YESNO		,
		CONSTRAINT PK_Project_Instrument_Relation
			PRIMARY KEY (ProjectID, InstrumentNo),
		CONSTRAINT FK_Project_Instrument_Relation
			FOREIGN KEY (ProjectID) REFERENCES ProjectInfo (ProjectID));

create table Usr_Prj_RghtGrp_Relation (
	ProjectID					TEXT		(32),
	UserNo						INTEGER		,
	RightsGroupID				TEXT		(32),
		CONSTRAINT PK_Usr_Prj_RghtGrp_Relation
			PRIMARY KEY (ProjectID, UserNo, RightsGroupID),
		CONSTRAINT FK_Usr_Prj_RghtGrp_Relation
			FOREIGN KEY (ProjectID) REFERENCES ProjectInfo (ProjectID));

create table Project_UserGroup_Relation (
	ProjectID					TEXT		(32)		NOT NULL,
	UserGroupID 				TEXT		(32)		NOT NULL,
		CONSTRAINT PK_Project_UserGroup_Relation
			PRIMARY KEY (ProjectID, UserGroupID),
		CONSTRAINT FK_Project_UserGroup_Relation
			FOREIGN KEY (ProjectID) REFERENCES ProjectInfo (ProjectID));

create table SystemSetUpInfo (
	ErEsMode					SMALLINT,
	MsdeFolder					TEXT		(255));

create table SystemSendMail (
	EventNo						SMALLINT	NOT NULL,
	DoSendMailFlg				YESNO		NOT NULL,
	FromMailAddress 			TEXT		(255),
	FromUserName				TEXT		(255),
	SendTo						TEXT		(255),
	Subject 					TEXT		(255),
	Status						TEXT		(255),
		CONSTRAINT PK_SystemSendMail
			PRIMARY KEY (EventNo));

create table UserSendMail (
	UserNo						INTEGER		NOT NULL,
	EventNo 					SMALLINT	NOT NULL,
	DoSendMailFlag				YESNO		NOT NULL,
	FromMailAddress 			TEXT		(255),
	FromUserName				TEXT		(255),
	SendTo						TEXT		(255),
	Subject 					TEXT		(255),
	Status						TEXT		(255),
		CONSTRAINT PK_UserSendMail
			PRIMARY KEY (UserNo, EventNo),
		CONSTRAINT FK_UserSendMail
			FOREIGN KEY (UserNo) REFERENCES tUser (fUserKey));

create table SendMessage (
	EventNo				 		SMALLINT	NOT NULL,
	DoSendMessageFlg			YESNO		NOT NULL,
		CONSTRAINT PK_SendMessage
			PRIMARY KEY (EventNo));

create table SendMessageTo (
	EventNo 					SMALLINT	NOT NULL,
	ToNo						SMALLINT	NOT NULL,
	SendTo						TEXT		(60),
		CONSTRAINT PK_SendMessageTo
			PRIMARY KEY (EventNo, ToNo),
		CONSTRAINT FK_SendMessageTo
			FOREIGN KEY (EventNo) REFERENCES SendMessage (EventNo));

create table SystemMailServer (
	ServerName					TEXT		(255),
	DomainAddress				TEXT		(255),
	PortNo						INTEGER);

create table UserMailServer (
	UserNo						INTEGER		NOT NULL,
	ServerName					TEXT		(255),
	DomainAddress				TEXT		(255),
	PortNo						INTEGER		,
		CONSTRAINT PK_UserMailServer
			PRIMARY KEY (UserNo),
		CONSTRAINT FK_UserMailServer
			FOREIGN KEY (UserNo) REFERENCES tUser (fUserKey));

create table DataFileKeyWord (
	KeyWordNo					SMALLINT	NOT NULL,
	KeyWordName					TEXT,
		CONSTRAINT PK_DataFileKeyWord
			PRIMARY KEY (KeyWordNo));

create table NotDataFileKeyWord (
	KeyWordNo					SMALLINT	NOT NULL,
	KeyWordName					TEXT,
		CONSTRAINT PK_NotDataFileKeyWord
			PRIMARY KEY (KeyWordNo));

create table NominationValue (
	KeyWordNo					SMALLINT	NOT NULL,
	NominationNo				SMALLINT	NOT NULL,
	NominationName				TEXT,
		CONSTRAINT PK_NominationValue
			PRIMARY KEY (KeyWordNo, NominationNo),
		CONSTRAINT FK_NominationValue
			FOREIGN KEY (KeyWordNo) REFERENCES NotDataFileKeyWord (KeyWordNo));

create table SystemPrinter (
	PrinterName					TEXT		,
	PrinterPlace				TEXT		,
	PrintInfo					IMAGE		,
	CanUsersChangePrinter		YESNO		NOT NULL);

create table ProjectPrinter (
	ProjectId					TEXT		(32)	NOT NULL,
	PrinterName					TEXT		,
	PrinterPlace				TEXT		,
	PrintInfo					IMAGE		,
	CanUsersChangePrinter		YESNO				NOT NULL,
	IsConformSystem				YESNO				NOT NULL,
		CONSTRAINT PK_ProjectPrinter
			PRIMARY KEY (ProjectId),
		CONSTRAINT FK_ProjectPrinter
			FOREIGN KEY (ProjectId) REFERENCES ProjectInfo (ProjectId));

create table SystemDataProc (
	DilutionMode				YESNO				NOT NULL,
	AreaAndHeightFormatMode		YESNO		,
	TotalValueMode				YESNO				NOT NULL,
	DefaultXAxisCalibCurve		SMALLINT			NOT NULL);

create table SystemNumValueFormat (
	NumericNo					SMALLINT			NOT NULL,
	NumericName					TEXT	(127)		NOT NULL,
	ShowType					SMALLINT			NOT NULL,
	DecimalDigitCount			SMALLINT	,
	DigitCount					SMALLINT	,
	RoundMode					SMALLINT			NOT NULL,
	SoftwareType					SMALLINT,
		CONSTRAINT PK_SystemNumValueFormat
			PRIMARY KEY (NumericNo));

create table ProjectDataProc (
	ProjectId					TEXT		(32)	NOT NULL,
	DilutionMode				YESNO				NOT NULL,
	AreaAndHeightFormatMode		YESNO				NOT NULL,
	TotalValueMode				YESNO				NOT NULL,
	IsConformSystem				YESNO				NOT NULL,
	DefaultXAxisCalibCurve		SMALLINT			NOT NULL,
		CONSTRAINT PK_ProjectDataProc
			PRIMARY KEY (ProjectId),
		CONSTRAINT FK_ProjectDataProc
			FOREIGN KEY (ProjectId) REFERENCES ProjectInfo (ProjectId));

create table ProjectNumValueFormat (
	ProjectId					TEXT		(32)	NOT NULL,
	NumericNo					SMALLINT			NOT NULL,
	NumericName					TEXT		(127)	NOT NULL,
	ShowType					SMALLINT			NOT NULL,
	DecimalDigitCount			SMALLINT	,
	DigitCount					SMALLINT	,
	RoundMode					SMALLINT			NOT NULL,
	SoftwareType					SMALLINT,
		CONSTRAINT PK_ProjectNumValueFormat
			PRIMARY KEY (ProjectId, NumericNo),
		CONSTRAINT FK_ProjectNumValueFormat
			FOREIGN KEY (ProjectId) REFERENCES ProjectInfo (ProjectId));

create table DefaultNumValueFormat (
	NumericNo					SMALLINT			NOT NULL,
	NumericName					TEXT	(127)		NOT NULL,
	ShowType					SMALLINT			NOT NULL,
	DecimalDigitCount			SMALLINT	,
	DigitCount					SMALLINT	,
	RoundMode					SMALLINT			NOT NULL,
	SoftwareType					SMALLINT,
		CONSTRAINT PK_DefaultumValueFormat
			PRIMARY KEY (NumericNo));

create table SystemPolicy (
	ManageVersionForDataFile			YESNO			NOT NULL,
	ManageVersionForMetaDataFile		YESNO			NOT NULL,
	CheckMasterOfMethodFile				YESNO			NOT NULL,
	CheckMasterOfBatchFile				YESNO			NOT NULL,
	CheckMasterOfReportFile				YESNO			NOT NULL,
	SyncMasterOfMetaFile				YESNO			NOT NULL,
	ConfirmOverwriteByMaster				YESNO			NOT NULL,
	ManageVersionForOtherFile			YESNO			NOT NULL,
	InhibitRollback						YESNO			NOT NULL,
	ConfineDataFileOperation			YESNO			NOT NULL,
	InhibitChangeDataInfo				YESNO			NOT NULL,
	InhibitProjectPolicy				YESNO			NOT NULL,
	InhibitProjectAuthority				YESNO			NOT NULL,
	InputReasonOfChangingPolicy			YESNO			NOT NULL,
	InputReasonOfChangingUserInfo		YESNO			NOT NULL,
	UnuseLocalCache						YESNO			NOT NULL,
	ClearLocalCache						YESNO			NOT NULL,
	InhibitSendMail						YESNO			NOT NULL,
	InhibitSendMessage					YESNO			NOT NULL,
	AutoWindowLockWaitTime				SMALLINT		NOT NULL,
	RequestReinputOfPassword			YESNO			NOT NULL,
	RequestReinputOfUserId				YESNO			NOT NULL,
	RequestAttestEveryOneData			YESNO			NOT NULL,
	InhibitWithdrawalOfSignature		YESNO			NOT NULL,
	CanAcceptOnlyAnalystInLevel1		YESNO			NOT NULL,
	CompelCommentInputAtSignature		YESNO			NOT NULL,
	SignDataFile						YESNO			NOT NULL,
	SignPdaFile							YESNO			NOT NULL,
	SignPage							SMALLINT		NOT NULL,
	SignaturePositionLeft				INTEGER			NOT NULL,
	SignaturePositionAbove				INTEGER			NOT NULL,
	WidthOfSignature					INTEGER			NOT NULL,
	HeightOfSignature					INTEGER			NOT NULL,
	AddDirection						SMALLINT		NOT NULL,
	SignatureTextOfName					YESNO			NOT NULL,
	SignatureTextOfDate					YESNO			NOT NULL,
	SignatureTextOfReason				YESNO			NOT NULL,
	SignatureTextOfPlace				YESNO			NOT NULL,
	SignatureTextOfLabel				YESNO			NOT NULL,
	SignatureTextOfIdentName			YESNO			NOT NULL,
	SignatureTextOfCompleteText			YESNO			NOT NULL,
	UpdateTime							DATETIME		NOT NULL);

create table SystemInstPolicy (
	PolicyNo							INTEGER			NOT NULL,
	IsValid								YESNO			NOT NULL,
		CONSTRAINT PK_SystemInstPolicy
			PRIMARY KEY (PolicyNo));

create table SignatureSetting (
	SignatureNo							INTEGER					NOT NULL,
	Reason								TEXT	(32)			NOT NULL,
	SettingStatus						TEXT	(32)			NOT NULL,
	AdditionalDemandStatus				TEXT	(32),
	IsLock								YESNO					NOT NULL,
	BackColorCode						INTEGER					NOT NULL,
		CONSTRAINT PK_SignatureSetting
			PRIMARY KEY (SignatureNo));

create table ProjectPolicy (
	ProjectId							TEXT			(32)	NOT NULL,
	ManageVersionForDataFile			YESNO					NOT NULL,
	ManageVersionForMetaDataFile		YESNO					NOT NULL,
	CheckMasterOfMethodFile				YESNO					NOT NULL,
	CheckMasterOfBatchFile				YESNO					NOT NULL,
	CheckMasterOfReportFile				YESNO					NOT NULL,
	SyncMasterOfMetaFile				YESNO					NOT NULL,
	ConfirmOverwriteByMaster				YESNO					NOT NULL,
	ManageVersionForOtherFile			YESNO					NOT NULL,
	InhibitRollback						YESNO					NOT NULL,
	ConfineDataFileOperation			YESNO					NOT NULL,
	InhibitChangeDataInfo				YESNO					NOT NULL,
	UpdateTime							DATETIME				NOT NULL,
		CONSTRAINT PK_ProjectPolicy
			PRIMARY KEY (ProjectId),
		CONSTRAINT FK_ProjectPolicy
			FOREIGN KEY (ProjectId) REFERENCES ProjectInfo (ProjectId));

create table ProjectInstPolicy (
	ProjectId							TEXT			(32)	NOT NULL,
	PolicyNo							INTEGER					NOT NULL,
	IsValid								YESNO					NOT NULL,
		CONSTRAINT PK_ProjectInstPolicy
			PRIMARY KEY (ProjectId, PolicyNo),
		CONSTRAINT FK_ProjectInstPolicy
			FOREIGN KEY (ProjectId) REFERENCES ProjectPolicy (ProjectId));

create table UpdateTimer (
	UpdateTimer							SMALLINT);
					
create table tUserConfig (
	fPwdLength							SMALLINT		,
	fPwdPeriod							SMALLINT		,
	fPwdLockPeriod						SMALLINT		,
	fPwdRecord							SMALLINT		,
	fIsChgFullName						YESNO						NOT NULL,
	fIsSameFullName						YESNO						NOT NULL,
	fIsSamePwd							YESNO						NOT NULL,
	fDenyUserMax						SMALLINT		,
	fDenyUserTime						SMALLINT		,
	fDenyPCMax							SMALLINT		,
	fDenyPCTime							SMALLINT		,
	fUpdateCount						INTEGER			,
	fDBId								TEXT			(128),
	fToken								TEXT			(128),
	fDBVersion							SMALLINT		,
	fDescription						TEXT			(255),
	fbReserve1							YESNO			,
	fbReserve2							YESNO			,
	flReserve1							INTEGER			,
	flReserve2							INTEGER			,
	fdReserve1							DATETIME		,
	fdReserve2							DATETIME		,
	ftReserve1							TEXT			(255),
	ftReserve2							TEXT			(255),
	fLssDenyUserReset					SMALLINT		,
	fLssDenyPCReset						SMALLINT		,
	fLssNotSimpleLogin					YESNO			DEFAULT no,
	fLssMultiUser						YESNO			DEFAULT no,
	fLssWindowsAccountLogin				YESNO			DEFAULT no,
	fLssNotLocalLogin					YESNO			DEFAULT no,
	fLssWinDomainCooperation			YESNO			DEFAULT no,
	fLssWinDomain						TEXT			(255),
	fLssDegiCertificate					IMAGE			,
	fLssIsNotDelUser					YESNO			DEFAULT no);

create table tAlertMessage (
	fKind								SMALLINT			,
	fMessage							TEXT			(255));

create table tSendErrorAlert (
	fPC									TEXT			(128));

create table tEmailMessage (
	fKind								SMALLINT		NOT NULL,
	fMessage							TEXT			(255));

create table tSendErrorEmail (
	fPC									TEXT			(255));

create table tEmailDetail (
	fSMTP								TEXT			(255),
	fPort								INTEGER			,
	fSubjects							TEXT			(255),
	fFrom								TEXT			(255));

create table SoftwareDef (	
	SoftwareType						SMALLINT		NOT NULL,
	SoftwareName						TEXT			(255),
	InstrumentType						TEXT			(128),
	DataNamePos							SMALLINT		,
	DataFilePos							SMALLINT		,
	DataFileExtension					TEXT			(8),
	PDFFilePos							SMALLINT		,
		CONSTRAINT PK_SoftwareDef
			PRIMARY KEY (SoftwareType));

create table ResultTableDef (
	ResultTableType						SMALLINT		NOT NULL,
	ResultTableName						TEXT			(64),
		CONSTRAINT PK_ResultTableDef
			PRIMARY KEY (ResultTableType));

create table FileTypeDef (
	FileType					SMALLINT	NOT NULL,
	FileTypeName				TEXT (64),
	IsCompress					YESNO,
	IsCache						YESNO,
		CONSTRAINT FileTypeDefId
			PRIMARY KEY (FileType));


create table ExtensionDef (
	FileType					SMALLINT	NOT NULL,
	SoftwareType				SMALLINT	NOT NULL,
	ExtensionName				TEXT (8));

CREATE TABLE tEventLog (
	fKey				INTEGER		IDENTITY	NOT NULL,
	fDate				DATETIME				NOT NULL,
	fPCName				TEXT		(32)		NOT NULL,
	fName				TEXT		(31)		NOT NULL,
	fFullName			TEXT		(64),
	fOperation			TEXT		(64),
	fResult				TEXT		(32),
	fInformation		TEXT		(255),
	fSoftware			TEXT		(32),
	fDescription		TEXT		(255),
	LogId				TEXT		(32),
	LogType				INTEGER,
	LogClassification	INTEGER,
	ApplicationName		TEXT		(32),
	UserNo				INTEGER,
	ProjectId			TEXT		(32),
	ProjectName			TEXT		(64),
	InstNo				INTEGER,
	InstName			TEXT		(64),
	EventCode			INTEGER,
	FileId				TEXT		(32),
	UnregisteredFlag	YESNO,
	SoftwareType		INTEGER,
		CONSTRAINT LOGID 
			PRIMARY KEY (fKey));

CREATE TABLE AUDITTRAILLOG (
	AuditTrailLogNo		INTEGER					NOT NULL,
	LogId				TEXT		(32)		NOT NULL,
	UpdateColumn		TEXT		(255)		NOT NULL,
	UpdateData			TEXT		(255)		NOT NULL,
	UpdateReason		TEXT		(255),
	Version				INTEGER					NOT NULL,
		CONSTRAINT PK_AUDITTRAILLOG
			PRIMARY KEY (AuditTrailLogNo, LogId));

CREATE TABLE LssPrinter (
	Place		TEXT		(255)		NOT NULL,
	Name		TEXT		(255)		NOT NULL,
	DriverName	TEXT		(255)		NOT NULL,
	Comments	TEXT		(255),
		CONSTRAINT PK_LssPrinter
			PRIMARY KEY (Place, Name));

CREATE TABLE LssPrinterUpdateDate (
	ID				INTEGER				NOT NULL,
	UpdateDate		DATETIME,
		CONSTRAINT PK_LssPrinterUpdateDate
			PRIMARY KEY (ID));

CREATE TABLE RightsControl (
	RightsNo 	INTEGER				NOT NULL,
	SoftwareType 	INTEGER				NOT NULL)

	</createTableSql>
     <createIndexSql>
  </createIndexSql>
  <alterTable>
  </alterTable>
  <initializeSql>
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1000, 'System Administration', 'System Administration');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1001, 'Change System Settings', 'Change System Settings');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1003, 'Change Instrument  Settings', 'Change Instrument  Settings');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1004, 'Perform Validation Support', 'Perform Validation Support');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1005, 'Register Manual Log', 'Register Manual Log');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1100, 'Change User Mail Settings', 'Change User Mail Settings');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1102, 'Manage Customizing Information', 'Manage Customizing Information');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1103, 'Perform Forced Logout', 'Perform Forced Logout');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1400, 'Edit Method (Instrument Parameters)', 'Edit Method (Instrument Parameters)');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1401, 'Edit Method (Pump Flow)', 'Edit Method (Pump Flow)');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1402, 'Edit Method (Acquisition Display Settings)', 'Edit Method (Acquisition Display Settings)');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1403, 'Edit Method (Data Processing Parameters)', 'Edit Method (Data Processing Parameters)');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1404, 'Edit Method (Ret. Time/Conc. of Compound Table)', 'Edit Method (Ret. Time/Conc. of Compound Table)');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1405, 'Edit Method (QA/QC, SST  Parameters)', 'Edit Method (QA/QC, SST  Parameters)');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1406, 'Edit Report Format', 'Edit Report Format');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1407, 'Edit Report Format Macro', 'Edit Report Format Macro');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1408, 'Edit Batch Table', 'Edit Batch Table');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1409, 'Edit UV Library', 'Edit UV Library');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1410, 'Edit MS Library', 'Edit MS Library');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1420, 'Create Template', 'Create Template');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1500, 'Run Batch Data Acquisition', 'Run Batch Data Acquisition');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1501, 'Run Single Data Acquisition', 'Run Single Data Acquisition');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1502, 'Run Priority Data Acquisition', 'Run Priority Data Acquisition');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1503, 'Edit Batch Queue', 'Edit Batch Queue');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1504, 'Change Monitor Parameters', 'Change Monitor Parameters');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1506, 'Take Over Data Acquisition', 'Take Over Data Acquisition');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1600, 'Perform Postrun Analysis', 'Perform Postrun Analysis');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1700, 'Edit System Configuration', 'Edit System Configuration');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1701, 'Edit Column Information', 'Edit Column Information');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1702, 'Modify Instruments Maintenance Setting', 'Modify Instruments Maintenance Setting');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1703, 'Clear Buffering data', 'Clear Buffering data');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1704, 'Modify System Check Settings', 'Modify System Check Settings');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1705, 'Run System Check', 'Run System Check');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1706, 'Run Auto-Tuning', 'Run Auto-Tuning');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1707, 'Run Manual Tuning', 'Run Manual Tuning');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1708, 'Modify Auto-Tuning Settings', 'Modify Auto-Tuning Settings');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(1709, 'On/Off Vacuum System', 'On/Off Vacuum System');

    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2000, 'IR: Initialize Instrument', 'IR: Initialize Instrument');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2001, 'IR: Edit Report template', 'IR: Edit Report template');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2002, 'IR: Edit Report template configuration', 'IR: Edit Report template configuration');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2003, 'IR: Edit VB macro program', 'IR: Edit VB macro program');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2004, 'IR: Run VB macro program', 'IR: Run VB macro program');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2005, 'IR: Run Data manipulation/Postrun Analysis', 'IR: Run Data manipulation/Postrun Analysis');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2006, 'IR: Run Peak detection/Point pick', 'IR: Run Peak detection/Point pick');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2007, 'IR: Run Atmosphere correction', 'IR: Run Atmosphere correction');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2008, 'IR: Run ATR correction', 'IR: Run ATR correction');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2009, 'IR: Run Kubelka Munk conversion', 'IR: Run Kubelka Munk conversion');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2010, 'IR: Create Chemometrics calibration', 'IR: Create Chemometrics calibration');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2011, 'IR: Run Chemometrics quantitation', 'IR: Run Chemometrics quantitation');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2012, 'IR: Edit Search parameters', 'IR: Edit Search parameters');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2013, 'IR: Edit Libraries', 'IR: Edit Libraries');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2014, 'IR: Edit Instrument configuration', 'IR: Edit Instrument configuration');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2015, 'IR Spectrum: Edit Scan parameters', 'IR Spectrum: Edit Scan parameters');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2016, 'IR Spectrum: Run Threshold scan', 'IR Spectrum: Run Threshold scan');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2017, 'IR Spectrum: Run Sample scan', 'IR Spectrum: Run Sample scan');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2018, 'IR Time course: Edit Time course parameters', 'IR Time course: Edit Time course parameters');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2019, 'IR Time course: Edit Equation', 'IR Time course: Edit Equation');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2020, 'IR Time course: Run Time course measurement', 'IR Time course: Run Time course measurement');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2021, 'IR Mapping: Edit Mapping parameters', 'IR Mapping: Edit Mapping parameters');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2022, 'IR Mapping: Edit Z-axis equation', 'IR Mapping: Edit Z-axis equation');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2023, 'IR Mapping: Run Mapping measurement', 'IR Mapping: Run Mapping measurement');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2024, 'IR Quant./Photometric: Edit measurement parameters', 'IR Quant./Photometric: Edit measurement parameters');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2025, 'IR Quant./Photometric: Edit Calibration/Preparation parameters', 'IR Quant./Photometric: Edit Calibration/Preparation parameters');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2026, 'IR Quant.: Edit Standard table', 'IR Quant.: Edit Standard table');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2027, 'IR Quant./Photometric: Edit Sample table', 'IR Quant./Photometric: Edit Sample table');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2028, 'IR Quant./Photometric: Edit Equation', 'IR Quant./Photometric: Edit Equation');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2029, 'IR Quant./Photometric: Run Sample measurement', 'IR Quant./Photometric: Run Sample measurement');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2030, 'IR Quant./Photometric: Import spectrum to Sample table', 'IR Quant./Photometric: Import spectrum to Sample table');
    insert into Rights (RightsNo,RightsEngName,RightsOtherName) values	(2031, 'IR Quant./Photometric: Save Quantitation data file as new file', 'IR Quant./Photometric: Save Quantitation data file as new file');

	insert into RightsGroup (RightsGroupID,RightsGroupName,Creator,RegDate,LastUpDate,Comments) values
	('731E18525624400B8FC9C7395EF885ED','Test Manager','System Administrator',%UTC_DATE%,%UTC_DATE%,null);

	insert into RightsGroup (RightsGroupID,RightsGroupName,Creator,RegDate,LastUpDate,Comments) values
	('1BC18059BE7C41B69754D181FC170E52','Operator','System Administrator',%UTC_DATE%,%UTC_DATE%,null);

	insert into RightsGroup (RightsGroupID,RightsGroupName,Creator,RegDate,LastUpDate,Comments) values
	('4D84F1ECF9914132BF541611855C564C','Test Manager(IR)','System Administrator',%UTC_DATE%,%UTC_DATE%,null);

	insert into RightsGroup (RightsGroupID,RightsGroupName,Creator,RegDate,LastUpDate,Comments) values
	('10AF4D34D95E488E817986642DD6A576','Operator(IR)','System Administrator',%UTC_DATE%,%UTC_DATE%,null);

    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1003);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1004);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1102);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1103);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1400);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1401);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1402);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1403);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1404);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1405);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1406);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1407);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1408);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1409);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1410);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1420);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1500);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1501);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1502);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1503);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1504);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1506);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1600);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1700);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1701);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1702);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1703);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1704);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1705);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1706);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1707);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1708);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('731E18525624400B8FC9C7395EF885ED',1709);

    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1401);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1402);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1404);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1406);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1408);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1500);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1501);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1502);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1506);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1600);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1705);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('1BC18059BE7C41B69754D181FC170E52',1709);

    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',1003);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',1004);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',1102);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',1103);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2000);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2001);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2002);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2003);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2004);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2005);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2006);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2007);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2008);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2009);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2010);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2011);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2012);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2013);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2014);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2015);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2016);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2017);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2018);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2019);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2020);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2021);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2022);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2023);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2024);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2025);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2026);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2027);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2028);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2029);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2030);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('4D84F1ECF9914132BF541611855C564C',2031);


    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2000);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2004);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2005);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2006);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2007);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2008);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2009);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2010);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2011);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2017);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2020);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2023);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2027);
    insert into RightsGroup_Rights_Relation (RightsGroupID,RightsNo) values ('10AF4D34D95E488E817986642DD6A576',2029);

    insert into tUser (fUserKey,fName,fPwd,fChgPwdDate,fFullUser,fCompany,fSection,fJobTitle,fPhone,fEmail,fRegDate,fLastUpDate,
    fIsAdmin,fIsDelete,fDelReason,fDescription,fPastPwd,fLssIsSystemManager,fLssComment,fLssCreator,fLssEnglishName,fLssDegiCompany,
    fLssDegiPost,fLssDegiCountryCode,fLssDegiCertificate,fLssChangeUserIdCount) values
    (1,'Admin','7948965760',%UTC_DATE%,'System Administrator',null,null,null,null,null,%UTC_DATE%,%UTC_DATE%,TRUE,FALSE,null,null,'7948965760',TRUE,null,null,null,null,null,null,null,1);

    insert into InstMngUpdate (InstMngUpdate) values (%UTC_DATE%);

    insert into SystemSendMail (EventNo,DoSendMailFlg,FromMailAddress,FromUserName,SendTo,Subject,Status) values
    (1,0,"","","","LabSolutions message (error occurred)","");
    insert into SystemSendMail (EventNo,DoSendMailFlg,FromMailAddress,FromUserName,SendTo,Subject,Status) values
    (2,0,"","","","LabSolutions message (warning occurred)","");
    insert into SystemSendMail (EventNo,DoSendMailFlg,FromMailAddress,FromUserName,SendTo,Subject,Status) values
    (3,0,"","","$Signer$","LabSolutions message (data is not accepted)","");

    insert into SendMessage (EventNo,DoSendMessageFlg) values (1,0);
    insert into SendMessage (EventNo,DoSendMessageFlg) values (2,0);
    insert into SendMessage (EventNo,DoSendMessageFlg) values (3,0);

    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,1,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,2,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,3,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,4,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,5,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,6,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,7,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,8,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,9,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (1,10,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,1,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,2,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,3,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,4,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,5,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,6,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,7,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,8,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,9,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (2,10,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,1,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,2,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,3,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,4,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,5,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,6,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,7,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,8,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,9,"");
    insert into SendMessageTo (EventNo,ToNo,SendTo) values (3,10,"");

    insert into SystemMailServer (ServerName,DomainAddress,PortNo) values ("","",25);

	insert into projectinfo (ProjectID,ProjectName,IsAllUser,IsAllInstrument,ShowOnlyUserGroup,HasDeleted,CreatorNo,Creator,CreateDateTime,UpdateDateTime,IsErEs,DBType,IsDeleting) values ('659C394355F35B479B2930416DB82378','Default Project',
	TRUE,TRUE,TRUE,FALSE,-1,'System Administrator',%UTC_DATE%,%UTC_DATE%,FALSE,0,FALSE);
	insert into SystemSetUpInfo (ErEsMode) values (0);
	insert into SystemPolicy ( ManageVersionForDataFile, ManageVersionForMetaDataFile, CheckMasterOfMethodFile,
		CheckMasterOfBatchFile, CheckMasterOfReportFile, SyncMasterOfMetaFile, ConfirmOverwriteByMaster, ManageVersionForOtherFile, InhibitRollback,
		ConfineDataFileOperation, InhibitChangeDataInfo, InhibitProjectPolicy, InhibitProjectAuthority,
		InputReasonOfChangingPolicy, InputReasonOfChangingUserInfo, UnuseLocalCache, ClearLocalCache,
		InhibitSendMail, InhibitSendMessage, AutoWindowLockWaitTime, RequestReinputOfPassword, RequestReinputOfUserId,
		RequestAttestEveryOneData, InhibitWithdrawalOfSignature, CanAcceptOnlyAnalystInLevel1,
		CompelCommentInputAtSignature, SignDataFile, SignPdaFile, SignPage, SignaturePositionLeft,
		SignaturePositionAbove, WidthOfSignature, HeightOfSignature, AddDirection, SignatureTextOfName,
		SignatureTextOfDate, SignatureTextOfReason, SignatureTextOfPlace, SignatureTextOfLabel,
		SignatureTextOfIdentName, SignatureTextOfCompleteText, UpdateTime)
		 values (0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,20,5,200,5,2,0,1,1,0,0,0,0,%UTC_DATE%);

	insert into SystemInstPolicy (PolicyNo, IsValid) values (1026, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1027, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1028, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1029, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1030, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1031, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1032, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1033, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1034, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1035, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1036, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1037, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1038, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1039, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1040, 1);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1042, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1043, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1044, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1045, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1046, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1047, 0);

	insert into SystemInstPolicy (PolicyNo, IsValid) values (1048, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1049, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1050, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1051, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1052, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1053, 0);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1054, 1);
	insert into SystemInstPolicy (PolicyNo, IsValid) values (1055, 1);

	insert into ProjectPolicy ( ProjectId, ManageVersionForDataFile, ManageVersionForMetaDataFile, CheckMasterOfMethodFile,
		CheckMasterOfBatchFile, CheckMasterOfReportFile, SyncMasterOfMetaFile, ConfirmOverwriteByMaster, ManageVersionForOtherFile, InhibitRollback, ConfineDataFileOperation,
		InhibitChangeDataInfo, UpdateTime)
		 values ('659C394355F35B479B2930416DB82378',0,0,0,0,0,0,0,0,0,0,1,%UTC_DATE%);

	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1026, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1027, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1028, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1029, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1030, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1032, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1033, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1034, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1035, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1036, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1037, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1038, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1039, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1043, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1044, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1045, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1046, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1047, 0);

	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1048, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1049, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1050, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1051, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1052, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1053, 0);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1054, 1);
	insert into ProjectInstPolicy (ProjectId, PolicyNo, IsValid) values ('659C394355F35B479B2930416DB82378', 1055, 1);

    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (1,'Confirm','Confirmed',0,-128);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (2,'Withdraw','Withdraw',0,-8323073);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (3,'Review','Reviewed',0,-16711808);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (4,'Invalid','Invalid',0,-13057);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (5,'Approve','Approved',0,-16724737);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (6,'Reject','Reject',0,-6710887);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (7,'','',0,-15260);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (8,'','',0,-36049);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (9,'','',0,-49506);
    insert into SignatureSetting (SignatureNo,Reason,SettingStatus,IsLock,BackColorCode) values (10,'','',0,-3800954);
    insert into UpdateTimer (UpdateTimer) values (240);
    insert into tUserConfig (fPwdLength,fPwdPeriod,fPwdLockPeriod,fPwdRecord,fIsChgFullName,fIsSameFullName,fIsSamePwd,fDenyUserMax,fDenyUserTime,fDenyPCMax,fDenyPCTime,fUpdateCount,fbReserve1,ftReserve1,fLssDenyUserReset,fLssDenyPCReset,fLssNotSimpleLogin,fLssMultiUser,fLssWindowsAccountLogin,fLssNotLocalLogin,fLssWinDomainCooperation,fLssIsNotDelUser) values (0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
    insert into tAlertMessage (fKind,fMessage) values (1,'PC was locked.');
    insert into tAlertMessage (fKind,fMessage) values (2,'User was locked.');
    insert into tEmailMessage (fKind,fMessage) values (1,'PC was locked.');
    insert into tEmailMessage (fKind,fMessage) values (2,'User was locked.');
    insert into tEmailDetail (fSMTP,fPort,fSubjects,fFrom) values (null, 25, null, null);
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (1,'Sample Information01');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (2,'Sample Information02');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (3,'Sample Information03');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (4,'Sample Information04');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (5,'Sample Information05');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (6,'Sample Information06');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (7,'Sample Information07');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (8,'Sample Information08');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (9,'Sample Information09');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (10,'Sample Information10');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (11,'Sample Information11');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (12,'Sample Information12');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (13,'Sample Information13');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (14,'Sample Information14');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (15,'Sample Information15');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (16,'Sample Information16');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (17,'Sample Information17');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (18,'Sample Information18');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (19,'Sample Information19');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (20,'Sample Information20');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (1001,'Numeric Data 1');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (1002,'Numeric Data 2');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (1003,'Numeric Data 3');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (1004,'Numeric Data 4');
    insert into DataFileKeyWord (KeyWordNo,KeyWordName) values (1005,'Numeric Data 5');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (1,'Keyword 1');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (2,'Keyword 2');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (3,'Keyword 3');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (4,'Keyword 4');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (5,'Keyword 5');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (6,'Keyword 6');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (7,'Keyword 7');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (8,'Keyword 8');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (9,'Keyword 9');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (10,'Keyword 10');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (11,'Keyword 11');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (12,'Keyword 12');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (13,'Keyword 13');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (14,'Keyword 14');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (15,'Keyword 15');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (16,'Keyword 16');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (17,'Keyword 17');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (18,'Keyword 18');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (19,'Keyword 19');
    insert into NotDataFileKeyWord (KeyWordNo,KeyWordName) values (20,'Keyword 20');
    insert into SystemPrinter (CanUsersChangePrinter) values (TRUE);
    insert into ProjectPrinter (ProjectId,PrinterName,PrinterPlace,PrintInfo,CanUsersChangePrinter,IsConformSystem) values ('659C394355F35B479B2930416DB82378',null,null,null,TRUE,TRUE);
    insert into SystemDataProc (DilutionMode,AreaAndHeightFormatMode,TotalValueMode,DefaultXAxisCalibCurve) values (TRUE,FALSE,FALSE,0);

    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1001,'Retention Time',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1002,'Concentration',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1003,'Concentration%',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1004,'Norm. Concentration',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1005,'Area',1,0,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1006,'Area%',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1007,'Area Ratio',3,2,6,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1008,'Height',1,0,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1009,'Height%',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1010,'Height Ratio',3,2,6,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1011,'Area/Height',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1012,'Number of Theoretical Plate',1,0,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1013,'HETP',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1014,'Theoretical Plates/meter',1,0,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1015,'Tailing Factor',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1016,'Resolution',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1017,'k''',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1018,'Separation Factor',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1019,'Peak Width',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1020,'Relative Retention Time',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1021,'Current Response Factor',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1022,'Calib. Curve Expression',3,6,6,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1023,'Calib. Curve 3rd Coef.',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1024,'Calib. Curve 2nd Coef.',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1025,'Calib. Curve 1st Coef.',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1026,'Calib. Curve Intersection',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1027,'Calib. Curve Correlation Coef.',3,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1028,'Calib. Curve Contribution',3,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1029,'Calib. Curve Residual sum of squares',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1030,'Calib. Curve Mean RF',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1031,'Calib. Curve RF SD',2,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1032,'Calib. Curve RF %RSD',1,6,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1033,'S/N',1,2,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1034,'Noise',1,2,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1035,'Drift',1,2,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1036,'Detection Limit',1,2,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1037,'Quantitative Limit',1,2,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1038,'Dev%',1,2,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1039,'Accuracy%',1,1,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1040,'Deviation',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1041,'Dev.Ratio',1,4,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1042,'Recovery',1,2,5,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1043,'Peak Valley Ratio',1,3,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1044,'Custom Parameter 1',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1045,'Custom Parameter 2',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1046,'Custom Parameter 3',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1047,'Custom Parameter 4',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1048,'Custom Parameter 5',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1049,'Custom Parameter 6',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1050,'Custom Parameter 7',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1051,'Custom Parameter 8',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1052,'Custom Parameter 9',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1053,'Custom Parameter 10',1,5,7,1,1);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2001,'X-Axis Value (cm-1)',1,2,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2002,'X-Axis Value (nm)',1,2,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2003,'X-Axis Value (um)',1,4,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2004,'X-Axis Value (Distance/um)',1,0,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2005,'X-Axis Value (Time)',1,2,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2006,'Y-Axis Value (%T/E)',1,2,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2007,'Y-Axis Value (Abs)',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2008,'Y-Axis Value (other)',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2009,'Area/Corr. Area',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2010,'Interference fringes',1,0,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2011,'Thickness',1,2,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2012,'Standard deviation',1,2,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2013,'Purity',1,4,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2014,'Purity: Slope',1,4,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2015,'Purity: Intercept',1,4,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2016,'STD table: Intensity',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2017,'Unknown table: Concentration',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2018,'Unknown table: Intensity',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2019,'Quant.: Equation result',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2020,'Quant.: 3rd Coef.',2,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2021,'Quant.: 2nd Coef.',2,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2022,'Quant.: 1st Coef.',2,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2023,'Quant.: Intercept',2,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2024,'Quant.: Correlation coef.',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2025,'Photometric: Equation result',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2026,'PRESS',1,2,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2027,'Values',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2028,'Spectral residuals',1,3,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2029,'Chemometrics: Correlation coef.',1,4,7,1,2);
    insert into SystemNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2030,'MSEP/SEP',1,4,7,1,2);

    insert into ProjectDataProc (ProjectId,DilutionMode,AreaAndHeightFormatMode,TotalValueMode,IsConformSystem,DefaultXAxisCalibCurve) values ('659C394355F35B479B2930416DB82378',TRUE,FALSE,FALSE,TRUE,0);

    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1001,'Retention Time',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1002,'Concentration',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1003,'Concentration%',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1004,'Norm. Concentration',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1005,'Area',1,0,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1006,'Area%',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1007,'Area Ratio',3,2,6,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1008,'Height',1,0,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1009,'Height%',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1010,'Height Ratio',3,2,6,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1011,'Area/Height',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1012,'Number of Theoretical Plate',1,0,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1013,'HETP',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1014,'Theoretical Plates/meter',1,0,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1015,'Tailing Factor',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1016,'Resolution',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1017,'k''',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1018,'Separation Factor',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1019,'Peak Width',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1020,'Relative Retention Time',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1021,'Current Response Factor',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1022,'Calib. Curve Expression',3,6,6,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1023,'Calib. Curve 3rd Coef.',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1024,'Calib. Curve 2nd Coef.',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1025,'Calib. Curve 1st Coef.',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1026,'Calib. Curve Intersection',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1027,'Calib. Curve Correlation Coef.',3,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1028,'Calib. Curve Contribution',3,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1029,'Calib. Curve Residual sum of squares',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1030,'Calib. Curve Mean RF',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1031,'Calib. Curve RF SD',2,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1032,'Calib. Curve RF %RSD',1,6,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1033,'S/N',1,2,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1034,'Noise',1,2,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1035,'Drift',1,2,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1036,'Detection Limit',1,2,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1037,'Quantitative Limit',1,2,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1038,'Dev%',1,2,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1039,'Accuracy%',1,1,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1040,'Deviation',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1041,'Dev.Ratio',1,4,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1042,'Recovery',1,2,5,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1043,'Peak Valley Ratio',1,3,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1044,'Custom Parameter 1',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1045,'Custom Parameter 2',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1046,'Custom Parameter 3',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1047,'Custom Parameter 4',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1048,'Custom Parameter 5',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1049,'Custom Parameter 6',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1050,'Custom Parameter 7',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1051,'Custom Parameter 8',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1052,'Custom Parameter 9',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',1053,'Custom Parameter 10',1,5,7,1,1);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2001,'X-Axis Value (cm-1)',1,2,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2002,'X-Axis Value (nm)',1,2,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2003,'X-Axis Value (um)',1,4,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2004,'X-Axis Value (Distance/um)',1,0,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2005,'X-Axis Value (Time)',1,2,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2006,'Y-Axis Value (%T/E)',1,2,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2007,'Y-Axis Value (Abs)',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2008,'Y-Axis Value (other)',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2009,'Area/Corr. Area',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2010,'Interference fringes',1,0,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2011,'Thickness',1,2,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2012,'Standard deviation',1,2,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2013,'Purity',1,4,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2014,'Purity: Slope',1,4,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2015,'Purity: Intercept',1,4,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2016,'STD table: Intensity',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2017,'Unknown table: Concentration',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2018,'Unknown table: Intensity',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2019,'Quant.: Equation result',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2020,'Quant.: 3rd Coef.',2,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2021,'Quant.: 2nd Coef.',2,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2022,'Quant.: 1st Coef.',2,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2023,'Quant.: Intercept',2,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2024,'Quant.: Correlation coef.',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2025,'Photometric: Equation result',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2026,'PRESS',1,2,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2027,'Values',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2028,'Spectral residuals',1,3,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2029,'Chemometrics: Correlation coef.',1,4,7,1,2);
    insert into ProjectNumValueFormat (ProjectId,NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values ('659C394355F35B479B2930416DB82378',2030,'MSEP/SEP',1,4,7,1,2);

    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1001,'Retention Time',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1002,'Concentration',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1003,'Concentration%',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1004,'Norm. Concentration',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1005,'Area',1,0,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1006,'Area%',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1007,'Area Ratio',3,2,6,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1008,'Height',1,0,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1009,'Height%',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1010,'Height Ratio',3,2,6,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1011,'Area/Height',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1012,'Number of Theoretical Plate',1,0,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1013,'HETP',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1014,'Theoretical Plates/meter',1,0,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1015,'Tailing Factor',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1016,'Resolution',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1017,'k''',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1018,'Separation Factor',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1019,'Peak Width',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1020,'Relative Retention Time',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1021,'Current Response Factor',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1022,'Calib. Curve Expression',3,6,6,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1023,'Calib. Curve 3rd Coef.',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1024,'Calib. Curve 2nd Coef.',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1025,'Calib. Curve 1st Coef.',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1026,'Calib. Curve Intersection',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1027,'Calib. Curve Correlation Coef.',3,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1028,'Calib. Curve Contribution',3,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1029,'Calib. Curve Residual sum of squares',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1030,'Calib. Curve Mean RF',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1031,'Calib. Curve RF SD',2,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1032,'Calib. Curve RF %RSD',1,6,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1033,'S/N',1,2,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1034,'Noise',1,2,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1035,'Drift',1,2,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1036,'Detection Limit',1,2,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1037,'Quantitative Limit',1,2,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1038,'Dev%',1,2,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1039,'Accuracy%',1,1,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1040,'Deviation',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1041,'Dev.Ratio',1,4,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1042,'Recovery',1,2,5,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1043,'Peak Valley Ratio',1,3,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1044,'Custom Parameter 1',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1045,'Custom Parameter 2',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1046,'Custom Parameter 3',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1047,'Custom Parameter 4',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1048,'Custom Parameter 5',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1049,'Custom Parameter 6',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1050,'Custom Parameter 7',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1051,'Custom Parameter 8',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1052,'Custom Parameter 9',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (1053,'Custom Parameter 10',1,5,7,1,1);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2001,'X-Axis Value (cm-1)',1,2,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2002,'X-Axis Value (nm)',1,2,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2003,'X-Axis Value (um)',1,4,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2004,'X-Axis Value (Distance/um)',1,0,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2005,'X-Axis Value (Time)',1,2,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2006,'Y-Axis Value (%T/E)',1,2,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2007,'Y-Axis Value (Abs)',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2008,'Y-Axis Value (other)',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2009,'Area/Corr. Area',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2010,'Interference fringes',1,0,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2011,'Thickness',1,2,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2012,'Standard deviation',1,2,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2013,'Purity',1,4,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2014,'Purity: Slope',1,4,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2015,'Purity: Intercept',1,4,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2016,'STD table: Intensity',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2017,'Unknown table: Concentration',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2018,'Unknown table: Intensity',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2019,'Quant.: Equation result',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2020,'Quant.: 3rd Coef.',2,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2021,'Quant.: 2nd Coef.',2,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2022,'Quant.: 1st Coef.',2,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2023,'Quant.: Intercept',2,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2024,'Quant.: Correlation coef.',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2025,'Photometric: Equation result',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2026,'PRESS',1,2,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2027,'Values',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2028,'Spectral residuals',1,3,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2029,'Chemometrics: Correlation coef.',1,4,7,1,2);
    insert into DefaultNumValueFormat (NumericNo,NumericName,ShowType,DecimalDigitCount,DigitCount,RoundMode,SoftwareType) values (2030,'MSEP/SEP',1,4,7,1,2);

    insert into LssPrinterUpdateDate (ID) values (1);

    insert into tFingerConfig (fEnable, fRetry, fKey, fWithUserName) values (0, 5, 0, 0);
    insert into RightsControl (RightsNo,SoftwareType) values (1000,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1001,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1002,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1003,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1004,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1005,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1100,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1102,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1103,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1200,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1201,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1202,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1203,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1204,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1205,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1206,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1207,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1208,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1209,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1210,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1211,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1300,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1301,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1302,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1400,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1401,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1402,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1403,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1404,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1405,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1406,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1407,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1408,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1409,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1410,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1420,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1450,0);
    insert into RightsControl (RightsNo,SoftwareType) values (1500,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1501,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1502,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1503,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1504,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1505,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1506,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1600,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1700,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1701,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1702,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1703,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1704,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1705,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1706,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1707,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1708,1);
    insert into RightsControl (RightsNo,SoftwareType) values (1709,1);
    insert into RightsControl (RightsNo,SoftwareType) values (2000,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2001,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2002,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2003,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2004,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2005,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2006,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2007,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2008,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2009,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2010,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2011,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2012,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2013,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2014,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2015,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2016,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2017,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2018,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2019,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2020,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2021,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2022,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2023,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2024,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2025,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2026,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2027,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2028,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2029,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2030,2);
    insert into RightsControl (RightsNo,SoftwareType) values (2031,2);

  </initializeSql>
</T_CreateTableInfo>