rename table;

2013-02-05

1、oracle or mysql rename
alter table test rename to test1;

select count(*) from test1;

RENAME TABLE test1 TO test2;
2、mysql rename database;
alter database test modify name =test2;

3、sybase
exec sp_renamedb 'test','test1' ;

分类:数据库 | 标签: |

相关日志

评论被关闭!