All Apps and Add-ons

Splunk ODBC: Why do I receive "syntax error 'SELECT "FIAM-Monthly-Hit-Count"" error?

DeanB_Fidelity
Engager

If I add the column, I get the following error:

`[31480] syntax error near 'SELECT "FIAM-Monthly-Hit-Count".unique<<< ???>>> from "ALL"."FIAM-Monthly-Hit-Count" "FIAM-Monthly-Hit-Count"

I'm using the Splunk ODBC drivers with Excel 2016. I'm able to use the Query Wizard to choose columns and Excel is able to get the column data from the report except this column. The one column is causing an error.

Tags (2)
0 Karma
1 Solution

DeanB_Fidelity
Engager

Found the problem. The name of the column was "unique". This appears to be a reserved name and the "unique" name of the column causes the error.

Changing the column name solves the problem.

View solution in original post

0 Karma

DeanB_Fidelity
Engager

Found the problem. The name of the column was "unique". This appears to be a reserved name and the "unique" name of the column causes the error.

Changing the column name solves the problem.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...