Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

...

Syntax

...

sqlCallStoredProcedure(datasourceName, procedureName, [...])

...

Package

...

sql

...

Alias

...

Pkg Usage

...

callSP(datasourceName, procedureName, [...])

Description

Excerpt
hiddentrue
Executes the stored procedure over the defined datasource name / JNDI datasource.

Executes the stored procedure over the defined datasource name / JNDI datasource.

Parameters

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

Parameter name

...

Type

...

Required

...

Description

...

datasourceName

...

String

...

Yes

...

Datasource name / JNDI name. For Jira database, this is set to "jdbc/JiraDS" by default.

...

procedureName

...

String

...

Yes

...

Stored procedure name.

Return Type

String []

Examples

Example 1

Where showMessage() is a stored procedure existing in myDB database.

Code Block
languagejs
string [] results = sqlCallStoredProcedure("myDB", "showMessage");

Example 2

Where addComponent(String id, String name) is a stored procedure existing in myDB database.

Code Block
languagejs
string [] results = sqlCallStoredProcedure("myDB", "addComponent", "componentId", "componentName");

Note

To configure the data source, check the SQL data sources configuration chapter.

See also

array_routines
Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "system_routine" and space = currentSpace ( )
labels
Include Page
SIL:sqlCallStoredProcedure
SIL:sqlCallStoredProcedure