Skip to main content
Skip table of contents

Direct Database Export

On this page:

Use DDE to search and match data in most of the internal tables on your PowerSchool server. Depending on your security settings, you may not be able to perform all functions.

PowerSchool data is stored in a relational database of tables. Each table contains many individual fields. When you use DDE, you directly access a table in the relational database. Use PowerSchool's Direct Database Export (DDE) page to create an export file or report that contains records from the tables. Use another application, such as a spreadsheet application, to view or organize the records. Unlike using the Export Using Template page, you can match and export data from two related tables. When you export data from DDE, the system creates an independent export file that you can open or update using any application you want.

For example, assume you want to export all ninth graders and their current grades to a software application to create a pie graph. Use the DDE function to match the records in the student table to the current grades table; then, export both tables of data, open the export file in a spreadsheet application, and create the graph.

Select Records for Export - List View

View a list of all records in a selected table or search for specific records in a table. You can also limit the export to records for all schools on your system or just one school. For example, export student data about California residents in fourth grade or above who attend all schools on the system.

Note: The Direct Database Export (DDE) page is now also accessible via Start > System > Page and Data Management > DDE.

  1. On the start page, choose System under Setup in the main menu.
  2. Under Data Management, click Direct Database Export.
  3. Use the following table to enter information in the fields:

    Field

    Description

    Current Table

    Choose the table from which you want to export records from the pop-up menu.

    Note: You can select Database extension tables from the Current Table. For more information, see Database Extensions. If your user role includes access to the Students table, but one or more extended tables are restricted, extended table fields will appear masked on the export.

    Select all [x] records in this table

    To indicate the records to use in the export, do one of the following:

    • Click Select all [number of] records in this table to select all records and skip to Step 10.
    • Identify search criteria in the Search Students fields by continuing to the next step.

    Note: Search for students either on the Search Students page before beginning this procedure or on the Direct Database Export page. Repeat steps 5-7 to use the second search field on the Direct Database Export page, or repeat steps 5-9 to narrow the search results further.

    Search [Table Name]

    Choose a field from the first pop-up menu.

    Choose an operator from the second pop-up menu:

    • Equals (=)
    • Less than (<)
    • Greater than (>)
    • Less than or equal to (<=)
    • Greater than or equal to (>=)
    • Does not equal (#)
    • Contains (contains)
    • Does not contain (!Contain)

    Enter the value for the field in the last field.

    Search only in records belonging to [school name]

    Select the checkbox to filter your school's records in the search.

    Note: This function depends on the table being searched containing the SchoolID field.

  4. Click Search within the current [number of selected] records only.

  5. Click List View to make sure you selected the records you want to export.

Select Records for Export - Table View

View a report in a table format of all records in a selected table, or search for specific records in a table. You can also limit the export to records for all schools on your system or just one school. For example, export student data about California residents in fourth grade or above who attend all schools on the system.

The Direct Database Export (DDE) page is now also accessible via Start > System > Page and Data Management > DDE.

  1. On the start page, choose System under Setup in the main menu.
  2. Click Direct Database Export.
  3. Use the following table to enter information in the fields:

    Field

    Description

    Current Table

    Choose the table from which you want to export records.

    Note: You can select Database extension tables from the Current Table. For more information, see Database Extensions. If your user role includes access to the Students table, but one or more extended tables are restricted, extended table fields will appear masked on the export.

    Select all [x] records in this table

    To indicate the records to use in the export, do one of the following:

    • Click Select all [number of] records in this table to select all records and skip to Step 10.
    • Identify search criteria in the Search Students fields by continuing to the next step.

    Note: Search for students either on the Search Students page before beginning this procedure or on the Direct Database Export page. Repeat steps 5-7 to use the second search field on the Direct Database Export page, or repeat steps 5-9 to narrow the search results further.

    Search [Table Name]

    Choose a field from the first pop-up menu.

    Choose an operator:

    • Equals (=)
    • Less than (<)
    • Greater than (>)
    • Less than or equal to (<=)
    • Greater than or equal to (>=)
    • Does not equal (#)
    • Contains (contains)
    • Does not contain (!Contain)

    Enter the value for the field in the last field.

    Search only in records belonging to [school name]

    Select the checkbox to filter your school's records in the search.

  4. Click Table View to make sure you selected the records you want to export.

  5. Click Search within the current [# of selected] records only. Then, click the field value to link to the Modify Record page.

Format the DDE Table View

Note: The Direct Database Export (DDE) page is now also accessible via Start > System > Page and Data Management > DDE.

  1. On the start page, choose System under Setup in the main menu.
  2. Under Data Management, click Direct Database Export.
  3. Click Table View Setup.
  4. Use the following table to enter information in the fields:

    The following descriptions are only for fields that require special considerations.

    Field

    Description

    Use Font Tag

    Select the checkbox to apply font formats.

    Format Data

    Select the checkbox if you want the system to format the data within the table.

    Use Gridlines

    Select the checkbox if you want the table to separate each field of data with gridlines.

    Alternate Colors

    Select the checkbox if you want the table to display each row of data in a different color.

    Use Cell Padding

    Enter a number to indicate how much padding you want each cell of the table to contain around the text. For example, most users enter a number between 1 and 3.

  5. Click Submit.

Match Selections for Export

Match the records you searched for and selected in one table to records in another table to gather and select information so you can view what you need. For example, match records in the Students table to the CC (current grades) table.

Note: You cannot match tables that do not have a relationship or shared field. For example, you cannot match the Students table to the Teachers table.

Note: The Direct Database Export (DDE) page is now also accessible via Start > System > Page and Data Management > DDE.

  1. On the start page, choose System under Setup in the main menu.
  2. Under Data Management, click Direct Database Export.
  3. Choose one of the tables to match from the Current Table pop-up menu.
  4. Click Select all [#] records in this table.
  5. Click Match Selection.

  6. Choose the second table to match from the pop-up menu.
  7. Click Proceed to match selection. To export the selected records, see Export Records.

Export Records

Before exporting records, you must first select the records using the Direct Database Export function.

Note: The Direct Database Export (DDE) page is now also accessible via Start > System > Page and Data Management > DDE.

  1. On the start page, choose System under Setup in the main menu.
  2. Under Data Management, click Direct Database Export.
  3. Select records for exporting.
  4. Click Export Records.
  5. Use the following table to enter information in the fields:

    Field

    Description

    Fields

    Choose the fields you want to export a copy of the data. After you choose each field, the system inserts the field name in the text box. Enter as many fields as needed. Only one field appears per line. Separate multiple fields with a hard return.

    To include fields from another table, manually enter the name of the table in brackets, then the field name in the field box. For example, to export fields from the Sections table and include teachers' names, enter [teachers]lastfirst.

    To include database extension fields from another table, manually enter [Table.ExtensionName] in brackets, followed by the field name. For example, to export fields from the Sections table and include alternate course numbers, enter [Courses.CoursesCoreFields]Alt_Course_Number.

    Field Delimiter

    A field delimiter separates fields (or "columns") in the exported data. Choose how you want the system to separate each field in the export file:

    • Tab
    • Comma
    • None
    • Other: Enter the delimiter in the blank field.

    Record Delimiter

    A record delimiter separates records (or "rows") in the exported data. Choose how you want the system to separate each record in the export file:

    • CR: Carriage return
    • CRLF: Carriage return and line feed
    • LF: Line feed
    • Other: Enter the delimiter in the blank field.

    Surround Fields

    Select the checkbox if you want the system to surround each field with quotation marks in the export file.

    Column titles on 1st row

    Select the checkbox if you want the first row of the export file to have column titles indicating the fields included in each column.

    Sorting Records

    Determine the order of the records in the export file. Define a primary, secondary, and tertiary sort. In the first field in the Sort Field Name column, enter the field name by which you want to sort the records in the file primarily. Then, select one of the following to determine to sort records by this field in ascending or descending order:

    • < (descending)
    • > (ascending)
  6. Click Submit. For Mac users, the results of the export appear. For Windows users, continue to the next step.
  7. Choose File > Save As...
  8. In the Save dialog, specify a name, location, and file type.
  9. Click Save. Open the file using a spreadsheet or other application.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.