Sie können bestehende SQL Script zu ihremDatabaseSpy hinzufügen oder Design, Datenvergleiche oder Schemavergleiche in Dateien speichern und hinzufügen.
You can add existing SQL scripts to your DatabaseSpy Project, or you can save designs, data comparisons, or schema comparisons in files and add them.
Mit dem SAP HANA Developerstudio können über die Extended Application Services (XS) SQL, SQL Script und Views erstellt werden.
With SAP HANA Developer Studio SQL scripts and views can be created via the Extended Application Services (XS) SQL.
Wählen Sie auf der Seite Options zunächst die Source (Master/Reference) Database (Quelldatenbank) oder SQL script. Durch Anklicken des Symbols rechts von dem Pfadeingabefeld, könenen Laufwerk, Pfad und Datenbank bestimmt werden.
On the Options page, first select the Source (Master/Reference) Database or SQL script, by clicking the icons to the right of the path/file input area, to specify drive, path and database name.
Auch für diese Aufgabe liefert das ursprüngliche SQL Script eine gute Vorlage.
The original SQL script also delivers a very usable template for this task.
So speichern Sie das SQL Script und fügen es zum Projekt hinzu
To save the SQL script and add it to the project
Daraufhin wird ein SQL Script generiert, welches ausgeführt werden kann, um den Import fertig zu stellen.
This creates an SQL script which can be executed to complete the import process.
Darüber hinaus enthält dieses Tutorial ein SQL Script, mit dem die restlichen Sekundärschlüsselbeziehungen zur Datenbank hinzugefügt werden.
Furthermore, this tutorial provides an SQL script that adds the remaining foreign key relations to the database.
Außerdem können Sie auf Basis der Anzahl der Fehler eine Stopp-Aktion definieren und optional ein SQL Script Logging.
You can also set a stop action based on the number of errors, and, optionally, SQL script logging.
Fähigkeit, anzuschauen und zu bearbeiten und SQL Script zu speichern, um Zieldatenbank zu erzeugen
Ability to view and edit and save SQL script for generating target database
Um das SQL Script an der Datenbank auszuführen, wählen Sie eine der folgenden Methoden
To run the SQL script against the database, do one of the following
(Wenn Sie das SQL Script speichern möchten, um es später nochmals auszuführen, können Sie die Reihenfolge der Anweisungen bearbeiten, damit das Script gleich beim ersten Durchgang erfolgreich ausgeführt werden kann).
If you want to save the SQL script to run again later, you could edit the order of the statements so they execute successfully on the first pass.
Bei einem Schema, das für eine der oben angeführten Datenbanken im flachen Format generiert wurde, wird der Schema-Katalogname extrahiert und im generierten SQL Script als DB-Name verwendet.
A schema that was generated in flat format, for one of the above databases, will have the schema catalog name extracted and used in the generated SQL script as the DB name.
GO Schlüsselwort: Ein GO Schlüsselwort muss im SQL Script vorhanden sein, damit die Ausführungsblöcke getrennt werden.
GO keyword: A GO keyword must be present in the SQL script to separate execution blocks.