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 9164439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:41:02+00:00 2026-06-17T14:41:02+00:00

I have a mySQL database that receives data from users online once logged in.

  • 0

I have a mySQL database that receives data from users online once logged in. The data table was created like so…

CREATE TABLE   
IF NOT EXISTS `results` (
       `id` INT(11) NOT NULL AUTO_INCREMENT,
       `patient_id` CHAR(10) NOT NULL,
       `login_id` CHAR(7) NOT NULL,
       `result_date` date NOT NULL,
       `result` VARCHAR(4) NOT NULL,
       created_at TIMESTAMP NOT NULL,
       PRIMARY KEY(`id`)
   ) DEFAULT CHARSET = utf8 COMMENT = 'List of Member Test Results'
    ;

Once completed, our IT manager decided to alter my database and PHP code, so he can pull data into his SQL Server database easily. My questions will be two fold, is this necessary and are there potential issues with doing it this way.

The things he changed; altered result_date from a date to other data type, so he can input on my end in SQL Server format. He altered timestamp/created at so his alteration does not update the timestamp, and he added a boolean/counter column, so his database knows if it has extracted from that row. Also, he added a third date (date like field as non-date type) so when he pulls from my database, he can mark that time.

To me this not only seems like overkill, it also forces me to allow alteration of my database. Lastly, I was scolded for “why would you use created_at timestamp NOT NULL“. Not wanting to call someone out on this, but this issue has me a bit perplexed.

  • 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-06-17T14:41:03+00:00Added an answer on June 17, 2026 at 2:41 pm

    As the others have pointed out in comments, it does appear your IT Manager is not as sharp. To simplify things on his end, why didn’t he just add a column to his SQL table of ImportIDFromMySQL and use your auto-increment. There, he has it or he doesn’t. As for caring about the date/time stamps, he should just add the extra columns to his “pretty” table and leave your production stuff alone.

    Sometimes bean-counter managers can really be a handful to deal with.

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

Sidebar

Related Questions

I have a mysql database that looks like this: |id | city | created
I´m writing an android application that receives gps data from a MySQL database, such
I have a MySQL database that I am keeping temperature readings from several different
I have a mysql database that is tracking hockey stats. What I'd like to
I have a MySQL database, and a particular table in that database will need
I have several columns in a MySQL database that I would like to add
I have a VARCHAR(4) column that receives data from an input that may be
I have a rails app that receives data from an Android device. I noticed
I have a page that display some data. It is loaded from a database
So I have a form that can get data from a database by its

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.