SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    May 2003
    Location
    somewhere on the Earth
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    naming rules for tables and fields ??

    in my opinion:
    tables: in lower case (because I found in mysql it does not support upper case , and ending with '-s', because tables are sets of fact'S'

    fields: lower case with leading uppercase for each word, for example, ProductId, UnitPrice, TimeToGo. I don't like to use blank or '_' between two words


    What about yours?

  2. #2
    SitePoint Wizard Lats's Avatar
    Join Date
    Jun 2003
    Location
    Melbourne, AU
    Posts
    1,142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No real hard & fast rules I believe

    Here's some other opinions...

    http://www.sitepointforums.com/showt...hreadid=103592
    Lats...

  3. #3
    SitePoint Zealot
    Join Date
    May 2003
    Location
    somewhere on the Earth
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, I didn't notice there had been one talking about this. Thank you Lats for help


Bookmarks

Posting Permissions

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