© EduPristine – www.edupristine.com
Agenda
Working with Databases
• Importing data from ERP Systems or other external sources
Ramanov, CPA, works with E&Y. His manager gave him some exported csv and prn data file and
asked him to import the data from the given files, massage the data and present it in a
presentable format. Ramanov, who has just cleared his CPA exam and started his professional
career, has never played around with such kind of data, so he is getting problem in following
activities:
Importing the Data
Mining the Data
Formatting the Data
Finally, create the report in a presentable format
Now, suppose he approached you and asked your help in preparing the report. Help Ramanov
in importing the data and preparing the report.
2
3
• Note: Excel automatically opens CSV file in proper format and you do not need to split Columns manually.
Hence CSV is the preferred file format in exporting/importing data, as it is almost fully compatible with
excel.
Choose the file type as Fixed width because choosing delimited as file type will split the data the moment it
finds a given delimiter (which is ‘space’ in the given case) between two data points.
Add/
Remove
Column
1
Note: The Image above shows auto detected pattern. You may need to adjust the same to suit your
requirements.
Follow the given instructions to adjust the data according to your requirement.
Refresh
to
update
the file
The image above shows, no Refresh option appears to update the excel sheet
1
2
1
3
2 4
2
Here you can also define data types of each column.
You can see in the image we have selected Date format for first column
Finally, click the Finish button to open the csv/prn file in excel.
2 1
From the given option select the appropriate table you want to import. So, select the Employee
Table as required by the case.
Step 3:
• After selecting the appropriate table that needs to be
imported, an “Import Data” window appears, which gives
option to select the “form” in which data is to be
presented. 1
1
2
1 2
Step 2:
• In “Create New Data Source” select a driver to set up a
data source.
• It is normally used to create data source link to Oracle
and other types of databases. However you can also
add and use other excel files as a data source.
• Suppose, we select “Microsoft Excel Driver” to set new 1
data source connection.
Step 3:
• Once the Driver is selected, an “ODBC Setup” window 1
opens.
• Use the window to name the “New Data Source” and
“Select the source file.”
• Here we selected an excel file.
2
5
3
Step 4:
• Once you have named the data source and selected the
source file, again the “ODBC Data Source” window
opens up with new added data
source(My_New_Source).
• Select the new added source (My_New_Source) and
press the “OK” button, it will open the excel file.
Step 6:
• After selecting the new data source
(My_New_Source) from “Data Source”
window, a “Query Wizard” opens, which
allows to select the data you want to include in
your query.
• From here follow the steps 3-7 from “Selecting
specific query from the data” (slide no. 23-27).
care@edupristine.com
www.edupristine.com
© EduPristine – www.edupristine.com