renamecol table col newname
error if col is used in ref
renametable table newname
error if table is used in ref