Hinweis: Sie sind auf den Seiten der Moodle 1.9 Dokumentation. Die Dokumentation der aktuellsten Moodle-Version finden Sie hier: Datenbank-Export.

Datenbank-Export: Unterschied zwischen den Versionen

Aus MoodleDocs
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{Zum Übersetzen}}
{{Zum Übersetzen}}
{{Datenbank}}
{{Datenbank}}
==Standardexport==
===Exportformat auswählen===
===Felder für Export auswählen===
==Export über Listenansicht==
The [[Database_templates#List_template|list template]] can be used to export your database as a CSV file in the following way. It is assumed that you have a database with N fields, and that in this example the fields are named field1, field2 ... until fieldN.
The [[Database_templates#List_template|list template]] can be used to export your database as a CSV file in the following way. It is assumed that you have a database with N fields, and that in this example the fields are named field1, field2 ... until fieldN.


== Header ==
=== Header ===


In the header create a comma separated list of the field names
In the header create a comma separated list of the field names
Zeile 11: Zeile 20:
</pre>
</pre>


== Repeated entry ==
=== Repeated entry ===


In the repeated entry create a comma separated list of the field tags
In the repeated entry create a comma separated list of the field tags
Zeile 21: Zeile 30:
Save the template!
Save the template!


== Export ==
=== Export ===


To export, simply select the View List tab and all your data will be in the CSV format. By default only 10 records are displayed, but this can be increased. Copy and paste to your required tool.
To export, simply select the View List tab and all your data will be in the CSV format. By default only 10 records are displayed, but this can be increased. Copy and paste to your required tool.

Version vom 28. Januar 2009, 12:31 Uhr

Baustelle.png Diese Seite ist noch nicht vollständig übersetzt.


Standardexport

Exportformat auswählen

Felder für Export auswählen

Export über Listenansicht

The list template can be used to export your database as a CSV file in the following way. It is assumed that you have a database with N fields, and that in this example the fields are named field1, field2 ... until fieldN.

Header

In the header create a comma separated list of the field names

field1,field2,...,fieldN

Repeated entry

In the repeated entry create a comma separated list of the field tags

[[field1]],[[field2]],...,[[fieldN]]

Save the template!

Export

To export, simply select the View List tab and all your data will be in the CSV format. By default only 10 records are displayed, but this can be increased. Copy and paste to your required tool.