忽略截断字符串警告
set ANSI_WARNINGS OFF
DECLARE @TB TABLE
(
C1 NVARCHAR(2)
)
INSERT INTO @TB
(C1)
VALUES (N'34324' -- C1 - nvarchar(2)
)
SELECT * FROM @TB
DECLARE @TB TABLE
(
C1 NVARCHAR(2)
)
INSERT INTO @TB
(C1)
VALUES (N'34324' -- C1 - nvarchar(2)
)
SELECT * FROM @TB