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

  Variables(x,y) be represented by any linked list forms types

How can a polynomial in two variables(x,y) be represented by any linked list forms(types)? Each node should represent a term and should contain the powers of x, and y as well as the coefficient of that term, write C++ functions to do the following

  A constructor that constructs a rectangle2d

A constructor that constructs a Rectangle2D with specified points as coordinates.A no-argument constructor that creates the rectangle with points (0, 0), (5, 5) and (0, 5) and

  Computes the average of five exam scores

Write a program that calculates and prints the take-home pay for a commissioned sales employee and write a program that computes the average of five exam scores.

  Difference between a constant pointer

Explain the difference between a constant pointer to non-constant data and a non-constant pointer to constant data. Show the syntax to declare them.

  Write a function to calculate tax

write a function to calculate tax, the sample output is : Filing Status (1) Single (2) Married (3) Head of Household (0)

  Takes n number of element from user

Write a C program which takes n number of element from user (where, n is specified by user) and stores data in an array. Then, this program displays the largest element of that array.

  Consider the following schema of an online flight

consider the following schema of an online flight reservation agency.customercid lastname firstname dobflightfid

  In this program you will implement a simple reverse polish

in this program you will implement a simple reverse polish notation rpn calculator. rpn is a notation in which

  Writer a program that allows the user to enter an unknown

writer a program that allows the user to enter an unknown number of characters stores those characters in a data

  Write a program that reads an array with wind-tunnel test

write a program that reads an array with wind-tunnel test data then allowss the user to enter a flight-path angle. If the angle is within the bounds of the data set, the program should then use linear inteerpolation to compute the corresponding coeff..

  Write a c function that converts a character to upper case.

Write a C function that converts a character to upper case. The function should have the prototype char to_upper(char ch); The characters given as input to the function are assumed to be in the sets {'a', ..., 'z'} and {'A', ... , 'Z' }. Do not use a..

  Define the sums of every even column of 2d array

Define the sums of every even column of 2D array in C language - Prepare this program in c language. Show all your work.

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