ColumnStore CREATE PROCEDURE
Creates a stored routine in ColumnStore.
Syntax
CREATE
[DEFINER = { user | CURRENT_USER }]
PROCEDURE sp_name ([proc_parameter[,...]])
[characteristic ...] routine_body
proc_parameter:
[ IN | OUT | INOUT ] param_name type
type:
Any valid MariaDB ColumnStore data type
routine_body:
Valid SQL procedure statementColumnStore currently accepts definition of stored procedures with only input arguments and a single SELECT query while in Operating Mode = 1 (VTABLE mode). However, while in the Operating Mode = 0 (TABLE mode), ColumnStore will allow additional complex definition of stored procedures (i.e., OUT parameter, declare, cursors, etc.)
See Operating Mode for information on Operating Modes.
The following statements create and call the sp_complex_variable stored procedure:
This page is: Copyright © 2025 MariaDB. All rights reserved.
Last updated
Was this helpful?

