GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  SQL Server
Go To First  |  Previous Question  |  Next Question 
 SQL Server  |  Question 5 of 68    Print  
How is a database table managed, if it is being modified by two or more user's simultaniously?

  
Total Answers and Comments: 2 Last Update: June 06, 2007     Asked by: techmind 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 05, 2007 04:10:00   #1  
vmandviya Member Since: February 2007   Contribution: 4    

RE: How is a database table managed, if it is being mo...
See if two user are updating same time at same time it will affect one by one!! it means 1st user changes will accept then 2nd user changes it iwll accept
 
Is this answer useful? Yes | No
June 06, 2007 06:41:09   #2  
genie_cool        

RE: How is a database table managed, if it is being mo...

use TableLocks or RowLocks to prevent the other user from modifying the data when the previous user is using the same data.


 
Is this answer useful? Yes | No

 Related Questions

I have a table in sql server with two fields named 'start_time' and 'stop_time'. both fields have datatype set as 'datetime'. now I want to subtract the 'start_time' from 'stop_time'? I have tried datediff() fuction,but no use. I want the correct outpput of date as well as time . Need help as early as possible.

Latest Answer : use TableLocks or RowLocks to prevent the other user from modifying the data when the previous user is using the same data. ...
Read Answers (2) | Asked by : techmind

Assume that I have created a employees table which has 10 records. How to create a stored procedure to export all the records into the log file.
Read Answers (3) | Asked by : vani

Error While creating BACKUP:I am Creating FullBackup for one database Named Postings.I executed below Query and i am getting The Below error message.USE mastergoEXEC SP_ADDUMPDEVICE 'disk','PostingsBac','E:BACKUPPostingsBac.BAK'BACKUP 
Latest Answer : This is basically a problem with the physical path of the Backup device, I suppose. Be sure the physical path that you are giving has full access from your Windows user Account or not. ...
Read Answers (1) | Asked by : Ramesh.M
Tags : Backup

Latest Answer : Yes, there is table partitioning in SQL Server. Unfortunately I don't know how to do that, If anyone knows that, let me know. ...

How do I lock a column, once records are entered into the table they can not be edited. Also how can I lock the field where only certain values are accepted?  
Latest Answer : May be you can use Constraints. ...

Latest Answer : We can copy the Table structure also from one table to another tableExample:                   CREATE table emp1 as                    ...
Read Answers (3) | Asked by : penchal

Latest Answer : select * into new table name from old table name where 1=0 ...
Read Answers (2) | Asked by : mvkrishna

Latest Answer : Take a full backup and restore or dettach 2000 db copy .mdf and ldf to 2005 server.  Attach then switch compatiblity mode to 90 then update statistics.  Once you go to 2005 you can go back. ...
Read Answers (1) | Asked by : santanu

What is the Difference between Attach and Restore of a Database? 
Latest Answer : Database attach is faster as compaired to Database Restore. SO if you have both options then may be you can choose Database attach than Database Restore. ...
Tags : Restore


 Sponsored Links

 
Related Articles

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

Performing XSLT Transformations inside the Database

Performing XSLT Transformations inside the Database Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr employees table you can create a script that will instruct the database to build an HTML page based on the data stored in hr e
 

Moving All the XML Processing into the Database

Moving All the XML Processing into the Database In the preceding example the database server performs only a part of the XML processing while the rest is still performed by the PHP engine Specifically the database server generates an employees XML document based on the records from the hr employees
 

Performing XML Processing inside the Database

Performing XML Processing inside the Database When building XML enabled applications on top of Oracle there are many advantages to performing the XML processing inside the database when compared to performing it on the client The key advantages to perform XML processing inside the database are as fo
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

SQL Server 2005 Integration Services Review

SQL Server 2005 Integration Services using Visual Studio 2005 A Beginner s Guide SQL Server 2005 A offering of Microsoft Corporation for database management the SQL server 2005 is one of the powerful database management systems in the world Available for integration in almost any system that uses Mi
 

SQL Server Integration Services

SQL Server Integration Services Here is a sample chapter from Beginners Guide to SQL Server Integration Services Using Visual Studio 2005 by Jayaram Krishnaswamy Environment set up for Visual Studio 2005 with respect to SSIS and multiple tasking Connecting to Microsoft Access Text Files Excel S
 

Web Server

Web Server A web server can be a program or the computer itself which receives the requests from various other browsers and responds to those requests These requests are all requests that are being sent for some documents There are two kinds of web servers available The web server program and the
 

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php" document ready function var highlighted
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape