결과 출력 부분에서 Script Output에서 Grid 를 선택하면 아래와 같이 빨간 네모 박스 부분이 활성화 된다.
그리고 엑셀로 출력시 한글 깨짐 현상이 발생하는데 그에 대한 해결은 설정 옵션을 추가 하면 된다.
Excel 파일로 Export 된 데이터를 Import 하려면 메뉴에서 Database -> Import -> Import Table Data
Import 하는 방법을 스샷으로 간단하게 훑어 보자.
Export to File Select Export To->File menu item from table popup menu. Saved file can be later opened as script file and executed directly.
Import from File You can import previously exported data by selecting Import From->File menu item from table popup menu. If table name in the file different from selected table it will be automatically replaced. Also file can be opened as ordinary file in Script Editor.
Export to Excel Select Export To->Excel menu item from table popup menu to copy all table data to Excel
Import from Excel You can import table data from Excel by first selecting range in Excel which contains table data with table column names in the first row. Order of columns is not important. Some column can be omitted too. To import data from Excel select table into which you want to import data. Right click and select Import From menu item. Select menu item with Excel session in which you previously selected data. Data from Excel will appear in a new Script Editor window as a series of INSERT statements. Now you can edit or execute script to insert data into the table. |