Home > Articles > Databases > SQL Server

Getting Started with MSDE and VB .NET

Rod Stephens
  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Access databases are cheap, but they work well only for small, single-user applications. SQL Server is powerful enough to support huge databases with multiple simultaneous users, but it is very expensive. What if you're stuck somewhere in between? Rod Stephens explains how you can use MSDE to build small multiuser applications while preparing to scale up if your database needs increased performance.

Access versus SQL Server

Access databases are relatively inexpensive. In fact, you can open an Access database, modify the database structure using SQL, fetch records, modify and update data, and delete records using a Visual Studio application without buying the Access product itself.

Access databases have their disadvantages, however. They have some size restrictions (at most around 2GB per database), provide little in the way of user access control (only database-level passwords), and have little support for multiple concurrent users.

SQL Server (usually pronounced "sequel server"), on the other hand, provides support for huge databases (up to 1TB = 1,024GB per database), multiple simultaneous users, and very detailed user access controls. SQL Server's big drawback is its price. Depending on your installation, SQL Server licenses can cost thousands of dollars.

Unfortunately, there is no simple migration path from Access to SQL Server. Ideally, you would develop an application using an inexpensive Access database. Later, if you decided the application required the greater size, multi-user, or security features provided by SQL Server, you could upgrade the database. Sadly, Access and SQL Server are too different to make that easy. Their user security schemes are quite different and the basic architectures make a quick upgrade problematic.

Figure 1 shows a schematic representation of the architecture used by Access applications. Different applications use database access routines to interact with each database individually.

Figure 1 In Access, different applications access the database independently.

Figure 2 shows the architecture used by SQL Server. Here, applications connect to a server that contains one or more databases. The server coordinates interactions between the applications and the databases. This makes such tasks as managing user privileges easier.

Figure 2 In SQL Server, different applications access the database using a shared server.

Migrating from the Access architecture to the SQL Server architecture usually requires many changes in the way an application interacts with databases. Fortunately, MSDE offers a possible alternative.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Danny KalevMinutes from the October 2009 Meeting
By Danny Kalev on November 19, 2009 No Comments

The minutes from the Santa Cruz (October 2009) meeting are available here. Even if you're not a language layer at heart, I encourage you to read them.

Danny KalevA Reader's Opinion on Attributes
By Danny Kalev on October 20, 2009 No Comments

In August I dedicated a series to the debate about C++0x attributes. I believe that it covered the subject in a balanced and detailed way, but I keep getting complaints from C++ users who don't like attributes for various reasons. Here's a recent email I received from a Polish C++ programmer. While it  doesn't represent my opinion about attributes -- I'm rather neutral about this feature and consider it a "solution waiting for a problem" -- but it suggests that attributes are still a highly controversial issue that will haunt C++ for a long time. The email is quoted here with minor edits that and as usual, with all private details removed.

Danny KalevFollowup: The Web 2.0 Guy I Ain't
By Danny Kalev on October 16, 2009 1 Comment

Almost a year ago, I posted here The Web 2.0 Guy I Ain't. People wonder whether I still resist all those Web 2.0 features and technologies at the end of 2009.

See All Related Blogs

Informit Network