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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sage Data Query

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
We're seeing something obscure when we run SQL syntax against Sage data.
If we use : SELECT Stock_Code, Description FROM STOCK WHERE Stock_Code = 'StockCode1' then on occasions we do not see the required result. But if we use : SELECT Stock_Code, Description FROM STOCK WHERE Stock_Code LIKE 'StockCode1' (with no wildcard) it picks up the required record.
Why should this be the case ?
We've ruled out the fact that lower-case might be included so this isn't the issue.
Anyone know why we might be seeing such odd results as this ?
Thanks in advance
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top