Esempi sulle store procedure
This commit is contained in:
18
procedure/PROCEDURA_4.sql
Normal file
18
procedure/PROCEDURA_4.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
CREATE OR REPLACE PROCEDURE Sp_SelCliente(CODFID_I IN CLIENTI.CODFIDELITY%TYPE,
|
||||
RECORDSET_P OUT SYS_REFCURSOR)
|
||||
IS
|
||||
BEGIN
|
||||
|
||||
OPEN RECORDSET_P FOR
|
||||
SELECT
|
||||
A.CODFIDELITY,
|
||||
A.NOME,
|
||||
A.COGNOME,
|
||||
A.COMUNE,
|
||||
A.PROV,
|
||||
A.STATO
|
||||
FROM CLIENTI A
|
||||
WHERE A.CODFIDELITY = CODFID_I;
|
||||
|
||||
END Sp_SelCliente;
|
||||
Reference in New Issue
Block a user