Effect of case Sensitivity on Sage 300 Tables

By | August 30, 2019

In this blog we are going to see how the case sensitivity can affect the output of your custom SQL queries. Below are some examples which will guide you through the impact of case sensitivity on Sage 300 tables while writing the custom SQL queries.

New Stuff:  Current Users in Web Screen Sage 300 ERP 2020

Step 1:

Let’s assume that you have applied standard Sage 300 SQL Collation (Latin1_general_bin) on your Sage 300 database. This is the Sage recommended collation as we all know about it.

Case_Sensitivity_1

Step 2:

We are now trying to pull the data from the CSAPP table from the Sage 300 using custom query below.

  • Select * from csapp

Now as we know that the table name applied is in lower case and will break the case sensitivity. The below error message we will get from the SQL.

Case_Sensitivity_2

Step 3:

Now to get overcome of this issue let’s make it simple and we will write the custom SQL queries in upper case.

  • SELECT * FROM CSAPP

Now you will get the desired output and SQL will not throw the invalid object name error.

About Us:-

Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix offers unique GUMU™ integrated solutions of Sage 300 with Sage CRM, Salesforce.com and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration service for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and in Sage 300c development services we offer services such as upgrades of older codes and screens to new web screens, newer integrations using sdata and web services  to Sage business partners, end users and Sage PSG worldwide. Greytrix offers over 20+ Sage 300 productivity enhancing utilities that we can help you with such as GreyMatrix, Document Attachment, Document Numbering, Auto-Bank Reconciliation, Purchase Approval System, Three way PO matching, Bill of Lading and VAT for Middle East.

For more details on Sage 300 and 300c Services, please contact us at accpac@greytrix.com. We will be glad to assist you.