One of my client is using SAS reporting and we provide SQL query to use them in SAS reporting.
I am not familiar with SAS reporting, forgive me if I sound illogical
We have a table which has a column in which XML data is stored and we have written a sql to extract a specific value.
User tried importing the sql but it is throwing error. Can somebody please help with the solution or any work around to import data in the column
ERROR AS FOLLOWS: CLI describe error: [SAS/ACCESS to SQL Server][ODBC SQL Server Wire Protocol
driver][Microsoft SQL Server]SELECT failed because the following SET options have
incorrect settings: '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.
Please provide your SQL query and what is the data type of the column in SQL Server that is causing the error?
I am using the following SQL
select column_xml.value('(/CompositeDataObject/CompositeDataObjectElement[@SystemName="Applicants"]/CollectionItem/@EncryptedID)[1]', 'varchar(max)')
from v_table1
Column data tyepe is XML()
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.