here is basic OPENQUERY statement, however if I use where close with conditional statement
syntax is incorrect. How do I fix this issue?
SELECT *
FROM OPENQUERY(IMGSPE, 'SELECT * from table1)
My query:
SELECT *
FROM OPENQUERY(IMGSPE, 'SELECT * from table1 where name='test'' )
syntax is incorrect. How do I fix this issue?
SELECT *
FROM OPENQUERY(IMGSPE, 'SELECT * from table1)
My query:
SELECT *
FROM OPENQUERY(IMGSPE, 'SELECT * from table1 where name='test'' )