To export a table, you will actually be importing it into OpenOffice Calc (or Writer).
- From Calc, select the View menu, Data Sources.
- From the databases shown, select your database, then your table. It will appear in datasheet format.
- Click on the upper-left corner box to select the entire table and drag it into cell A1 of your spreadsheet. (Now, if you just want to export it, you may save it in any format Calc supports.)
- Rearrange/edit your column names as desired.
- Select the upper-left corner box to select the entire sheet, then copy it.
- From the Base main window, paste the table.
- In the dialog which appears, give the table a new name, select Definition and Data, Next, move all columns over, Next, adjust field types as needed.
- Click Create; when prompted, do not create a primary key.
- Edit the new table, and set the primary key field(s).
No comments:
Post a Comment