What are the semantics of the following query
UPDATE table
SET column .WRITE(NULL, NULL, NULL)
if column
is of VARBINARY(max)
type and its contents are not NULL
?
A quick test suggests that the query is a no-op:
--DROP TABLE [table]
CREATE TABLE [table] ([column] VARBINARY(max))
INSERT INTO [table] VALUES (0x12345678)
UPDATE [table]
SET [column] .WRITE(NULL, NULL, NULL)
SELECT * FROM [table]
Executing it does not alter the data in the column
. However, I can't seem to find evidence in the documentation. Have I overlooked something, or is this no-op behavior likely to change?