Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
maheshkuttappa
Creator II
Creator II

Direct Query -SQL error

Hi ,

i get following SQL error When I Direct Query SAS table any suggestion to resolve this issue .

SQL##f - SqlState: S1000, ErrorCode: 4294967295, ErrorMsg: [SAS][SAS ODBC Driver][SAS Server] SPDS_NOTE: Correct Syntax for select expression is:

DIRECT QUERY

dimension

    DIV,

    industry_subseg_wrtn,

    payroll_gov_class,

    POL_EFF_MO,

    POL_EFF_YR,

   measure

   Sales

   

FROM X001.ABC_2014Q4;

1 Reply
Not applicable

Hi Manesh,

Remove the comma after the field POL_EFF_YR

// Removed comma

DIRECT QUERY

dimension

    DIV,

    industry_subseg_wrtn,

    payroll_gov_class,

    POL_EFF_MO,

    POL_EFF_YR

   measure

   Sales

   

FROM X001.ABC_2014Q4;