sql - ODBC: ERROR [HY000] importing data to Excel - Stack Overflow

I have an ODBC database I can connect to and navigate to correct folder and table.Table has over 200,

I have an ODBC database I can connect to and navigate to correct folder and table. Table has over 200,000 entries and I only want to pull in 258 of them. The column in the table is called WWID and it is format of 12345678. I am wanting to write a SQL query on my connection to save having it pull all the data into the Power Query in Excel. When I try to use a SQL statement it gives me the error:

ODBC: ERROR [HY000] ERROR: Syntax error: Exception parsing query near 'WorkerSnapshotPublic' java.sql.SQLException: Syntax error: Exception parsing query near 'WorkerSnapshotPublic'; Error while executing the query

Table name is correct, column name is correct. Perhaps Data type is incorrect but not sure how to tell.

I gave it the SQL Command:

SELECT *
FROM WorkerSnapshotPublic
WHERE WWID IN ('12345678');

I wanted to be able to have it read in a list of 258 WWID from a CSV but want to start with how to get the command to work.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745651838a4638311.html

相关推荐

  • sql - ODBC: ERROR [HY000] importing data to Excel - Stack Overflow

    I have an ODBC database I can connect to and navigate to correct folder and table.Table has over 200,

    21天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信