【发布时间】:2020-08-21 05:41:30
【问题描述】:
我们在文本大小较小的列上成功实现了 SQL TDE (SQL 2016),但在大列上会出错
表结构
ID - value
1 - wanted to confirm her order for the install, adv that the activation date was set
2 - Edward called to have his order processed. Order processed for 20M, leased modem and self install. Due date for the above to be renewed in end of the year
3 - was unable to transfer, no one answered, customer said that they have mpvs' number
4- Placed order for modems
ALTER TABLE [TextValues]
add value_encrypt varbinary(max)
go
UPDATE [TextValues]
SET value_encrypt=EncryptByKey (Key_GUID('SymKey_Encryption'), value)
FROM [TextValues];
"ERROR: "字符串或二进制数据将被截断。 声明已终止”。
【问题讨论】:
-
为什么您认为 TDE 是导致此 T-SQL 错误的原因? TDE 是低级存储加密,不应引入此类错误。添加导致错误的相关 T-SQL 和/或应用程序代码以及表 DDL。
-
@DanGuzman - 添加了我们正在尝试的代码
标签: sql sql-server encryption always-encrypted tde