one-liner
Copy data between databases
Submitted by Matt Fleming on Thu, 2006-12-14 14:45.In oracle, you can copy data between linked databases via normal SQL.
insert into table select * from table@db_link
The databases can even be on different physical machines.
»
- 2 comments
- 3286 reads
Killing a bunch of processes on *nix
Submitted by Matt Fleming on Fri, 2005-10-07 01:30.
It has always been a pain in the neck to kill a bunch of java processes that have been spawned off from some program that I have been running.. Here's how I do it now:
ps | grep java | `awk '{print "kill -9 " $1'}`
awk is a pretty cool utility.. I'm a complete novice with it, but as a parser it seems pretty powerful.
