Learn R Programming

paws.database (version 0.1.5)

rdsdataservice_execute_sql: Runs one or more SQL statements

Description

Runs one or more SQL statements.

Usage

rdsdataservice_execute_sql(awsSecretStoreArn, database,
  dbClusterOrInstanceArn, schema, sqlStatements)

Arguments

awsSecretStoreArn

[required] The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.

database

The name of the database.

dbClusterOrInstanceArn

[required] The ARN of the Aurora Serverless DB cluster.

schema

The name of the database schema.

sqlStatements

[required] One or more SQL statements to run on the DB cluster.

You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.

Request syntax

svc$execute_sql(
  awsSecretStoreArn = "string",
  database = "string",
  dbClusterOrInstanceArn = "string",
  schema = "string",
  sqlStatements = "string"
)

Details

This operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.