Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Field ordering in a table

Field ordering in a table

Scheduled Pinned Locked Moved Database
tutorialquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    john john mackey
    wrote on last edited by
    #1

    is there an advantage to laying out fields of certain data types in a particular order? For example, in MS Access 2007, is it best to have all Memo fields at the end of the table definition? Thanks, JJ

    J M G 3 Replies Last reply
    0
    • J john john mackey

      is there an advantage to laying out fields of certain data types in a particular order? For example, in MS Access 2007, is it best to have all Memo fields at the end of the table definition? Thanks, JJ

      J Offline
      J Offline
      J4amieC
      wrote on last edited by
      #2

      No, there's not.

      I 1 Reply Last reply
      0
      • J J4amieC

        No, there's not.

        I Offline
        I Offline
        i j russell
        wrote on last edited by
        #3

        Blog post by Kimberly Tripp

        1 Reply Last reply
        0
        • J john john mackey

          is there an advantage to laying out fields of certain data types in a particular order? For example, in MS Access 2007, is it best to have all Memo fields at the end of the table definition? Thanks, JJ

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          While there is no technical benifit I have always followed these rules Primary keys is the first field (I almost never use complex keys) and is usually an identity or a GUID inder duress Foreign key fields (you know all this ####ID fields) Primary description field(s) All other fields Modified and ModifiedBy are generally the last 2 fields on most tables.

          Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          • J john john mackey

            is there an advantage to laying out fields of certain data types in a particular order? For example, in MS Access 2007, is it best to have all Memo fields at the end of the table definition? Thanks, JJ

            G Offline
            G Offline
            Gerben Jongerius
            wrote on last edited by
            #5

            Even though it may look nicer to have columns sorted in a particular order, sooner or later you will have no influence on the order any more. For as far as I know it is not possible to insert a column inbetween to existing columns without dropping the entire table and recreating it, which in most large live systems is a big no no as it cost way to much time to do.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups