title: How to insert data into table using stored procedures in postgresql
body: <pre><code>CREATE TABLE app_for_leave
  (
    sno integer NOT NULL,
    eid integer,
    ename varchar(20),
    sd date,
    ed date,
    sid integer,
    status boolean DEFAULT false,
    CONSTRAINT pk_snoa PRIMARY KEY (sno)
  );
  </code></pre>
  
  <p>Basic Insertion is :: </p>
  
  <pre><code>INSERT INTO app_for_leave(sno, eid, sd, ed, sid, status)
   VALUES(1,101,'2013-04-04','2013-04-04',2,'f' );
  </code></pre>
  
  <p>...</p>
  
  <pre><code>INSERT INTO app_for_leave(sno, eid, sd, ed, sid, status) VALUES (?, ?, ?, ?, ?, ?);
  </code></pre>
  
  <p>My Requirement:: How to insert data into a table using <strong>stored procedures</strong>?</p>