Which version of SQL Server I would need to purchase in order to be able to legally include in a web app I am going to package? In other words, I need to be able to build it into the package along with the app so when it is loaded on the users machine, they have a local db available.
To date I’ve only worked with Sql db’s on a server. Now I want to package stand alone db’s with application. I want to avoid using Access.
The only version you can embed in your own application distribution is SQL Server Express, which is free. For all other versions your clients have to purchase a license. You cannot transfer your license to your clients. You can however become a reseller and sell them the required license along with the application, as Andrew suggests. For more details see SQL Server 2008 Pricing.