Traditional web-based reporting with SAS BI tools

SAS QUERY

Reply
New Contributor
Posts: 2

SAS QUERY

[ Edited ]

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.

Respected Advisor
Posts: 3,069

Re: SAS QUERY

Please provide your SQL query and what is the data type of the column in SQL Server that is causing the error?

New Contributor
Posts: 2

Re: SAS QUERY

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()

Ask a Question
Discussion stats
  • 2 replies
  • 255 views
  • 0 likes
  • 2 in conversation