Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server -- Oracle
Message
De
03/09/2001 04:22:43
 
 
À
Tous
Information générale
Forum:
Oracle
Catégorie:
Autre
Titre:
SQL Server -- Oracle
Divers
Thread ID:
00551717
Message ID:
00551717
Vues:
52
1. How to count newly inserted records in a table of oracle, as in SQL Server

SELECT COUNT(*) FROM inserted

How the similar can be obtained in Oracle.


2. How to call a stored proc. from 'SQL>' prompt. For example I have a procedure defined as,

CREATE OR REPLACE PROCEDURE mytest (var IN OUT varchar2)
AS
BEGIN
INSERT INTO TEST (Name, Age)
VALUES ('aaa',25);
END;
/

Now i want to execute this from the sql prompt.


Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform