cheryl9063
asked on
sql how to convert a Base64 image to Varbinary(Max)
@image_Base64 = varchar(max)
I have a Base 64 image that Im trying to convert to Varbinary(Max) using the code below.. I get the error below when I try to execute.. This and I repeat has nothing to do with indexes
Set @image_Base64 = cast(N'' as xml).value('xs:base64Binar y(sql:vari able("@Bin aryObject_ Base64"))' ,'varbinar y(max)');
I have a Base 64 image that Im trying to convert to Varbinary(Max) using the code below.. I get the error below when I try to execute.. This and I repeat has nothing to do with indexes
Set @image_Base64 = cast(N'' as xml).value('xs:base64Binar
SELECT failed because the following SET options have incorrect settings: 'ANSI_NULLS, QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER