ALTER TABLE的用法 增加列、删除列、改列名、改列约束、改表名(转)
ALTER TABLE名称ALTER TABLE — 更改表属性语法ALTER TABLE table [ * ] ADD [ COLUMN ] column typeALTER TABLE table [ * ] ALTER [ COLUMN ]&...
solaris10更改主机名
Change the system's host name in the following files:■ /etc/nodename■ /etc/hostname.*interface■ /etc/inet/hosts■ /etc/inet/ipnodes (Applies only to some releases)Note – Starting with the Solaris 10 8/07 release, there is no longer two separate hosts files. The/etc/inet/hosts file is the s...
watch命令
watch是一个非常实用的命令,基本所有的Linux发行版都带有这个小工具,如同名字一样,watch可以帮你监测一个命令的运行结果,省得你一遍遍的手动运行。在Linux下,watch是周期性的执行下个程序,并全屏显示执行结果。你可以拿他来监测你想要的一切命令的结果变化,比如 tail 一个 log 文件,ls&nb...
删除归档日志
1.删除操作系统上的物理归档日志文件2.rman target/crosscheck archivelog all; delete expired archivelog all;附:查看归档模式SQL> archive log list更改为不归档模式shutdown immediate;startup mountalter database noarchivelog;alter database open;archive log list;...