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

  • Home
  • SEARCH
  • 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 217095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:37:31+00:00 2026-05-11T18:37:31+00:00

If I set a database column as an autonumber primary key field, will the

  • 0

If I set a database column as an autonumber primary key field, will the autonumbering feature prevent those values from being modifiable?

Or does the primary key nature of the column make it unmodifiable?

Both? Neither?

  • 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-11T18:37:32+00:00Added an answer on May 11, 2026 at 6:37 pm

    Neither. You can modify it all you want. Setting a column as autoincrement just specifies the default value for new rows, that’s it. After that it acts just like a normal column.

    EDIT: Apparently this isn’t true for SQL Server, but you didn’t specify so I just went with the popular answer.

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

Sidebar

Related Questions

Database : SQL Server 2005 Problem : Copy values from one column to another
I am writing a set of database-driven applications in PHP. These applications will run
I want to store a large result set from database in memory. Every record
Say I have an ID row (int) in a database set as the primary
I have an access database table that has an autoNumber column, and the table
I have a non-nullable database column which has a default value set. When inserting
I have a mysql database set as utf-8, and csv data set as utf-8,
In SQL Server (2000 or 2005) is it possible to set the database or
Ok, here is my dilemma I have a database set up with about 5
How long should it take to run ALTER DATABASE [MySite] SET READ_COMMITTED_SNAPSHOT ON I

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.