Presentation is loading. Please wait.

Presentation is loading. Please wait.

More Oracle SQL Scripts. Highlight (but don’t open) authors table, got o External data Excel, and make an external spreadsheet with the data.

Similar presentations


Presentation on theme: "More Oracle SQL Scripts. Highlight (but don’t open) authors table, got o External data Excel, and make an external spreadsheet with the data."— Presentation transcript:

1 More Oracle SQL Scripts

2 Highlight (but don’t open) authors table, got o External data Excel, and make an external spreadsheet with the data

3 Excel export dialog box

4 Resulting Excel file

5 Right click on header A at top of first column and choose Insert from the menu

6 Enter the text seen below into cell A2 and copy it down (ask if you don’t know how)

7 Add a right parenthesis in a column on the right- hand side

8 Now use Excel’s Save AS and choose Other Formats

9 Use the “Save-as type” drop-down and choose CSV

10 Close Excel and Open the CSV file in Notepad

11 Delete the first row

12 Go to Edit/Replace

13 O’Leary!!!!!!!!!!!!! Replace single quote with two single quotes (not a double quote). Replace All.

14 Replace comma with single-quote comma single quote. Click Replace All.

15 Next replace left parenthesis single- quote comma with left parenthesis

16 Replace comma single-quote right parenthesis with right parenthesis


Download ppt "More Oracle SQL Scripts. Highlight (but don’t open) authors table, got o External data Excel, and make an external spreadsheet with the data."

Similar presentations


Ads by Google