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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:48:02+00:00 2026-05-27T20:48:02+00:00

I have three tables and three stored procedures respectively to insert/update records in these

  • 0

I have three tables and three stored procedures respectively to insert/update records in these tables. The first table has a primary key column, RecNo, which is auto-generated.

Around 1000 users are entering records in these tables simultaneously from different geographic locations. I am noticing that sometimes inserts in the second or third table get missed even when inserts were successfully done and no warning was generated.

I want to know how the auto-generated primary key column handles concurrent issues. Do I need to set isolation level to SERIALIZABLE on top of each stored procedure?

I am using SQL Server 2008 R2 Express with default isolation level, i.e., READ COMMITTED.

One of my stored procedure looks like:

ALTER PROCEDURE [dbo].[pheSch_CreateOrUpdateTubewellDetails]
    -- Add the parameters for the stored procedure here
    @TwTaskFlag nvarchar(6),
    @TwParameterID bigint,
    @SerialNumber bigint,
    @TotalNum int,
    @TwType nvarchar(50),
    @Depth nvarchar(60),
    @Diameter nvarchar(60),
    @WaterCapacity nvarchar(60),
    @PS nvarchar(15),
    @PSNum int,
    @PSType nvarchar(60),
    @Remarks nvarchar(80)
AS
BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;

    -- Insert statements for procedure here
        BEGIN
            UPDATE tw_details
                SET 
                    TotalNum = @TotalNum,
                    TwType = @TwType,
                    Depth = @Depth,
                    Diameter = @Diameter,
                    WaterCapacity = @WaterCapacity,
                    PS = @PS,
                    PSNum = @PSNum,
                    PSType = @PSType,
                    Remarks = @Remarks
                WHERE twpid = @TwParameterID;
        END
END
  • 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-27T20:48:03+00:00Added an answer on May 27, 2026 at 8:48 pm

    You need not change the isolation level,
    the Identity column is well suited for concurrent inserts.

    IF

    you have no any Triggers attached to the table – then show all the details

    BUT

    you noticed the INSERTS – i do not see any of them here

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

Sidebar

Related Questions

I have database project in visual studio 2010. It has tables views stored procedures
I have two sql files: The first one creates database, tables, and stored procedures.
I have three tables of data: table: cars [10,000 rows] table: planes [2,000 rows]
I have three tables Author, Book and AuthorBook. AuthorBook table only contains two foreign
In my case i have three tables. The Contracts table, the agreements table and
I have three tables, a User table , a Company table , and a
I have a database which has many stored procedure which execute in the first
I have a datacontext say myDataContext, it has on several classes (tables) and stored
I have a huge database with some 100 tables and some 250 stored procedures.
I'm having some trouble using constraints correctly. I have three tables, 'item', 'store' and

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.