Geeks With Blogs
Mehfuz Hossain Learning and sharing. July 2007 Entries
Alternate to Cursor
Most of the cases we use cursor, for loop like senarios, like calutating total order for an item and put the sum in a specific column, doing some work on particular table on basis of values of some other tables. Now, cursor is fine for smaller amount of data items, but it becomes really lousy , as the number of items start to grow. Here, i will discuss about a totally alternative to Cursor which is more faster and effective for working with huge number of data items. In my example , i will work with ......

Posted On Sunday, July 22, 2007 11:43 PM

Easiest Thread-Safe implementation to work on multiple items at a time.
We have heaard of lot of thread safe practices, semaphore , mutex and others. One goal of all ,is to create some app/tool which excecutes task faster than traditional single process app. One of the best example of this, creating some console importing tool. As i said , there are loads of way to make an app multi-threaded, but the simpliest but robust one , which i am going to speak in the next few lines. Let's kick off by creating a global List/Array items, that will hold the list of items to work ......

Posted On Sunday, July 1, 2007 12:07 PM

Copyright © Mehfuz Hossain | Powered by: GeeksWithBlogs.net