Write the c++ programming language that has an sql query

Assignment Help C/C++ Programming
Reference no: EM13768761

Purpose:

This laboratory provides some experience working with the C++ programming language that has an SQL query and SQL update embedded in it.

Procedure:

Follow all the procedures in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx prior to performing the procedure below.

Be sure to load the C++ to ProQueryExample code presented in the Appendix A of lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx.

1. Be sure to select a Visual C++ Project Type. Also select a Win32 Console Application Template
(step 6 in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx.)

Enter the name ProQuery for the project (step 7).

2. Once you have started your source code, be sure to add the include files and the library files as indicated in my Oracle Access in C++ in ECET-450 document.

This should have been done in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx

3. In the Solution Explorer, insert the source code from the ProQueryExample.cpp file into the ProQuery.cpp file to add the needed C++ code. You will want to use most of the classroom code as is. However, you need to modify the code so that you list the sales representative's last names, each of their customer's balances, and each of their customer's names in this order. Be sure to update the column headings. Update the spacing between columns if necessary.

This is also done in lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx

4. In your ProQuery.cpp source file, modify the source code so that it changes the customer balance of Streaming Direct from $210.40 to $337.26. Rerun the query in step 3 above. Modify the source to return the balance of Streaming Direct to $210.40. Rerun the query in step 3 above. Print out a copy of your output.

5. Submit a cover sheet, a copy of your output, and the source code that you used to obtain it. Follow any additional instructions that your instructor may give you.

Step 4 and 5 are the real lab exercise part. Other steps before that are necessary to set up the lab and should have been done using lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx
Part B:

Purpose:

This laboratory provides some experience working with the C++ programming language that has an SQL insert and an SQL delete embedded in it.

Procedure:

When you have completed Part A, most of the following should have been performed except the name of the project to be entered.

Be sure to have a copy of the C++ to ProInsertExample code presented in the Appendix B of lab07Programmable_Access_to_Oracle_in_the_iLab_System.docx..

1. Select a new project. Be sure to select a Visual C++ Project Type. Also select a Win32 Console Application Template. Create a folder on the F drive on the iLab server. Enter the name ProInsert for the project.

2. Once you have started your source code, be sure to add the include file and the library file as indicated in my Oracle Access in C++ in ECET-450 document.

3. In the Solution Explorer, insert the source code from the ProInsertExample.cpp file into the ProInsert.cpp file to add the needed C++ code. You will want to use most of the classroom code as is. However, you are to modify the code so that you display the contents of the Line table.

4. Display the contents of the Line table before doing the insertion. Modify the member function to insert a new row in the Line table. Add the following row: Invoice number: 42447, product ID: KW114, number ordered: 1, and price: $595.00. Be sure to update the column headings. Update the spacing between columns if necessary.

5. Modify the member function that deletes this new row inserted in step 3 above. Display the contents of the Line table again. Print out a copy of your output that displays the Line table before the insertion, of the Line table after the insertion, and the Line table after the deletion.

6. Submit a cover sheet, a copy of your output, and the source code that you used to obtain it. Follow any additional instructions that your instructor may give you.

Reference no: EM13768761

Questions Cloud

Write a paper about transportations in united state : Write a paper about Transportations in United state. Please make sure that you include FOUR IN TEXT CITATIONS (all informaitions mentioned in the attachments) also make sure to include references also.
Understand product value and the competitive environment : In this assignment you will write a blog about research tools that can help a marketer understand product value and the competitive environment.
Explain idea of court decisionsin in plessy v furguson : Explain the general idea of court decisionsin in plessy v. Furguson(1896) and brown v. Board of educaion(1954).
Describe the major points of the report : Executive Summary: State the purpose of the report and describe the major points of the report. Service and/or  Equipment Description: This section should be at least one page.
Write the c++ programming language that has an sql query : This laboratory provides some experience working with the C++ programming language that has an SQL query and SQL update embedded in it.
Statistics related mathematical problem : How many employees should we sample if we want to change the ME to 2.5 with 90% confidence?
Alongside general services managers : Financial managers may work alongside general services managers to address certain measures of liquidity. How might a financial manager and the department administrator for your chosen capital investment plan work together to make an effort on red..
Describe a scenario where communication was ineffective : Develop a communication analysis paper in which you describe and evaluate a scenario (in-person, through email, or using both communication avenues) where communication was ineffective.
Discussing job order costing systems : Let's begin by discussing when job order costing systems would be more effective than a process costing system. Please give examples of types of businesses where each would be appropriate. Do these costing systems apply only to manufacturing?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd