Why am I not allowed to concatinate strings in a WHERE clause? Is this not possible?
Here's my error:
Syntax error in SQL statement at or about \"+ 'Not working' + 'In WHERE clause'\" (10713)
Progress Version: Openedge 10.1B
Code:
[COLOR="Blue"]SELECT[/COLOR]
i."Inventory-Item-ID",
i."Inventory-Item-Desc",
'[COLOR="DarkOrchid"]Works[/COLOR]' + '[COLOR="DarkOrchid"]Fine[/COLOR]' + '[COLOR="DarkOrchid"]Here[/COLOR]'
[COLOR="DarkRed"]FROM[/COLOR]
PUB."InventoryItem" AS i
[COLOR="DarkRed"]WHERE[/COLOR]
i."System-ID"='PP' [COLOR="lime"]AND[/COLOR]
i."Cust-ID"='4601' [COLOR="lime"]AND[/COLOR]
i."Inventory-Item-ID" [COLOR="Lime"]LIKE[/COLOR] '[COLOR="DarkOrchid"]But[/COLOR]' + '[COLOR="DarkOrchid"]Not working[/COLOR]' + '[COLOR="DarkOrchid"]In WHERE clause[/COLOR]'
Here's my error:
Syntax error in SQL statement at or about \"+ 'Not working' + 'In WHERE clause'\" (10713)
Progress Version: Openedge 10.1B