MS-ACCESS to SQL server help needed

  • I have a project to convert an application developed in VB 6.0 which has backend as MS-ACCESS and make it compatible with SQL-SERVER 2000. many fuctions like cdate(), IsNull() and UCase() which work in access do not work in SQL. what are their SQL Equivalent?
  • Cdate() is now Cast( yourvariable AS DATETIME) or you can also use CONVERT(YourVariable, DATETIME, 112)

    ISNULL() is ISNULL() in SQL too, but actually works like NZ() in access. ISNULL(SomeValue, ValueIfNull)

    UCASE() is UPPER() in SQL

    HTH

    David McAfee

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply