1.就是identity属性
2.detach和attach,具体使用方法见sp_detach_db,sp_attach_db,sp_attach_single_file_db