Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2013
    Posts
    9

    Question Unanswered: Problem with double digits in primary key

    I have started to transfer over info form the old database into the new one and when I got up to the double digits in the primary key "Week" something weird began to happen. The database would order it where week 1 was first but after that it jumped to 10 through 16 then back down to 2 through 9. Is it reading them as decimals and if so how to i make it stop?

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    My guess is that it is reading the data as text.

    Change the definition of the column to a numeric data type.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

Posting Permissions

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