-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Describe the bug
Describe the bug
The word "OPTIONAL has appeared around elements in the where clause. this cause an error in SQL Server 2012.
To Reproduce
Steps to reproduce the behavior:
- Go to run query: DELETE TOP (1) FROM Access.CurrentClasses WHERE classkeyid IN (Optional(9028));
- See error
Expected behavior
I expect the query to make the changes like "delete current row" the run the query
Screenshots
Additional details
It gives the error: Msg 195, Level 15, State 10. 'Optional' is not a recognized built-in function name.
Product
SQLPro Studio
App version
Version 2026.03 (Build 111158.5)
Platform
macOS
Installation source
App Store
Metadata
Metadata
Assignees
Labels
No labels