$sql.preparedStatement.setString

Sets the designated parameter to the given Java String value.
Syntax
    $sql.preparedStatement.setString
DocumentationSets the designated parameter to the given Java String value. The driver converts this to an SQL VARCHAR or LONGVARCHAR value (depending on the argument's size relative to the driver's limits on VARCHAR values) when it sends it to the database.
    Paramter:
      parameterIndex - the first parameter is 1, the second is 2, ...
      x - the parameter value
    Returns:
    Throws:
      SQLException - if a database access error occurs
Examples
GroupSQL
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters3
Maximum parameters 3