Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2012

    Unanswered: Postgresql Function

    i want to create a function in postgresql that take input for columns from user for example first_name , last_name, addres. and will put them into table , and i also want to use exception if user enters wrong data. will some one help me how can i create thats function , because i am new to postgresql . i know how to do it in MS-SQL , i also have that code .if you dont understand what am trying to say . i can post sql code .thanks

  2. #2
    Join Date
    May 2008
    Why do you need a stored procedure to do this? A plain INSERT will accomplish everything you want just fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts