You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an input metadata you will get a Primary Key field to provide the data inside as a clause value.
208
208
209
+
### Execute stored procedure
210
+
This action calls stored procedure from selected `DB Schema` and `Stored procedure` name
211
+
#### Input fields description
212
+
-**DB Schema** - a schema that contains a procedure to call. Must be selected from the dropdown list before `Stored procedure` name
213
+
-**Stored procedure** - a name of a procedure to call, can be selected from the dropdown list
214
+
215
+
Metadata generates automatically using `IN` & `IN OUT` procedure parameters for input, and `OUT` & `IN OUT` procedure parameters for output.
216
+
217
+
As array fields this action now support ONLY:
218
+
- CURSOR (as SQL type)
219
+
- REF CURSOR (as ORACLE type)
220
+
The result for this type of fields would be returned as an array of JSON objects.
221
+
222
+
This action DOES NOT processing MSSql @RETURN_VALUE.
223
+
224
+
For MySQL component same to DATABASE is same to SCHEMA by it's
225
+
[definition](https://dev.mysql.com/doc/refman/8.0/en/getting-information.html), so DB Schema dropdown is empty for MySQL.
226
+
227
+
[MSSQL DB](https://docs.microsoft.com/en-us/sql/t-sql/statements/create-procedure-transact-sql?view=sql-server-2017) stored procedures has only IN and INOUT fields.
228
+
209
229
### Create or update record action (Deprecated)
210
230
This action exists in JDBC component only for backward compatibility. [**Upsert row by primary key**](#upsert-row-by-primary-key-action) Action is recommended to use.
211
231
@@ -219,6 +239,7 @@ This action exists in JDBC component only for backward compatibility. [**Upsert
219
239
-``Oracle`` - compatible with Oracle Database 8.1.7 - 12.1.0.2
220
240
-``MSSQL`` - compatible with Microsoft SQL Server 2008 R2 and higher
221
241
3. The current implementation of the action ``Upsert By Primary Key`` doesn't mark non-nullable fields as required fields at a dynamic metadata. In case of updating such fields with an empty value you will get SQL Exception ``Cannot insert the value NULL into...``. You should manually fill in all non-nullable fields with previous data, if you want to update part of columns in a row, even if data in that fields doesn't change.
242
+
4. The current implementation of the action ``Execute stored procedure`` doesn't support ResultSet response type parameters for stored procedure output.
0 commit comments