Enable/Disable constraints, Linux copy
2011-03-23 10:00
197 查看
--Disable
select
'alter table '||table_name||' disable constraint '||constraint_name||' ;' from
user_constraints where constraint_type = 'R';
--Enable
select
'alter table '||table_name||' enable constraint '||constraint_name||' ;' from
user_constraints where constraint_type = 'R';
scp %file% username@host:remote directory
e.g. upload conf file to directory my
scp /etc/lilo.conf my@www.***.com:/home/my
scp username@host:remotedirectory localdirectory
e.g. download abc.conf to local maxrocray
scp k@www.****.com:/etc/abc.conf /maxrocray
select
'alter table '||table_name||' disable constraint '||constraint_name||' ;' from
user_constraints where constraint_type = 'R';
--Enable
select
'alter table '||table_name||' enable constraint '||constraint_name||' ;' from
user_constraints where constraint_type = 'R';
scp %file% username@host:remote directory
e.g. upload conf file to directory my
scp /etc/lilo.conf my@www.***.com:/home/my
scp username@host:remotedirectory localdirectory
e.g. download abc.conf to local maxrocray
scp k@www.****.com:/etc/abc.conf /maxrocray
相关文章推荐
- Enable/Disable Multicast on Interface of a Linux Machine
- Disable and enable Foreign Key and Check Constraints
- Disable or enable the IPv6 protocol in Red Hat Enterprise Linux
- Disable or Enable SSH Root Login and Limit SSH Access in Linux
- Enable/Disable Linux mousekeys
- scp:不同的Linux之间copy文件
- Enable Unattended Upgrades for Debian Linux
- js asp.net enable/disable validator
- Linux: How to enable root user in Gnome for VirtualBox Fedora?
- Linux写时拷贝技术(copy-on-write)
- Sharepoint进修笔记—ECMAScript对象模型系列-- Enable/Disable Ribbon
- 关于主键约束enable和disable的问题
- Java Runtime.exec 调用linux SCP 命令Copy 远程机器上的目录失败
- Subject: RE: Disable/enable appender for all loggers - msg#00013
- Knockout.Js官网学习(enable绑定、disable绑定)
- copy file from romote linux machine to windows local machine
- Linux 的 复制命令 【 cp 】 (copy)及其 (常用参数 -fp)
- Linux下通过ssh-keygen和ssh-copy-id命令实现ssh无密码登录访问
- Linux写时拷贝技术(copy-on-write)
- ssh-keygen + ssh-copy-id 无密码登陆远程LINUX主机