1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hi, as mentioned in the documentation the parameter should be typed in the sql statement in the format :parameter.
following the doc your code should look like:
response = rs_client.execute_statement(
ClusterIdentifier='my_cluster_name',
Database='my_db_name',
DbUser='my_user'',
Sql='call my_schema.this_is_my_proc(:in_param)',
Parameters=[{'name': 'in_param', 'value': 'this is the parameter'}],
StatementName='Test of SP call'
)
hope this helps,
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa