renamecol

renamecol table col newname

error if col is used in ref

renametable

renametable table newname

error if table is used in ref