For This or a Similar Paper Click Here To Order Now
Database Connectivity and Web Technologies
Questions: Use MS Excel to connect to the Ch02_InsureCo MS Access database using ODBC, and retrieve all of the AGENTs.
(Example: ch15_problem1_Jones.xls)
Use MS Excel to connect to the Ch02_InsureCo MS Access database using ODBC, and retrieve all of the CUSTOMERs.
(Example: ch15_problem1_Jones.xls)
Use MS Excel to connect to the Ch02_InsureCo MS Access database using ODBC, and retrieve the customers whose AGENT_CODE is equal to 503.
(Example: ch15_problem1_Jones.xls)
Create a System DSN ODBC connection called Ch02_SaleCo using the Administrative Tools section of the Windows Control Panel.
(Example: ch15_problem1_Jones.xls)
Use MS Excel to list all of the invoice lines for Invoice 103 using the Ch02_SaleCo System DSN.
(Example: ch15_problem1_Jones.xls)
Create a System DSN ODBC connection called Ch02_Tinycollege using the Administrative Tools section of the Windows Control Panel.
(Example: ch15_problem1_Jones.xls)
Use MS Excel to list all classes taught in room KLR200 using the Ch02_TinyCollege System DSN.
(Example: ch15_problem1_Jones.xls)
Create a sample XML document and DTD for the exchange of customer data. Use Section 15-3a as your guide.
(Example: ch15_problem1_Jones.doc)
Create a sample XML document and DTD for the exchange of product and pricing data. Use Section 15-3a as your guide.
(Example: ch15_problem1_Jones.doc)
Create a sample XML document and DTD for the exchange of order data. Use Section 15-3a as your guide.
(Example: ch15_problem1_Jones.doc)
Create a sample XML document and DTD for the exchange of student transcript data. Use your college transcript as a sample. Use Section 15-3a as your guide.
(Example: ch15_problem1_Jones.doc)
π Struggling with where to start this assignment? Follow this guide to tackle your assignment easily!
This assignment focuses on database connectivity using ODBC (Open Database Connectivity) and working with XML and DTD to exchange data. You’ll be using MS Excel to retrieve data from an MS Access database and create XML documents for structured data exchange. Follow these steps carefully:
π₯οΈ Part 1: Connecting MS Excel to an MS Access Database via ODBC
Step 1: Set Up ODBC Connection
Before retrieving data, you need to create an ODBC connection to the MS Access database.
- Open Windows Control Panel β Go to Administrative Tools β Open ODBC Data Sources (32-bit or 64-bit)
- Click on the “System DSN” tab β Select Add
- Choose Microsoft Access Driver (.mdb, .accdb)
- Enter the Data Source Name (DSN):
- For the first part, name it Ch02_InsureCo
- For the other parts, use Ch02_SaleCo and Ch02_TinyCollege
- Click Select and browse to find the Ch02_InsureCo.mdb file.
- Click OK to save the connection.
Step 2: Retrieve Data in MS Excel
Once the ODBC connection is set up, follow these steps:
- Open MS Excel
- Go to Data β Get Data β From Other Sources β From ODBC
- Select the Ch02_InsureCo DSN
- Choose the AGENT table β Click Load
- Save the file as
ch15_problem1_YourName.xls
β Repeat the same process to retrieve:
- All CUSTOMERS
- Customers with AGENT_CODE = 503 (Apply a filter after importing)
- Invoice lines for Invoice 103 (Ch02_SaleCo DSN)
- Classes taught in room KLR200 (Ch02_TinyCollege DSN)
π Part 2: Creating XML Documents with DTD
Now, you will create XML (Extensible Markup Language) documents and DTD (Document Type Definition) files to structure different types of data.
Step 1: Understanding XML Structure
XML is used to store and exchange data in a structured format. A DTD file defines the structure of the XML document.
Step 2: Create XML and DTD for Customer Data
- Open Notepad or XML Editor (e.g., Notepad++).
- Create a new XML file:
- Create a DTD file (
customers.dtd
):
- Save both files as
ch15_problem1_YourName.xml
andch15_problem1_YourName.dtd
β Repeat the same process to create XML and DTD files for:
- Product and Pricing Data
- Order Data
- Student Transcript Data
π Final Submission Checklist
β
MS Excel files: Retrieve AGENTS, CUSTOMERS, filtered CUSTOMERS, invoices, and classes
β
System DSN ODBC connections: Ch02_InsureCo, Ch02_SaleCo, Ch02_TinyCollege
β
XML & DTD files: Customer data, product pricing, orders, student transcripts
β
Correct filenames: ch15_problem1_YourName.xls
and ch15_problem1_YourName.doc
By following these steps carefully, you’ll successfully complete the assignment. π Good luck! π‘