core-jgi/db/maintain/Other/RenameTable.sql

5 lines
136 B
SQL

-- Rename Table
RENAME SO_Charge TO C_Charge;
UPDATE AD_Table SET TableName='C_Charge' WHERE UPPER(TableName)='SO_CHARGE';
COMMIT;