不好意思! 我有這個pl/sql塊它計算和打印從表中返回的值。 DECLARE
U_ID NUMBER :=39;
RETAIL BINARY_FLOAT:=1;
FLAG NUMBER;
BEGIN
SELECT NVL(RETAIL_AMOUNT,1),UNIT_ID INTO RETAIL, FLAG FROM UNITS WHERE UNIT_ID
片段批處理文件的SQL腳本(寫在窗口批處理文件) :: This setlocal is done to use variable syntax '!varname!' in nested for loop
setlocal enableextensions enabledelayedexpansion
echo on
SET AUTOMATION_ACCOUNT_ID = some val