您的位置:首页 > 大数据 > 人工智能

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: