Presentation is loading. Please wait.

Presentation is loading. Please wait.

Importing Data from a Spreadsheet If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse.

Similar presentations


Presentation on theme: "Importing Data from a Spreadsheet If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse."— Presentation transcript:

1 Importing Data from a Spreadsheet If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or press space bar to continue. This presentation was prepared by Professor Steve Ross, with the advice of other MIS Faculty, for use in MIS Classes at Western Washington University. Please contact Dr. Ross for permission to use in other settings..Dr. Ross

2 Introductory Slides See “ImportingData - Overview and Preparation of the Database” for an overview, for creating a database and for basic preparation steps. These slides introduce a basic approach to using the Import Wizard provided with SQL Server Management Studio.

3 3.Import the data a.Right-click Database name; choose Tasks; choose Import Data…; click Next > on the splash screen b.Choose the Data Source (Microsoft Excel) and browse to locate the file  c.Note these settings Import the Data

4 DESTINATION  Click Next until you reach the window with “Sister Cities$” (illustrated on the next slide)

5 Note: in this example “tblCity” is the entire Excel workbook. “Sister Cities$” refers to a tab in the workbook.  Check “Sister Cities$” as shown above.  Click Edit Mappings

6  Under “Edit Mappings”, choose… int as the data type for Population nvarchar with size max for Description  Click OK to close Edit Mappings.  Click to the last window, then Finish

7  Continue through the import wizard until you reach the last window. Note: along the way you will encounter the yellow warning symbol that you see below. Ignore it and keep going to the last window)

8  Click the Finish button. The importation should complete without problem.  Close the wizard. The new table in your database will be named ‘Sister Cities$’. Remove any spaces or special character symbols, e.g. $ or quotation marks..

9 Verify the Import Results 4.Inspect the table (right-click table name, choose Select Top 1000 Rows) a.Data in expected columns b.Numeric data format, ensure no loss c.Character data, check for truncation


Download ppt "Importing Data from a Spreadsheet If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse."

Similar presentations


Ads by Google