The query is as follows:
select * from my_table where (rowid,0) in (select rowid, mod(rownum,n) from my_table )
negative regexp
-
if you want to grep anything except foo, use grep -v or negative lookahead
echo -e 'foo\nbar\nboz'|grep -P '^(?!.*foo).*$' bar boz it is just so
beautiful ...
1 month ago
No comments:
Post a Comment