devxlogo

Tip Bank

Use Decode Function for Oracle Queries

Decode is a very useful and handy function for Oracle queries. Itreplaces the complex If-Then-Else logic, which is used to display different things based on different values in a column.

Changing the Stack Size

Question: Is it possible in Java to increase an application’s stack size? Answer: The stack size of an application can be set at run time depending on the virtual machine

Servlet State

Question: I’m developing some applications with servlets. I’ve been declaring static variables to preserve state, but when two instances of the servlet run at the same time, the second instance

Informix Registration Within SQL Server 7

Question: How can I view Informix database tables via the SQL Server 7 Enterprise Manager? Answer: I’m not a SQL Server user, so I can’t address your SQL Server specific

Lost Column in Outlook View

Question: I have accidentally deleted the ‘From’ column from my inbox. Could you instruct me how to get this column back? Answer: Right-click the header of any other column (like

Problem with Using the AND Condition

Question: In the WHERE condition, I have not been able to use the AND condition when the two conditions on either side of the AND command relate to data the

WAP and Session Tracking

Question: How do I maintain sessions in Nokia WAP Server? Answer: Session variables are covered in the WAP Server documentation.

Const Member Functions

Question: What does the ‘const’ in the following funciton prototype mean? class A{public: void fn (int a ) const;} Answer: The const after a member function’s parameter list indicates that