WinBinder Manual/db rename table

From wiki.swiftlytilting.com

Renames a table.

Syntax

bool db_rename_table(string currentname, string newname)

Arguments

  • currentname is the name of the table that will be renamed.
  • newname is the name that will be given to the table

Result

The function returns TRUE if successful or FALSE otherwise.

Example

// Rename table

db_rename_table("mytable","mynewtable");

See also