Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am trying to create a log in page for my application. Since there are multiple users, my page will have the ability to store user names and password. I am using VS2012, being that I am new to programming, I am not sure if using Access or SQL Server. If I create the database to store the log in info, when I compile the program how would that affect the user who installs the program. Would the database "go with the program" when compiled?
I can also use Access to store the data, but I have the a similar issue. If the user's computer does not have Access installed on their PC, how would the table be accessed?
This is probably an entry level question, I have done some research on this but have not found much information.
If you store the login information in a Sql Server Database then you need to install the SqlServer on the customer PC and distribute your database file with your application. It is not an easy task to do in a setup project and probably this is a possible motive for Microsoft to develop the LocalDB version of Sql Server that is a little bit more easy to install.
In the case of Access you need to distribute the MDB file (your database) and (if you stay with the 2003 version) nothing else because all the required libraries are distributed together with the NET framework. In case you want to use the ACCDB file format then you need to install on the customer PC the Microsoft Access Database Engine. However in Access you could find problems with 32bit and 64bit version of the OS. It is advisable to use always the x86 as target platform.
There are also alternatives like SQLite and Sql Compact Edition.
In these days, I would use the cloud. Make your program a webapplication and use an SQL database. Then the program would be accessible in any location where there's access to an internet connection. This means that it can be used on Windows, Mac's, Linux, tablets, smartphones and even smart tv's (Not that anyone uses that).
There's good tutorials on how to do this for a webapplication from PHPacademy. See:
http://www.youtube.com/watch?v=9kyQGBABA38&list=PLE134D877783367C7
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
Our firm has a rather complex proprietary Access database system including 15 or so unique front end modules that all perform different tasks and a backend database for each of our clients. All of these front end modules and backend databases have many SQL queries, functions, macros, and VBA code. We are considering upgrading to SQL Server or an equivalent but I see several major pitfalls including the incompatibility with VBA and Access functions. Do you think it would make more sense to stay with Access and look into improving via 1. accde/mde or accdr/mdr 2. split databases and/or 3. merging/consolidating front end modules? Do some of you have experience with such an upgrade or have any other recommendations?
You should consider migrating tables to SQL Server and keeping the Access Front-end. SSMA For Access will move the data and replace the tables with ODBC linked tables for you.
Then, moving forward, you can continue to use Access or build applications using other tools.
It is assumed that you run front ends with linked tables to the back end accDB file.
You then can migrate that database to sql server, you migrate only the data part.
The access FE (front end) should work as before - about 99% of the code and forms will work as before, but some tweaks are often required. Given that SQL express is free, then it is great setup and will allow you to keep and preserve most of your existing software investment
However, on each workstation, you are placing a FE of the application on that workstation. You as a general rule can't allow multiple users into the same given FE - it is to be placed on each workstation.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I created a database in NetBeans, and I was wondering if it was possible to open it in OpenOffice or Access for easier ease of use. The database is stored locally. Thank you in advance!
In order to open the database using Microsoft Access you would need to have an ODBC driver for Derby (Java DB). Access does ODBC but it does not "do" JDBC.
However, OpenOffice/LibreOffice Base does in fact "do" JDBC so you could simply use the same JDBC driver (JAR file) that you used with NetBeans JDBC to open the database in OpenOffice/LibreOffice Base via JDBC.
You have to use JDBC to access a Derby database programmatically.
However, there are command-line tools that access a Derby database, for example Derby's own ij tool as well as others.
Many other software packages have the ability to "call out" to a command-line tool. If either OpenOffice or Microsoft Access have the ability to "call out" to a command-line tool, you should be able to have them call out to ij (or any other JDBC command-line tool of your choice) to access the data you want.
For example, you could invoke ij, have it run a simple script that called SYSCS_UTIL.SYSCS_EXPORT_DATA to export some table data to a csv file, then import that csv file into OpenOffice or Microsoft Access.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm working on a large SQL Server database with no documentation. Is there a good, preferably free, documentation generator tool I can use to get my head around it.
One tool that I'm using more and more to do this sort of thing is LinqPad (www.linqpad.net). This is far more than just a Linq tool. It is very good at allowing you to drill down through table relationships, as long as FK's are properly in place. This tool is free.
On the non-free side, we also use Red-Gates SQL Doc (http://www.red-gate.com/products/sql-development/sql-doc/). Excellent tool.
You might want to have a look at my new (non-free, sorry) tool - LiveDoco - it's a web app that can be installed on an intranet IIS or even on a local IIS server and then you can just use your favorite browser to connect to a SQL Server database and see its structure/metadata, edit object descriptions or even search in DB object names (tables, columns, functions and their parameters etc.) and in the extended properties where the descriptions are usually stored (under “MS_Description”). And finally there is an export feature you can use to export all extended properties to a SQL file that you can run on a different DB of the same/similar structure to import/update your descriptions/notes there.
There is a fully functional (but read-only) online demo at http://www.livedoco.com.
This link will take you directly to the Person.Contact.ContactID column in the AdventureWorks sample DB from MS: http://demo.livedoco.com/livedoco/Explorer?Server=(local)%5Csql2k8xpress&Database=AdventureWorks#/?L0Name=Person&L1Name=Contact&L2Name=COLUMN_ContactID
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I have to test my product with SQL Server database. Based on the search, I know I have to get hold of Developer Edition. I need to know whether for my team of 10 to access the database for testing needs 10 CALs or 10 developer licenses?
I searched enough in the net but couldn't find a straight answer.
My test setup will be like, SQL Server Developer Edition will be installed in a Test QA machine and my team will connect to that machine to test our product with.
Thanks,
ramanr
For SQL Server 2008 Developer, Microsoft's licensing page states:
You must acquire a license for each user you permit to access or use the
software. You may install any number of copies on any number of devices for
access and use by one user to design, develop, test and demonstrate
programs. Only licensed users may access the software.
They also state:
Demonstration. In addition to the licensed user, any person that has
access to your internal network may install and use copies of the software
to demonstrate use of your programs with the software.
ISTR SQL Server 2005 is similar: i.e., one copy per developer.
In addition to Chris J's answer, the licensing also provides:
II) Additional Licensing Requirements and/or Use Rights.
User Testing. Your end users may access the software to perform acceptance tests on your programs.
Microsoft answers:
http://www.microsoft.com/sqlserver/2005/en/us/developer.aspx
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I've written a plugin for a game that connects to a PHP page and sends it information from the game. The PHP page takes this information, connects to a SQL Server 2005 instance, then inserts the information given into a variety of tables.
I am using Apache (WampServer) to host the PHP page and SQL Server 2005 Express for hosting the database server. This setup is 'okay' as far as development goes, but I wish to release this plugin to other players. Their version of the plugin would be identical to mine in that it would connect to a remote PHP page to either add data to the database or query information from the database.
Since 'clients' are not directly hitting the database, would SQL Server 2005 require a paid license of some type for me to 'legally' use it in this way? What is the standard definition of 'production server?'
Note: I am not making any money from this plugin or PHP page however the game the plugin is written for does require a paid subscription. I am not the developer or in any way affiliated with the game however (other than a paid subscription myself).
SqlExpress is free no matter what the deployment, you just have to accept the limitations
Single CPU
1GB RAM Max Usage
4GB Database size limit (not including logs)
Based on your description I think that the SQLExpress would work fine for your application.
Here's a reference from MS http://www.microsoft.com/Sqlserver/2005/en/us/compare-features.aspx
Express is free and does not require a license fee
If you upgrade to a regular (Standard, Enterprise etc) SQL Server version then typically you get a per CPU license for a web server
SQL Server typically requires a license in your scenario, which is multiplexing.
If you are redistributing Express, meaning sending it to people that install it on their machines to use your plugin, yuo need to register (http://www.microsoft.com/sqlserver/2005/en/us/express-redistribute.aspx).
If you have Express on some server that people hit from a web page, you are OK, though you might run into performance issues with the 1GB ram limit.