Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Database and Reporting > Need Help.... question about SQL Server 2005 Express


Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2007, 11:39 AM
hk_vic hk_vic is offline
Freshman
 
Join Date: Apr 2006
Posts: 32
Default Need Help.... question about SQL Server 2005 Express


Hi,

I am really new to SQL Server 2005 Express (I have just used the Access db in the past).
Now I would like to make a multi-user program that use a server database (so that people from diff. computer can access the data), but I would like to ask how to solve the problem of like the following?

Case:
User A get data from the server for modifying /deleting, but at the same time User B get data from the server for reading. After A modified/deleting the data, User B is not viewing the most updated data...

I have read the Microsoft onlines book about SQL Server 2005 Express and knew that there is a method call Replication. But the onlines book of sql express told me that sql express cannot act as Publisher and distributor, is that I cannot use sql server 2005 express act as the server and solve my case?

By the way, is there any other good books about SQL Server 2005 Express?

Please help..........I have stucked at this for nearly 2 weeks........
Reply With Quote
  #2  
Old 04-22-2007, 05:33 PM
MKoslof's Avatar
MKoslof MKoslof is offline
Cum Grano Salis

Retired Moderator
* Guru *
 
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
Default

OK, what is your main concern? Replication or user concurrency these are seperate issues/not exactly the same . This question:

Quote:
User A get data from the server for modifying /deleting, but at the same time User B get data from the server for reading. After A modified/deleting the data, User B is not viewing the most updated data
Isn't neccesarily a replication issue, this is why SQL Server provides various levels of locking and transaction isolation. SQL Server Express can act as a server or shared repository of data with no issues. SQL Server 2005 Express has lifted the "user governor" or the previous limits of 5 concurrent users at once. You shouldn't run into real stress level or performance problems until your concurrent user count is something like 20-25, if I had to guess.

What you want to review are the different user concurrency and "stale data" approaches - - or basically verifying the user's don't step on each other in a concurrent multi-user environment.
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown

Last edited by MKoslof; 04-22-2007 at 05:42 PM.
Reply With Quote
  #3  
Old 04-23-2007, 03:39 AM
hk_vic hk_vic is offline
Freshman
 
Join Date: Apr 2006
Posts: 32
Default

Hi MKoslof,

Thanks for your help, I think I really get lost in the past 2 weeks. Now with your help I think I know what I want and find some useful link from the MSDN by searching Concurrency Sample

Following is 2 link that I found useful. Hope it can help others.

http://msdn.microsoft.com/msdnmag/is...09/datapoints/
http://msdn.microsoft.com/msdnmag/is...10/datapoints/
Reply With Quote
  #4  
Old 04-23-2007, 01:50 PM
MKoslof's Avatar
MKoslof MKoslof is offline
Cum Grano Salis

Retired Moderator
* Guru *
 
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
Default

Great, glad to help. Let us know if you need more assistance. Good luck
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->