下面是代碼 declare
cursor c_data
is
select * from test_product_u;
begin
for i in c_data
loop
insert into test_product_u_final
(PRODUCT_NO, CREATED_DATE, DATE_FORMAT
我是編程新手,我在想如何聲明一個變量,我可以通過我的代碼。 我想實現的是: Myvariable = (select Column from table1 where column =1234 group by column);
select column from table2 where column in (myvariable);
select column from table3 w
我們如何在For循環中顯示變量? 對於離 set serveroutput on;
BEGIN
DBMS_OUTPUT.put_line('Starting');
FOR r IN (SELECT owner, table_name FROM all_tables WHERE owner in ('ABC','CDE'))
loop
DBMS_OUT
從C#代碼中,我試圖從Oracle調用PACKAGE.PROCEDURE()。在這個簡單的例子,我應該從過程調用一個值,但我得到的是錯誤: wrong number or types of arguments in call to 'RETURN_NUM' 過程聲明如下: PROCEDURE return_num(xNum OUT NUMBER) AS
BEGIN
xNum:=