Create a procedure named status_ship_sp

Assignment Help PL-SQL Programming
Reference no: EM131380430

Question: Create a procedure named STATUS_SHIP_SP that allows a company to employee in the Shipping Department to update the status of an order to add shipping information. The BB_BASKETSTATUS table maintains a list of events for each order so that a shopper can see the current status, date, and comments as each stage of the order process is completed. The IDSTAGE column of the BB_BASKETSTATUS table identifies each stage and an IDSTAGE of 3 indicates the order has been shipped.

The procedure should allow the addition of a row indicating an IDSTAGE of 3, date shipped, tracking number, and shipper. The sequence BB_STATUS_SEQ is used to provide a value for the primary key column. Test the procedure with the following information:

Basket # = 3

Date Shipped = 20-FEB-03

Shipper = UPS

Tracking # = ZW2384YXK4957

Reference no: EM131380430

Questions Cloud

How do nonverbal cues change a message : First, how do nonverbal cues change a message? How might you change your nonverbal cues to change the meaning of a message. When does that work? When doesn't it. Secondly, how does nonverbal communication work in romantic relationships? What nonve..
Create graphical displays for these two groups : MPG. A consumer organization compared gas mileage figures for several models of cars made in the United States with autos manufactured in other countries. The data are shown in the table.
How concepts you have gained in the given course : Discuss how the concepts and knowledge, along with standards and professional qualifications, you have gained in thiscourse relate to the following professional occupational positions.
Using appropriate diagrams of wage and price setting : Using appropriate diagrams of wage and price setting and aggregate demand and aggregate supply, explain and discuss the effects of an increase in the price of oil, assuming that this increase in price leads to an increase in the markup set by firms a..
Create a procedure named status_ship_sp : Create a procedure named STATUS_SHIP_SP that allows a company to employee in the Shipping Department to update the status of an order to add shipping information
The location-specific advantages found in agglomeration : What are some of the location-specific advantages found in agglomeration, the clustering of economic activities in a concentrated area? What are the advantages and disadvantages for first movers? What are the advantages and disadvantages for late mov..
Which group had the greater interquartile range : If the mean reading level for boys was 4.2 and for girls was 4.6, what is the overall mean for the class?
What would you advise the importer to do : A US importer who owes and Belgian company 500,000 Euros payable in 30 days from today expects that the US Dollar will weaken during this period. What would you advise the importer to do? What would happen if the imported took your advice yet instead..
Should the law be able to punish this 52 year old man : Ex post facto laws are forbidden by the United States Constitution, and this protection prohibits the government from charging you with a crime using a law that was created after the crime was committed. If it was not a crime at the time an actor ..

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Write a program that does simplified bgp route advertising

Additionally, it will periodically check the modification time of the routing table file and if it detects that it has changed, it will re-read it and send BGP UPDATEs reflecting the changes to all connected peers. This functionality is described i..

  Write an sql select statement that would re-organize

Describe an algorithm you could use that would produce the required output - Write an SQL Select statement that would re-organize the results

  Write a script that uses two variables

Write a script that uses two variables to store (1) the count of all of the products in the Products table and (2) the average list price for those products. If the product count is greater than or equal to

  Specify the algorithm using a flowchart

Given M students, where M is a positive integer, develop an Algorithm to compute the numbers of 1st and 4th year students respectively. The students' years of study are provided, one at a time, as input to the algorithm. Specify the Algorithm usin..

  Write a select statement

Write a Select statement that determines whether the PaymentDate column of The Invoices table has any invalid values.

  Relational schema of a firm database - write a sql query

Display the vendor ID and vendor name of the items whose item quantity is the largest and display the item ID and item quantity of all items whoseitem quantity is less than the average quantity. Also display the average quantity

  Create advanced queries in a database

This lab will allow you to use SQL Server Management Studio to create advanced queries in a database. This software allows you to interact with the database directly.

  Specify the sql queries to retrieve a list of all doctors

Specify the SQL queries to retrieve A list of all doctors and the number of patients that were born before 01/01/1994.

  Create sql procedure to print out names and grade of student

Please create a PL/SQL function to return the average grade of students taking a given class in a given year and semester. The input parameters are the class name, year, and semester. Please write an anonymous PL/SQL program to call the function a..

  Write the sql select statement to display the average rent

Write the SQL SELECT statement to display the average rent of the properties. Write the SQL SELECT statement to display the property type, rooms, and rent sorted by the Type.

  Attempt the following1 run the lab0301sql script in the

attempt the following1. run the lab0301.sql script in the attached file to create the salhistory table. 2. display the

  Script below to create an updateable

Use the script below to create an updateable view named balance_due_view. Then, create and test an INSTEAD OF trigger named invoices_instead_of_insert that lets the user update the columns in the view by directly updating the Invoices table.

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