Question

create a new stored procedure called Insert_ShippingMethod_Data and write the necessary code to insert the shipping method data into your tables

shippingMethods shipID company method 101 102 103 104 201 202 203 204 301 302 303 304 fRate vRate baseWeight Fedex Fedex Fedex Fedex UPS UPS UPS UPS USPS USPS USPS USPS 0.5 0.5 Standard Ground 10 Standard Air Express Air Next Day Air Standard Ground15 Standard Air Express Air Next Day Air Standard Ground 5 Standard Air Express Air Next Day Air 20 30 40 20 10 10 0.5 0.5 0.5 0.5 0.5 0.5 15 15 15 15 20 25 35 45 15 30 40 10 10

0 0
Add a comment Improve this question Transcribed image text
Answer #1

If you have any doubts, please give me comment...

CREATE PROCEDURE dbo.Insert_ShippingMethod_Data

@shipID NUMBER(4),

@company NVARCHAR(50),

@method NVARCHAR(50),

@fRate NUMBER(4),

@vRate NUMBER(3,2),

@baseWeight NUMBER(4)

AS

BEGIN

SET NOCOUNT ON

INSERT INTO dbo.shippingMethods(shipID, company, method, fRate, vRate, baseWeight)

VALUES (@shipID, @company, @method, @fRate, @vRate, @baseWeight)

END

GO

EXECUTE dbo.Insert_ShippingMethod_Data

@shipID = 101,

@company = 'Fedex',

@method = 'Standard Ground',

@fRate = 10,

@vRate = 0.5,

@baseWeight = 20

GO

Add a comment
Know the answer?
Add Answer to:
create a new stored procedure called Insert_ShippingMethod_Data and write the necessary code to insert the shipping...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • All of the data for your project has been inserted with the exception of the shippingMethods...

    All of the data for your project has been inserted with the exception of the shippingMethods table. Your task is to create a new stored procedure called Insert_ShippingMethod_Data and write the necessary code to insert the shipping method data into your tables. Once you create the stored procedure, you must execute the stored procedure in order to populate the shippingMethods table. The data to be inserted into your table is below. Check task 5 for the data types of each...

  • In the simplex method, which of the following is considered a Standard Maximum problem? (Please select...

    In the simplex method, which of the following is considered a Standard Maximum problem? (Please select one answer). O Maximize: Z = 2x1 + 3.22 +4.03 Subject to the following constraints: 21 +2:02 < 12 2 + 338 2 > 0 22 >0 63 > 0 Maximize: Z = 1 + 2x2 Subject to the following constraints: 2.1 +22 < 8 2 + 22 < 5 X1 <0; X2 > 0 Maximize: P = -1 +232 + 3003 Subject to...

  • EX17-4. EX17-5. EX17-7. & EX17-8.pdf 5 - EX17-3, EX17-4, EX17-5, EX17-7, & EX17-8.pdf EX17-3. EX17-4, EX17-5,...

    EX17-4. EX17-5. EX17-7. & EX17-8.pdf 5 - EX17-3, EX17-4, EX17-5, EX17-7, & EX17-8.pdf EX17-3. EX17-4, EX17-5, EX17-7, & EX17-8.pdf (399 KB) EX 17-5 Entries for materials OBJ. 2 Eclectic Ergonomics Company manufactures designer furniture. Eclectic Ergonomics uses a job order cost system. Balances on April 1 from the materials ledger are as follows: Fabric $ 67,500 Polyester filling 20.200 Lumber 150,000 Glue 6,550 The materials purchased during April are summarized from the receiving reports as follows: Fabric $338.400 Polyester filling...

  • 4 Problems - CH.16 - EX17-3, EX17-4, EX17-5, EX17-7, & EX17-8.pdf (399 KB) Chapter 17 Joo...

    4 Problems - CH.16 - EX17-3, EX17-4, EX17-5, EX17-7, & EX17-8.pdf (399 KB) Chapter 17 Joo Uroer Cosung 017 OBJ. 2 b. $2,280 EX 17-3 Cost of materials issuances under the FIFO method An incomplete subsidiary ledger of materials inventory for May is as follows: RECEIVED ISSUED BALANCE Receiving Report Number Quantity Unit Price Materials Requisition Number Unit Price Amount $30.00 $8,550 130 $32.00 Quantity Amount Date Quantity May 1 285 May 4 May 10 May 21 100 May 27...

  • 33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim...

    33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim plans to repay the loan on March 11. Assume the loan is on ordinary interest. How much will Jim repay on March 11? (Use Days in a year table) (Round your answer to the nearest cent.) Jm repay etbook 7-1 TABLE Exact days-in-a-year calendar (excluding leap year)" Day of month 30 31 30 31 28 31 30 31 31 30 31 31 Dec Mar...

  • Use UBS! Type OS03 ASSIGNMENT 6 NOOR AS 1) Create the following charts for Manufacturing Account....

    Use UBS! Type OS03 ASSIGNMENT 6 NOOR AS 1) Create the following charts for Manufacturing Account. Account Description S.A. Account Code 7000/000 Manufacturing Account MA 7000/100 Raw Materials HD 7000/101 Opening Stock - Raw Materials J 7000/102 Purchase of Raw Materials J 7000/103 Carriage Inwards 7000/104 Custom Duty 7000/105 Closing Stock - Raw Materials CS 7000/199 TO 7000/200 Direct Labours HD 7000/201 Production Wages 7000/202 E.P.F. Contribution (Factory) 7000/203 SOCSO Contribution (Factory) 7000/299 TOS 7000/300 Factory Overheads HD 7000/301 Factory...

  • $300,000 in sales on account had not been recorded but were shipped FOB Shipping Point on...

    $300,000 in sales on account had not been recorded but were shipped FOB Shipping Point on December 31. The cost of this inventory was $140,000. Bruce and Emmett use a perpetual inventory system. Employees are allowed to carry over up to 10 days of earned vacation days per year up to 40 days. Employees earn an average of $150 per day. A total of 500 earned vacation days will be carried over to 2020. It is probable that the employees...

  • $300,000 in sales on account had not been recorded but were shipped FOB Shipping Point on December 31

    Roxy & Harley CorporationUnadjusted Balances12/31/2016  DebitCredit101Cash$ 850,000102Cash Equivalents$ 76,000301Common Stock ($10 par)$         1,470,000103Accounts Receivable$ 1,650,000131Goodwill$ 350,000125Investments$ 1,351,735602Bad debts expenses$ 0122Building$ 1,750,000613Telephone Expense$ 40,398617Research & Development$ 580,000   601Office Expenses$ 430,000   107Other Current Assets$ 51,063121Equipment$ 974,000   618Insurance Expense$ 170,000   620Payroll taxes Expense$  336,975204Payroll taxes payable$ 36000   608Office Wages Expense$             800,000132Other Intangible Assets$             500,000310Dividends$             100,000123Land$             620,000106Prepaid expenses$             245,186614Utilities Expenses$             156,000615Wages Expense$         1,924,000616Travel & Entertainment Expense$             440,000105Inventory$         2,750,000315Treasury Stock$             500,000404Sales Discounts$             539,000420Investment Income$               56,580421Gain/Loss on Disposal205Interest Payable$               25,100619Income Tax Expense210Income Tax payable104Allowance for Doubtful Accounts$               50,000612Dues...

  • I am a student of EST, and now I have a group open project, which required us to design a device ...

    I am a student of EST, and now I have a group open project, which required us to design a device using components as shown below. We can choose maximum 9 credits worth of components, and the credits are marked after each component. I am asking for some good ideas. Please describe what can be made and what components should be used. Please provide ideas as more as possible. 1-101-Ultrasonic Sensor-Credit 1 2-102-Sound Wave Sensor (MAX9812)- Credit 2 3-103-Microphone Sound...

  • Check My Worl eBook New York City is the most ex standard deviation of $55. Use...

    Check My Worl eBook New York City is the most ex standard deviation of $55. Use Table 1 in Appendix B in the United States for lodging. The mean hotel room rate is $204 per night (USA Today, April 30, 2012). Assume that room rates are normally distribute What is the probability that a hotel room costs $225 or more per night (to 4 decimals)? 0.3513 b. What is the probability that a hotel room costs less than $140 per...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT