Search
OneNoteGem
  • Home
  • Addins
    • Windows Office Addins >
      • Gem for OneNote
      • OneNote Search Bar
      • OneNote Gem - Favorites
      • OneNote Batch
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • Row to OneNote
      • Auto OneNote
      • Favorite to OneNote
      • Bridge for EndNote and OneNote
      • Anchor to OneNote
      • Anchor to OneNote for PDF
      • Bring to OneNote
      • Gem Table for OneNote
    • Windows UWP Addins >
      • Gem Menu for OneNote UWP
      • CiteBoard for OneNote
      • OneReader
      • OneMind for Windows OneNote
      • OneNote Reminder Cloud (UWP)
      • OneNote Batch Cloud (UWP)
    • Mac Addins >
      • Gem Menu for Mac OneNote
      • CiteBoard for OneNote
      • Bring to Mac OneNote
      • OneMind for Mac OneNote
      • OneNote Reminder for Mac
      • OneNote Batch for Mac
      • Fix One for Mac - Fix OneNote Login, Sync Tools
    • Android Addins >
      • CiteBoard for OneNote
      • Fix One for Android - Fix OneNote Login, Sync Tools
    • Cross-Platform Addins >
      • OneNote Reminder
      • OneMind for OneNote
      • CiteBoard for OneNote
      • Fix One - Fix OneNote Login, Sync Tools
    • Markdown Addins >
      • Gem for OneNote
      • One Markdown
    • Mind Map Addins >
      • OneNote Gem - Favorites
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • OneMind for OneNote
    • Other Addins >
      • One Markdown
      • Clip to OneNote
      • WordNote
      • OneShare
      • Fix One for Windows - Fix OneNote Login, Sync Tools
  • Buy
  • Documents
  • FAQs
  • Templates
  • Support
  • Release
  • WordNote
Gem Table for OneNote
 
 
The table of merged cells for OneNote

Export Database Articles from phpMyAdmin as a CSV File and Import them into OneNote

2023-01-17 07:27
 

In phpMyAdmin, Create a View article_full for Export by SQL

 
In general, the database will put the title and body of the article in 2 tables.
At first, you can merging the title and body to a view.
You can use the following SQL to create the view:
 

create view article_full (id, title, body) as select table_title.id, table_title.title, table_body.body from table_title, table_body where table_title.id = table_body.tid

 

In phpMyAdmin, Create a View article_full for Export by SQL

 

Merged View article_full

The merged view contains:
  • Title
  • Body

Merged View article_full


phpMyAdmin Export the View as article_full.csv File

Choose when Export CSV:
Format: CSV
  • Columns separate with: ,
  • Columns enclosed with: “
  • Columns escaped with: ”
  • Put columns name in the first row: check
 
phpMyAdmin Export the View as article_full.csv File

Copy the Image Folder of the Article with the CSV File

Since the article may contain images, you can copy the image folder with the CSV file.
For example, if the image in the article is /uploads/a.png, you can copy the image folder “uploads” to the same layer as article_full.csv. “uploads” is a subfolder.
 


Copy the Image Folder of the Article with the CSV File

Import CSV File into OneNote

In OneNote Batch:
  1. Click “Import” tab -> Import CSV
  2. Select a OneNote section in the notebook tree on the left to store the imported articles.
  3. Open the article_full.csv file.
  4. It parses out how many columns are in the CSV and lists them. On the right, you can specify which column for Title (optional) and which column for Content (required).
  5. Finally, click the "Start" button to start importing records one by one into OneNote.
 
Import CSV File into OneNote


View the Imported Results in OneNote

When the OneNote Batch import is complete, you can view the results in OneNote.
 

View the Imported Results in OneNote




 
Download OneNote Batch

Related Documents

  • Export Evernote notes to HTML File and Import Them into Office OneNote
  • Export Notion Pages to HTML Files and Import Them into Office OneNote
  • OneNote's Google Keep Importer
Command Line
Tag System
MindMap Add-Ins Comparison
Search Add-Ins Comparison
One Markdown Syntax
Table Formula
Gantt

Gem Menu Templates
Repair OneNote
OneNote Download
English website Chinese website
Mobile Site
Copyright © 2011-2025 Digital GemSoft. OneNoteGem.com All Rights Reserved.