8

I'm working with a rather horrible schema designed by an external party and it contains a table named order so when I invoke a query that references this table in LINQPad I get a SQL syntax error.

I know how to quote the identifier in MySQL, but I can't see how to do this with LINQPad and the IQ Driver. Looking at this it seems to be up to the driver implementation.

Matt Siebert
  • 367
  • 1
  • 9

1 Answers1

0

Have you tried using the backtick (`) to quote the tablename?

select * from `order`

If that doesn't work you may have to configure quoteIdentifiers as described here.

Digital Chris
  • 6,177
  • 1
  • 20
  • 29