針對nchar、nvarchar、binary 和varbinary 使用CAST 或CONVERT 時,SQL Server 會將值截斷至30 個字元的上限。
technet.microsoft.com