?
Solved

Insert Update in multi-user database SQL Server

Posted on 2013-01-29
2
Medium Priority
?
350 Views
Last Modified: 2013-05-29
Hi,

How to do inesert/update in multi-user database environment in sql server 2005/2008?
0
Comment
Question by:ezkhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 38830840
what is your concern?

you do it exactly like in a single user database. the only exception is that if you are using explicit transactions, make sure you commit them quickly
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 38830945
Or you use MERGE and side-step the need to do explicit BEGIN TRANSACTION ... ROLLBACK ... COMMIT
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question