Postgresql Tutorials | what is procedure in postgresql | postgresql create procedure |call procedure

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 13

  • @DindayalSahu-kc1tn
    @DindayalSahu-kc1tn 6 місяців тому +1

    Thanks a lot

  • @shashank2004
    @shashank2004 4 роки тому +1

    Nice explanation, what the difference between procedure and function in postgresql? What's the advantage of procedure over function? When should be go for procedure or function

    • @Training2SQLMSBI
      @Training2SQLMSBI  4 роки тому

      Thanks for your feedback ..
      We have couple of differences .. will cover soon..

  • @sandeepkongari5570
    @sandeepkongari5570 4 роки тому +1

    Hi, can we return result set can you give example how to do in procedure.

    • @seetaramy4956
      @seetaramy4956 2 роки тому

      No it doesn't support. Go for a table valued function.

  • @rahak123
    @rahak123 3 роки тому

    can we replace sq server stored procedure with Postgres procedure what is the dufference

  • @spacewavematrix3009
    @spacewavematrix3009 3 роки тому

    Please explain how to extract top 1 data with where clause from more than 3 different tables and store them in 3 different variables to generate xml or json out of it.

  • @pallaviacharya5094
    @pallaviacharya5094 2 роки тому

    I want to return 2 results from procedure is that possible

  • @lakshmanm5289
    @lakshmanm5289 4 роки тому

    Hi I want basic postgresql store procedure how to create using XML file data insert into one master table. Please share me link with script.

  • @cutaz1232
    @cutaz1232 4 роки тому

    I got an error syntax error at or near PROCEDURE

    • @Training2SQLMSBI
      @Training2SQLMSBI  4 роки тому

      Whats the error message. Can you pls provide the full script as well.

    • @cutaz1232
      @cutaz1232 4 роки тому

      @@Training2SQLMSBI CREATE PROCEDURE proc_selection ()
      language 'plpgsql'
      as $$
      begin
      select * from my_table;
      end;
      $$;