I heard in the summit for SQL2000 that there are places in 2000 that you can use VBScript. I am still in the world of SQL7 and haven't had a chance to play with it yet. SQL does, however, have similar functions. IsNull works the same with the addition of a parameter (look in books online -- if you don't have access to it post back and I'll give detail). As far as InStr, SQL Server uses a function called charindex. Again, books online will give you the full scoop, but if you need a Cliff notes version, post the question and I'll bore everyone with the details.