Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Operand Error

Status
Not open for further replies.

Rifleman98atm

Programmer
Joined
Apr 1, 2005
Messages
4
Location
US
I'm trying to use a linked server in MSSQL QA to retrieve data from a MAS90 system. My SQL is as follows:

select * from openquery(MAS, 'Select * from OE_H1HistoryHeader where OrderDate > ''2005-03-18''')

The relevant part being Select * from OE_H1HistoryHeader where OrderDate > '2005-03-18'

I get the following error:
Invalid operand for operator: >

And ideas or workarounds?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top