Objectives for this blog
First, the primary audience for this blog is me. I keep my accumulated technical reference for future reference.Those who are in my field may find some snippets interesting and helpful.Those are the...
View ArticleSQL query to identify list of duplicate rows
First technical post. I am going to make it a bit lighter fare. The following SQL script example shows how to identify duplicate rows in a data table.SELECT col1, col2, count(*)FROM t1GROUP BY col1,...
View ArticleRecall your previous command in Unix
1. set -o vi2. Escape + k for previous command3. Escape + j for next command
View ArticleANT logging PART I
Imagine a scenario where at the end of day the application you are developing needs to be built from source. Furthermore, the application data needs to be synced with the development database and LDAP...
View ArticleInterim addition on ANT
Before I finish my second part on error-handling/reporting in ANT, I will explore how to deploy ANT in a production environment.The default distribution of ANT provides platform independent scripts...
View ArticleDynamic resize of iframe in IE 5.5 with HTML documents formatted with tags
I did a few google searches, and there doesn't seem to have any ready-made javascript for dynamically resizing an iframe in Internet Explorer 5.5 where the document layout is done using tags. So here...
View ArticleANT logging PART II
If you are using ANT for daily EOD build, then you may wish to get a pager or e-mail notification when an error occurs during the build process. Integrating log4j with ANT is fairly straight-forward,...
View ArticlePrint out all members of a collection in JDK 5.0
In JDK 5.0, there is a new Arrays class which provides a deepToString() method, which will print out all members of an array.For example, the following code will printout the multi-dimensional array...
View ArticleHow to create a SQL query for selecting most frequently occurring values in a...
To select values for a column with the highest recurrenceSELECT COL1 FROM TABLE1 GROUP BY COL1 HAVING COUNT(*) >= ALL(SELECT COUNT(*) FROM TABLE1 GROUP BY COL1);For DB2 the following query may be a...
View Article