BIGINT TO INT - CAN i DO IT?

  • In the process of upgrading the front end of my DB and apparently, it doesn't like BigInt data type. Am I going to be able update a new table that changes the BigInt to and Int without loosing any data? Have several tables that currently use the BigInt data type.

  • Only if the data in the BIGINT columns will convert to INT. If the values exceed the range of allowable values in an INT column, the conversion from BIGINT to INT will fail.

  • Based on my current BigInt values, I think I will be okay. Thanks for your reply.:-)

  • Just curious... which language is the frontend code written in?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Access 2013 is the GUI front end. A lot of VB is used.

  • Additionally: if that column takes part in constraints, indexes and etc. you'll have to re-create them.

    Igor Micev,My blog: www.igormicev.com

  • I have a lot of work ahead of myself. There are several tables that have this issue. Gotta love Microsoft!:crazy:

Viewing 7 posts - 1 through 6 (of 6 total)

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