Programmer's Corner Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Programmer's Corner - Forums


User Instances

 
Post new topic   Reply to topic    Programmer's Corner Forum Index -> SQL Server 2005
Author Message
bdi
Nobody


Joined: 21 Oct 2004
Posts: 1646
Location: Chicago

PostPosted: Sun Jun 11, 2006 4:46 pm    Post subject: User Instances Reply with quote

Just wanted to point out to everyone that with SQL Server Express you can now use User Instances. What are User Instances you say?

Well, a SQL database consists of two types of files, an MDF file which is the main data file, and an LDF file which is the log file. A user instance allows you to create these files when installing a program, and then attach them to the SQL Server Express engine already loaded on the machine. Therefore, the database is only running when you are using it (actually, by default it detaches one hour after it's last use).

So, what are the advantages to this?

Well, for one you can place the database files in a user's profile and the user does not need to have administrative rights to use it.

It also makes it easier to distribute with an application, or create on the fly.

By not running when not in use, this also creates a more secure environment.

With SQL Express being free, that's a whole lot of power you have behind your application without the cost.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Programmer's Corner Forum Index -> SQL Server 2005 All times are GMT - 5 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2002 phpBB Group