1 2 3 | DECLARE @V_TEST VARCHAR (10) SET @V_TEST = 'aaa' SELECT * FROM 테이블 WHERE 컬럼=@V_TEST |
1 2 3 4 5 | DECLARE V_TEST VARCHAR2(10); V_TEST := 'AAA' ; BEGIN SELECT * FROM 테이블 WHERE 컬럼=@V_TEST END ; |
1 | SELECT * FROM 테이블 WHERE 컬럼=:V_TEST |