Q47.webp
I

Q47.webp

Question: 47
(Choose 1 answer)
The following SQL statement creates a stored procedure that selects Customers from a particular City with a
particular PostalCode from the "Customers" table:
CREATE PROCEDURE SelectAllCustomers
@City nvarchar(30),
@PostalCode nvarchar(10)
AS
BEGIN
SELECT *
FROM Customers
WHERE City @City
AND PostalCode = @PostalCode;
END;
GO
Which of the following is the way to execute a procedure?
A. EXEC SelectAllCustomers @City = 'London', @PostalCode = 'WA11DP';
B. EXECUTE SelectAllCustomers 'London', 'WA11DP' OUTPUT
C. EXEC@City = 'London', @PostalCode = 'WA11DP';
D. EXECUTE SelectAllCustomers

Thông tin

Category
DBI202
Thêm bởi
Inumaki871
Ngày thêm
Lượt xem
1,465
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom