Der Browser benötigt JavaScript, um die Webseite korrekt anzeigen zu können. Bitte aktivieren Sie die Scriptausführung.
The browser requires JavaScript to show this website. Please activate script execution.
Skip to main content
Search in all areas (no filter)Search in current system version (11.200)Search in all system versionsSearch in packagesSearch in FAQs
Error: missing value for parameter 'map' (index 0) (click for details)
Callstack:
    at map.remove()
    at (Template:ww/Functions/Links/RelatedPages), /content/body/pre, line 69, column 32
    at template()
    at (Template:Custom/Views/Header), /content/body/pre, line 154, column 13
    at (en/01ww/200/02admin/004dmg/0020dbs), /content/body/div/pre[2], line 2, column 9
Loy & Hutz

Create Database Structure

Overview

1.pngCreates a database with the tables necessary for waveware or uses already created empty database to create table structures there. A Data World must be initially created and fully set up. Without creating a data structure and final importing the minimum data, waveware cannot be used.

 

You can automatically execute the creation of the data structure and the import of the packages to be used. Use the license Setup for it, which installs and configures the database independent of a license.

2.png

If you have specified a user for the SQL server when creating the data world, which does not have any rights to create databases ('DBCREATOR' on server level), you should remove the tick from 'Use the install ID authentication data' in the area 'Database Authentication'. Then, another area ('Authentication Method') is visible, which adopts the alternative registration information for this process.

3.png

Select the mode you want to be connected with SQL server.

  • For the SQL Server Authentication enter a login name and password, with which the DataManagement can create a connection.
  • For the Windows Authentication no further data is needed. This mode of registration must be initially set up by an administrator.

Both types of the authentication must be done with a user, which has at least the rights to create and delete the database. This requires also the role 'DBCREATOR' on server level on the SQL server.

Increased server-level permissions are required, only if a new database is to be created (the option 'Do not create a new database - use the existing one' is not set). Otherwise, only the ' DB_OWNER' role on the database-level and the 'PUBLIC' role on the server-level are required to log in to SQL Server. Further information on permissions is under 'Database: Permissions'.

For the case when you want to import the table structure in an existing database, activate the tick in the 'Do not create a new database, but use already existing one' under 'Settings'. In exceptional cases, you can create a database with the following command (not recommended):

CREATE  DATABASE  [NAME]  COLLATE Latin1_General_CI_AS
ALTER  DATABASE  [NAME]  SET  ALLOW_SNAPSHOT_ISOLATION ON
ALTER  DATABASE  [NAME]  SET  READ_COMMITTED_SNAPSHOT ON

If the option 'Do not create a new database, but use already existing one' is not active, the database is created by the DataManagement, you have the following setting options).

  • Database Sorting
    You specify the sequence of the data with this setting, how they should be returned from the SQL server. All sorting sequences for various languages are offered here, that can be used with the specified SQL server.
    By, default, the sorting "Latin1_General_CI_AS" is predefined, as long as the SQL Server supports this sorting. If this sorting is not supported, the field remains empty, as long as no selection is met, that uses the default sorting of the SQL server, that was set in the rule during the installation of the SQL server.
    Databases, that were created with the older waveware versions, always use "Latin1_General_CI_AS". The sorting of a database cannot be subsequently changed anymore.

However, there are two visible options, with which you can specify, where the data and log files (*.mdf, *.ldf) for the database are to be saved.

  • Use data and protocol directory of the SQL Server
    The file and protocol files are saved under the default paths, which are managed by the SQL Server of the active data world. This is the default setting.
  • Select data and protocol directory
    The setting allows a manual configuration of the path for the database specific files. In this case, an input mask opens, where you can specify both necessary paths.
    4.png
    Note that the path must be specified from the perspective of the path and sufficient access permission must exist for the user, under which the SQL server service is executed.

 

After you have closed the settings, click the button 'Create data structure'. The current status is displayed during the execution. At the end you can choose, whether the minimum data (default catalog inputs, user data and the like) should be imported. This import file is called language-related, depending on the main language, which was selected in the Data World.

5.png

Select 'Yes' to execute the minimum data import and to fix the language settings (Main Language/Data Main Language) for the data world. 'No' prevents the import of the minimum data; waveware cannot be executed without minimum data. Import the data ('minimum.sql') in the selected language manually through the function 'Import Database'.

Create Database Structure
2 Changes
6 Views