
-- 
SELECT * FROM Dict_Sign  
--  	Group1	Group2	
SELECT top 10 * FROM PEIS.dbo.ExamSign
 
--
TRUNCATE TABLE Dict_Sign
SET IDENTITY_INSERT [dbo].[Dict_Sign] ON 
INSERT INTO Dict_Sign(ID, RID, SignName, SpellCode, Description, SevereLevel, IsDefault, IsSummary, Group1, Group2, Seq, CID)  
SELECT Id,
	ExamItemId AS RID,
	NAME AS SignName,
	PYM AS SpellCode,
	SignDetail AS Description,
	DiseaseLevel AS SevereLevel,
	IsDefaultOption AS IsDefault, 
	SummaryInclude AS IsSummary,
	FirstGroupNo AS Group1,
	SecondGroupNo AS Group2,
	SortNo AS Seq ,
	ConclusionId AS CID
FROM
	PEIS.dbo.ExamSign 
SET IDENTITY_INSERT [dbo].[Dict_Sign] OFF