web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Using In Operator on Reporting Select Tab Creates T-SQL Syntax Error

(0) ShareShare
ReportReport
Posted on by 85

I'm running DSL 2011 with Feature Pack 1.

After migrating, we're having a problem with our SSRS based reports. When we try to use the IN operator on the Select Tab, it creates invalid SQL by adding extra single quotes around the parenthesis and the values.

E.g., when the query should be some.field IN ('test'), it is some.field IN '(''test'')' instead, which is invalid SQL. This causes System Message 6201, Error 56018 ... "Incorrect syntax near '('test')'.

Anyone else seen this? Is there any way for me to fix it?

Thanks

*This post is locked for comments

I have the same question (0)
  • Adam Leonard Profile Picture
    2,151 on at

    Hi,

    I've tested and duplicated this on the standard GL Trial Balance report and I was able to duplicate the issue.  I've written up bug 25034 to address.

  • dnewman Profile Picture
    85 on at

    How do I track the status of the bug?  We are having to get all "creative" to reproduce our typical IN operator needs... Users love the IN operator :-)  

  • Community Member Profile Picture
    on at

    Hello... is there any hotfix for this bug?

  • Kathryn Warner Profile Picture
    on at

    I too am getting this error.  Will they ever address this bug? 

    I am trying to move several SSRS reports into SL.  It seems SL cannot handle the most basic of  SSRS reports.  Is there a guide that states exactly what SL can handle in SSRS? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans