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. The Lounge
  3. Database and case sensitive

Database and case sensitive

Scheduled Pinned Locked Moved The Lounge
databasequestiondiscussion
1 Posts 1 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.
  • A Offline
    A Offline
    Argonia
    wrote on last edited by
    #1

    Hello everyone, In this second Monday(i hate work days so much) i have a inner fight. Right now i am working on a project who accepts a file with attributes and after few modifications it should insert them into the DB. The database column names are all capital letters. As i develop my part of the project i assumed that the input file can contain attributes with different case than the DB column name and based on that i changed the compare function. But my boss said that when we have constants defined in the project (db column names are defines as constants) there is no way for the input file to contain different casing than the db column names. I disagree on that. I think its better to make a case insensitive compare for the attribute keys no matter the db column names What do you think? Which is the better practice?

    Microsoft ... the only place where VARIANT_TRUE != true

    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