Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2005
    Location
    Thane, Maharashtra,India
    Posts
    17

    Question Unanswered: 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?

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    convert(), coalesce(), and upper()
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Feb 2005
    Location
    Thane, Maharashtra,India
    Posts
    17
    Will the same functions work in Access?

  4. #4
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    no they won't

    that's the nice thing about having SQL standards -- there are so many to choose from!!

    even two products from the same vendor don't have to use the same SQL

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  5. #5
    Join Date
    Feb 2005
    Location
    Thane, Maharashtra,India
    Posts
    17
    So what should I do? I have to make the application work both in MS-ACCESS and SQL-SERVER 2000. sHOULD i use IF THEN ELSE Statements?

  6. #6
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    IF you did use if-then-else statements, THEN you would have to have them sprinkled all throughout your code, ELSE you could just write two versions of the application
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  7. #7
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    You're a trip today, Rudy!
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •