When will i finish this book?
I somehow feel these days its very difficult to finish reading a book.When you buy a book , you get so fired up seeing the new book with colorful cover and nice smelling pages.But after 45/50 pages, you just starting to skim over remaining pages .I start to think ‘how much more is remaining’ . A small shoot of boredom creeps in to mind.This has been my story with books.
When we use mobile/laptop for browsing , we are presented with instant , to-the-point info which is usually very brief.I feel we are so…
Merge is a good technique to updating values quickly . If you want to update values in a big table from a table(with only columns meant for update) , you may write the code like below….
PS -> If you have indexes created on the columns of match , the merge update will be faster.
Now the code is ….
Merge /*+ PARALLEL */ into <schema>.<table> t1 using
(select col1 , col2 from <schema>.<table> ) t2 on t1.<join column > = t2.<join column>
when matched then update set t1.column1 = t2.column1
where t1.xxx = ‘Y’ //optional
Ofcoure the above one is a variant of MERGE , there are many ways …but this is one of the way…