I had a complex query that returned the above error intermittently. It turned out that one of the fields was DATE (upper case) as specified in the schema.ini file for the text file. The query referred to Date (proper case). When the query was changed to refer to DATE (upper case) throughout, the intermittent failures stopped.
Wednesday, 3 June 2015
[Microsoft] [ODBC Text Driver] Too few parameters. Expected:1
Labels:
Error,
ODBC,
SQL,
Text Driver,
Text File
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment