[Solved] CREATE SEQUENCE IN MYSQL [closed]


Assuming you’re going to Oracle, just set up the statement, parse, and execute. There’s no need to do any binding because you have no bind variables. This is adapted from the PHP documentation of oci_parse:

$conn = oci_connect(your username, your password, your database);
$stid = oci_parse($conn, 'UPDATE tableName SET columnName = seq_test_id.NEXTVAL');
oci_execute($stid);

4

solved CREATE SEQUENCE IN MYSQL [closed]