Knowledge Base Article

Contact Tech Support
excel@excelsystems.com
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base
Code Samples
Documentation
Technical News
Software Requirements
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services
Product: WebSmart IDE Created: 2009/05/29 Back to Search  
Number: 7854 Type: Troubleshooting Rate This Article
 

Article Description

When using multiple quotes in an SQL Query, for example trim(MAATRN) = '', WebSmart will assume that the '' should be a ' resulting in an invalid SQL statement, trim(MAATRN) = '. How can I work around this?

Article Details

Problem:

When using multiple quotes in an SQL Query, for example trim(MAATRN) = '', our version of WebSmart assumes that the '' should be a ' resulting in an invalid SQL statement, trim(MAATRN) = '

 

Information:

This is a side effect of our generating  RPG. When you want to "escape" a quote in RPG you double it up.

 

Workaround:

Change the query to trim(MAATRN) = ''''

 

Solution:

This has been resolved in WebSmart 7.2, and the code is now generated correctly automatically.


 

Rate This Page

Did this knowledge base article help you to achieve your goal?  Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Comments: