Question
Question from my PERL Course. I need to explain use of DBI and CGI on managing and reporting information on a database. I also have
Question from my PERL Course. I need to explain use of DBI and CGI on managing and reporting information on a database. I also have to explain the syntax to perform the tasks below.
Management is eager to see how Perl can connect and interact with databases and common gateway interface (CGI) applications.
For the database connection, you will need to download and install the database interface driver (DBI) and show the following using the Big_Data_Servers_Table.xlsx as your guide:
A connection to a database
A query from the database that returns all of the servers that have status of production
An insert into the database that adds a new server to the table with ("PERLBD4",128.33.23.198, "Development")
An update to the database that changes PERLDB2 from development status to production status
A delete on the database that removes the record information for PERLDB1 because it is no longer in service
For the CGI test, you should connect to the same data source and return the following:
The number of rows in the Big_Data_Servers_Table.xlsx
A query that shows all of the production servers
Use the attached spreadsheet as your guide. Your database and CGI tasks should reflect the actions against the spreadsheet as if it were a table in a database.
Complete the following:
Provide a 2-paragraph summary on how you might use DBI and CGI to manage and report on information in a database.
Share the syntax that is required to perform the DBI and CGI tasks. Simply cut and paste the Perl commands that you are using into a Word document.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started