Tip Bank

DevX - Software Development Resource

Group by Score with IIF()

Question: What can I use in SQL that does the same thing that IIF(test,TruePart,FalsePart) does in Access? Answer: You can achieve the same result using the aggregate function COUNT and

DevX - Software Development Resource

Convert Informix File to Text File

Question: How do I convert Informix data under Unix to a text file? Answer: You can do this by using a SQL UNLOAD command: UNLOAD to textfilename.unl SELECT * from

DevX - Software Development Resource

Include Files in VB 6.0

Question: Is it possible in VB 6.0 to include pieces of code through an include- or importstatement like the C #include-preprocessor command or the Cobol copy-statement? Answer: You can add

DevX - Software Development Resource

Informix to SQL 7

Question: How do I convert Informix Database to SQL Server 7, or even to Access? Answer: First, you need to create the identical database in SQL7 or Access (same field

DevX - Software Development Resource

Sort Date in Descending Order

Question: My SQL statement at the moment is: SELECT * FROM NewsItemsHow do I sort the dates in descending order? Answer: Use the ORDER BY clause to sort the results

DevX - Software Development Resource

Variable Within Quotation

Question: Can you put a variable within quotations?For example: Shell “Explorer.exe (?var)” Answer: You have to concatenate the two strings together. If your variable is named var, you would call

DevX - Software Development Resource

WML With JSP and JavaBeans

Question: How do I create a simple WML application with JSP and Beans? Answer: Be sure to set your content output type appropriately and just have it generate the WML.