CREATE TABLE dbo.Ids
(
DlId nvarchar(32) NOT NULL PRIMARY KEY,
DlIdGUID uniqueidentifier NOT NULL
)
INSERT INTO dbo.Ids
(DlId, REPLACE(DlId, DlId, newid()))
(SELECT DISTINCT TOP 5 DriversLic FROM Student.dbo.StudDL
WHERE DlId LIKE '%345%')
エラーは言う
'(' 付近の構文が正しくありません