I have this error in SQL instruction
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-06-21 07:46 PM
I have this error and I cann´t solve it.
The instruction is in the first image attached.
Please, some One can help me?
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-06-21 08:28 PM
Hi, @Hoffman Guerra try it!
"[ID] = '"&[ItemData.ID]&"' AND [Status] not like 'OK'"
See if this works for you, if this helps you mark as answered
Sr Cons at Avanade Brazil
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-06-21 08:34 AM
Out of curosity, it seems like you are doing an exact match, and hence using "Not Like" is useless.
Probably you should considering "!= or <>" operator which would consume less memory.
Probably you should considering "!= or <>" operator which would consume less memory.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-06-21 02:05 PM
Good observation! In fact, the best option would be to use negation <>
Sr Cons at Avanade Brazil
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-06-21 07:57 PM
Hello guys,
Thanks for your response, I changed to "<>" and it worked!
Thanks for your response, I changed to "<>" and it worked!
