Uploaded image for project: 'SET - Setups'
  1. SET - Setups
  2. SET-162

Some SQL scripts that modify database object raise an exception

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.12
    • 1.12.8
    • None

    Description

      Current Situation

      • The _alter.sql SQL scripts are used to modify existing database objects, e.g. tables.
      • The execution of the following scripts ends with an exception:
        • Microsoft SQL Server
          • $scheduler_home/db/mssql
            • reporting/daily_plan_alter.sql
              • The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION
            • reporting/inventory3_alter.sql (SQL Server versions before 2016)
              • Incorrect syntax near the keyword 'IF'
            • reporting/reporting_taskinsert_alter.sql
              • Invalid column name 'STEPS'
        • Oracle
          • $scheduler_home/db/oracle
            • inventory_alter.sql
              • Encountered the symbol "DECLARE"

      Desired Behaviour

      • The execution of the SQL scripts should work correctly without exceptions.

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: