sybase建库命令

--连接数据库                                                                                          
isql -Usa -Scmproce                                                                                   

--建设备                                                                                              
disk init name=contract_data2011_new,physname='d:\sybase_db\data\contract_data2011_new.dat',size='6500M'      
Go                                                                                                    
disk init name=contract_log2011_new,physname='d:\sybase_db\data\contract_log2011_new.dat',size='3000M'        
Go                                                                                                    
--建数据库                                                                                            
Create database contract2011_new on contract_data2011_new=6500 log on contract_log2011_new=3000                
Go                                                                                                    

--源库备份数据                                                                                        
dump database contract2011 to 'd:\contract2011.dmp'                                                   
Go                                                                                                    

--目标库恢复数据                                                                                      
Load database contract2011 from 'd:\contract2011.dmp'                                                 
Go                                                                                                    
Online database audit                                                                                 
Go     

成都创新互联长期为上千多家客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为南城企业提供专业的成都网站制作、成都网站建设,南城网站改版等技术服务。拥有十多年丰富建站经验和众多成功案例,为您定制开发。

修改设备的设置:
sp_configure 'number of device',20

 


本文题目:sybase建库命令
链接分享:http://pwwzsj.com/article/peipos.html