Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 756959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:18:23+00:00 2026-05-14T15:18:23+00:00

Our company decided to designate a contractor by adding an X in front of

  • 0

Our company decided to designate a contractor by adding an “X” in front of the employee number. But they aren’t doing this in all systems.

Is this a dangerous thing to do and why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T15:18:23+00:00Added an answer on May 14, 2026 at 3:18 pm

    Without knowing more about their system I’d say that this is a bad design.

    • If they want to look up an employee and they only have the employee number but they do not know if it is a contractor or not then they will have to check both with and without an X.
    • The database probably allows a contractor and non-contractor with the same employee number because the unique constraint will allow it.
    • Joining on REPLACE(employeenr, ‘X’, ”) will work but it will be inefficient.

    A better choice would be to make a column for contractor that can be 0 or 1. I guess there may have been reasons that prevented them from doing this (for example, legacy systems that cannot be changed).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My company is redesigning our intranet site and decided to go with DotNetNuke as
Our company is considering upgrading our SQL server. At this point, would it be
I'm starting some automated acceptance testing for our company, and have decided to use
Our company site has a JavaScript problem that I'm desperately trying to solve, but
We use about 30 repos to handle all of our software at our company.
My company has decided that we need a generic demo infrastructure for our technology
Our company has until bought a lot VS Pro/Premium and Ultimate Licenses, and each
Our company is currently writing a GUI automation testing tool for compact framework applications.
Our company is sending out a lot of emails per day and planning to
Our company runs a web site (oursite.com) with affiliate partners who send us traffic.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.