devxlogo

Tip Bank

Converting from Varchar to Number

Question: I have a table that contains numbers defined as varchar. How do I convert from varchar to number? Answer: Try using the CONVERT function. If that is not an

Determine if a Form is Open

Question: I have this real cool function to determine if a Form is Open which works fine in Access 97, but not in VB 6.0 because it does not support

Procedures Crossing Servers

Question: I am creating a data warehouse and need to SELECT and INSERT data across servers using SQL Server 6.5. Is there any way I can code this in my

Performing a Word Search in SQL

Question: How do I perform a word search in SQL? I want to find all rows containing the word “time” by itself and not any rows containing “time” as part

SQL Standard for Concatenation

Question: What is the SQL standard for concatenation? Answer: In SQL Server, you can do something like SELECT “Me” + “You” gets you MeYou In Oracle, I believe the symbol

NullPointerException

Question: Since there are no pointers in Java why is there aNullPointerException? Answer: It is a bit misleading to say that Java does not have pointers.Reference variables are very similar

Asynchronous Processing

Question: I have written an ActiveX EXE. that handles Batch Reporting requirements on a large amount of data. Even though it is an Out-of-Process “server”, it still seems to execute

Overriding a Deprecated Function

Question: I have a class that extends one class and implements an interface.The interface requires a getName() method.At the same time the class I am extending has a getName() functionthat