Documentation — Commands reference
Runs a statement directly on the segments of a table. It is the tool for what SynSQL does not do itself: indexes, constraints, maintenance.
execute [force] [query] on TABLE_NAME [upon all segments | upon SERVER_NAME] STATEMENT;
query is optional and means nothing.upon all segments (the default) runs the statement on every segment; upon SERVER_NAME on the segments of one data broker.force runs the statement on the others.execute on orders upon all segments create index ix_customer on orders (customer_id);
The statement is the one of MariaDB: write the name of the table as it is on the data brokers.
Query is over.. An error met on a data broker is reported when it happens.Info: query succeded. or Info: query failed..EXECUTE privilege.