Which of the following code fragments would not raise an error?
A. DECLARE
v_amt1 number(5,2);
v_amt2 number(3,0);
BEGIN
v_amt1 := 32.50;
v_amt2 := ROUND(v_amt1)
DBMS_OUTPUT.PUT_LINE(v_ amt2);
END;
B. DECLARE
v_amt1 number(5,2);
v_amt2 number(3,0);
BEGIN
v_amt1 := 32.50;
v_amt2 := ROUND(v_amt1,1);
DBMS_OUTPUT.PUT_LINE(v_ amt2);
END;
C. DECLARE
v_amt1 number(5,2);
v_amt2 number(3,0);
BEGIN
v_amt1 := 32.50;
v_amt2 := ROUND v_amt1, 2;
DBMS_OUTPUT.PUT_LINE(v_ amt2);
END;
D. DECLARE
v_amt1 number(5,2);
v_amt2 number(3,0);
BEGIN
v_amt1 := 32.50;
v_amt2 := ROUND[v_amt1,0];
DBMS_OUTPUT.PUT_LINE(v_ amt2);
END;
Answer: B
You might also like to view...
Under the Sarbanes-Oxley Act, the audit committee of a public company has the following requirement(s):
A. the audit committee must preapprove all audit and nonaudit services. B. the audit committee must establish and maintain procedures to handle all issues that relate to accounting, internal control, and auditing. C. each member of the committee must be a board member and shall be independent. D. All of these.
OPIC insurance does not provide coverage against the loss of assets by U.S. firms in the case of the nationalization of farms or factories held in a foreign country
Indicate whether the statement is true or false
A ________ is a virtual meeting in which attendees view one of the attendees' computer screens for a more formal and organized presentation.
A. a webinar B. a screen-sharing application C. videoconferencing D. discussion forum E. the same computer
The Bretton Woods agreement set up the ________, which currently provides long-term loans to assist developing countries to build dams, roads, and other physical capital that contributes to economic development
A) International Monetary Fund B) World Bank C) Central Settlements Bank D) Bank of International Settlements E) European Exchange Rate Mechanism (ERM)