Jump to: navigation, search

Changes


Database Manager

921 bytes added, 09:50, 9 August 2013
The Database Manager is basically used for maintenance tasks in UBIK databases. These tasks can be executed whether there is already a database connected, but also if it is not connected. In this case, the database manager tries to establish a temporary connection using the current [[UBIK Studio Basics#Options|Options]] to work with. UBIK.Studio refuses database connections due to a version mismatch between the Studio version and the database version if they are not compatible to each other. The database can be upgraded in this place by selecting the desired target version number (which is set to the highest available by default). Therefore, it automatically selects all needed scripts to perform the upgrade. An additional database manager functionality is to execute any Other functionalities are the management of supported languages and executing SQL script file, scripts (e.g. used for example to perform specific changes in the database, applying corrections, cleanup etcindividual maintenance issues).
[[File:UI_DatabaseManagerUI_Database_Manager_01.png|thumb|right|220px|Database Manager Dialog- Upgrade]][[File:UI_Database_Manager_02.png|thumb|right|220px|Database Manager Dialog - Languages]][[File:UI_Database_Manager_03.png|thumb|right|220px|Database Manager Dialog - SQL Scripts]]
==ToolbarTab Pages==
{| class="wikitable" | width = "50%"
|-
! Item !! Purpose
|- align="left"
| Run Script.Upgrade || This page allows the user to upgrade the database (defined in the current UBIK.Studio Options) to a higher version. |-| Load and execute Languages || This page allows to add a SQL script on number of new languages to the connected database.<br>This feature |-| SQL Scripts || On this page SQL scripts can be used to perform database operations beside the standard UBIK Database update statementsloaded into a code editor windows and then be executed.
|}
 
==Script List==
The list shows all scripts that are executed on the upgarde task. After the upgrade has been executed, it shows for each script file if an error occured or not. Double-clicking an executed script show the results of the execution run. This is useful for identifying problems that lead to the upgrade fail. The same applies when a manually provided SQL file has been executed by "Run script...".
 
==Upgrade Button==
By pressing the upgrade button, all shown scripts contained in the list are excuted. The progress and the final results will be visualized to the user.
==Statusbar==
The status bar informs the user about the connection status. If connected, the current version of the database is shown otherwise the provided credentials have to be checked in the options.
 
==Upgrade the Database==
The list shows all scripts that are executed on the upgarde task. After the upgrade has been executed, it shows for each script file if an error occured or not. Double-clicking an executed script show the results of the execution run. This is useful for identifying problems that lead to the upgrade fail. The same applies when a manually provided SQL file has been executed by "Run script...". By pressing the upgrade button, all shown scripts contained in the list are excuted. The progress and the final results will be visualized to the user.
 
==Add a number of Languages==
To add a certain number of new languages in the database, a number of languages to be added has to be selected. Pressing the Button "Add" then adds the languages with a neutral name. The new languages then can be changed via the Bulk Editor.
 
==Run SQL Script==
By pressing the "Open" toolbar button, a SQL script can be loaded into the code editor. Once loaded, the script then can be executed by pressing the "Run SQL Script (green arrow) toolbar button. After executing the script, a success message is displayed. In case of an Error, the error information will be displayed in another dialog window.
681
edits