Stored Procedures
Sample Data
CREATE TABLE t_accounts (
recid SERIAL PRIMARY KEY,
name VARCHAR NOT NULL,
balance dec(15,2) NOT NULL
);
drop table t_accounts;
INSERT INTO t_accounts (name,balance) values ('Adam',100),('Linda',100);
select * from t_accounts;Creating Procedure
Another Example
Last updated