How to: Disable SQL Parser
This article discusses three different ways to disable SQL Parser
Why disable SQL Parser?
It may be necessary to disable SQL Parser if your get false failures (SQL Parser incorrectly fails forecast).
Three ways to disable SQL Parser
Globally at the project level
At folder level in SQL repository
At changeset level
Instructions
For disabling SQL Parser globally at the project level
In Datical GUI:
Open your project
Browse to settings tab
Expand “Deployment Setting” and uncheck the box for “Enable Oracle SQL Parser”
Be sure to commit your project back to you Git repository.
For directly editing the datical.project file:
Open datical.project file in your favorite text editor.
On line #2, scroll to the section where it says
enableSqlParser=”true”
and change it toenableSqlParser=”false”
Save your file.
Be sure to commit your project back to you Git repository.
For disabling SQL Parser at folder level in SQL repository
Identify the folder where you want to disable SQL Parser
In that folder, open the metadata.properties file. If one does not exist, you can create one.
In your favorite text editor, add the following line:
disableSqlParser=”true”
Save your file.
Be sure to commit your project back to you Git repository.
For disabling SQL Parser at a changeset level
In you favorite text editor open your changelog.xml file from your Datical repository
Find the relevant changeset where you want to disable SQL Parser.
Add
disableSqlParser=”true”
in the changeset, as follows:<changeSet appdba:scriptChecksum="9f8a11051d1478faf2752baacb76cf0e" author="J Doe" created="2020-08-10 18:37+0000" datical:origFileName="adding_test_new_001.sql" datical:origFilePath="scripts/sql_direct" datical:version="1" datical:versionStrategy="DEPLOY_ALL" id="20200810183704986_adding_test_new_001" labels="509,deploy-test1,deploy-test1,adding_test_new_001.sql"> <appdba:sqlplus disableSqlParser="true" enableRollbackOnError="true" path="sql/20200810183704986_adding_test_new_001.sql" removeSpools="First" schemaName="SCHEMA1"/> <comment>Test script</comment>
Save your file.
Be sure to commit your project back to your Git repository.
Copyright © Datical 2012-2020 - Proprietary and Confidential