-- SQL SERVER -- don't put the schema in the 'new_name' field, otherwise your table might end up looking something like schema.schema.new_name EXEC sp_rename 'schema.old_name', 'new_name';