devxlogo

Tip Bank

Presenting Dates in Varying Formats

Dates are generally a requirement for every application. However, including dates for users across the globe can be tedious, because different people use different formats to read the date. Oracle

Getting New Values Entered into a Table

Suppose you are writing a row-level trigger Z on a table X to update an audit table Y with information about inserts into X, and you need to know what

Porting Code from Windows to Linux

This tip provides a substitute for the __strrev function, because it’s not available under Linux. This is useful if you are porting existing code from Windows to Linux. Suppose you

Eliminate Log Messages on the Console in JDK 1.4

If you’ve ever used the built-in logging facilities introduced in JDK 1.4, you’ve certainly faced a situation wherein you wanted to prevent log messages from appearing on the console. The