Please take this survey to help us learn more about how you use third party tools. Your input is greatly appreciated!

Creating a stored procedure returning multiple rows

Is Vertica going to develop something like stored procedures and/or macros, that will contain SQL, returning multiple rows?

Asked during BDC session The Shortest Path to Vertica - Best Practices for Data Warehouse Migration & ETL
@marcothesane @Maurizio


  • marcothesanemarcothesane Administrator

    Hi Drea -
    I think that the stored procedure returning table is a concept from other DBMSs invented to ease the life of their users for use cases that don't apply to Vertica.
    It's very much the St. Bernard of my part of the presentation . We do have the elevator.
    If really needed, there is the User Defined Transform extension, which can be called from within a SELECT, reads 0 to m rows, and creates a different number of output rows, which runs pretty efficiently and fits perfectly into the Vertica query engine.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.