Stand alone database for Windows Application (WPF) [closed] - sql-server

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have created a simple (commercial) WPF application and want to distribute it with a database that can be installed on the local machine of a customer.
What database is the best to use ?
I was considering SQL Server Epress Edition 2008. I know the limitations of 10 GB, but that's more than enough and is no issue.
The only thing I'm not choosing 100% for Express is that I don't know how to let my customer backup the database.
My collegues keep telling me to use MS Access, but I don't know if that's a good option because I want to use stored procedures and views.
Please let me know what you are using or you can advise me...

SQLite is a great alternative. There is an ADO.NET provider developed by System.Data.SQLite
And there is a decent, free, editor for SQLite as well: SQLite Administrator
Backing up is as easy as copying the SQLite db file. Really.

What is the estimated amount of data?
For small databases SQLite may be an good choice - it is light, fast, opensource and needs no additionally software. It even supports encryption, if you need that.
Backup is as easy as it could be, as the SQLite-database consists of a single file.
Ruutert: database-size up to 500 mb:
That size should be no problem for SQLite. We use databases up to several GB. Only problem on big databases is, that vacuum (like reorg / compress unused space) takes as longer as bigger the database is (but that is the same for other database-types)
Ruutert: disadvantages of SQLite?
You could get problems with High Concurrency (lots of parallel database-access). Also I would consider an client-server oriented database-manager if your workload is so heava that you think about moving your database-manager to another server - splitted from application-server.
But as you considered using SQL Server Express or MS-Access, which have limited functionality too, that should not be the problem. On the other side you have the advantage that you need just an small dll (or compile it static into one of you own) instead of installing an complete database-manager.

An embedded database (like SQLite, which others answerers already mentioned) sounds like the right choice for you.
Since you're using .net anyway, how about Microsoft's SQL Server Compact?
(also an embedded database)

SQL-CE does not include stored procedures.
SQLite is usually the chosen one. However, there is also VistaDB.
You could always look into NoSQL or OO databases:
db4o
RavenDb
EloqueraDB
Note that some of these may need separate DLLs in order to expose the providers in .NET code.

Related

sql server client for mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a SQL Server client that will run on Mac OS X. Ideally, I'd like something lightweight that allows me to easily browse the schema, run adhoc queries, highlight SQL syntax, etc.
I really like SQL Yog, so something like that would be perfect, any recommendations?
You may like SQLPro for MSSQL (App Store).
The app has a few neat features such as:
Syntax highlighting.
Intellisense.
Tabbed based interface.
Support for executing multiple queries at once.
Quick access to tables, columns and more.
Query primary key detection and the ability to edit/delete/insert rows directory from query results.
Support for MSSQL 2005+ database, including those hosted on Azure.
NTLMv2 supported (but not required).
Netbios hostnames supported.
There is a seven day trial available via the website. If you purchase via our website, use the promo code STACK25 to save 25%.
Disclaimer: I'm the developer.
I would suggest you NAVICAT. It's not free but it's not that expensive either. Other than that, any JDBC based solution would work, although they might not be as lightweight as you may want. SQuirreL SQL is pretty good.
Have you tried Aqua Data Studio? It's not very lightweight but if the database is small it should handle it easily.
DBVisualizer. Been around for a while. Not the cheapest but has a lot of bell/whistles and works very consistently bet/ MAC and Windows.
Supports all commercial/popular DBs.
http://www.dbvis.com/
You may like Valentina Studio, which is FREE for its 80% of features. Some advanced features go as Pro Edition.
The app has a few neat features such as:
Syntax highlighting.
Intellisense.
Tabbed based interface.
Support for executing multiple queries at once.
Quick access to tables, columns and more.
Support for MSSQL 2005+ database, including those hosted on Azure.
Have powerful Report Tools
Query Builder
Schema Editor
Diagram Editor, forward and reverse engineering
Data Editor with unique Related Tables feature
SQL Diff
Works in mac, win and Linux also. Natively. C++ app.
etc and etc
Disclaimer: I'm from Paradigma Software.

web front-end for database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'd like to know if there is some open source web front-end for databases.
I'd like something where queries can be executed from a web browser, only read-only queries are fine. If possible it would be great to be able to select with a gui the columns that are displayed as the result of the query.
As several people asked me, I use Oracle. I'd prefer open source to be able to customize if needed.
For MySQL, phpMyAdmin is the only open source tool I'm aware of. I'm not sure about other types of databases.
I've used one called myLittleAdmin for SQL Server, but it's a closed-source paid product. Probably not going to be much help there.
MySQL has phpMyAdmin, which is quite good.
For Oracle and SQL Server there's Maestro.
It depends on wich database you are going to use, i have used phpMyAdmin before and it is really nice.
phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement.
We use DBHawk from Datasparc. It has many features such as web based query builder, editor, SQL report builder etc. It is not open source, but Datasparc provides customization based on your needs. We are using it for our support team where we need to access many SQL Server/Oracle databases through a browser.
For a PHP/MySQL standard setup, I've found SQLBuddy to be a great (and free) little utility. It's really simple, has almost no install, and it is friendly to use. phpMyAdmin can be a bit overkill for some people especially if you're just messing around with the database and wanna check if your entries were inserted. Check it out.
Not good for you if you're using Oracle but as well as phpMyAdmin, there is also phpPgAdmin for us folks who use Postgres.

Is there anything as good as TOAD for Postgres (Windows)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm just looking for a management tool like TOAD for Postgres. Anyone used a good one?
Edit - I work mostly within the data itself and the database already has a mature model/design. I use the edit windows the most (well, in TOAD for Oracle anyway.)
As far as I know, Toad only exists naturally for: Oracle, MS SQL, DB2 and MySQL...
--JS
Doesn't TOAD exist for several plattforms?
I'm using pgAdmin III which fills my needs so far.
http://www.pgadmin.org/
Not sure if TOAD for specific DB versions is any different than TOAD for Data Modeler, but it appears that TOAD Data Modeler supports PostgreSQL, along with a few others.
If you're looking for something like SQL Server Management Studio, but for Postgres, how about EMS SQL Manager or Lightning Admin?
See the wiki: http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools
TOra has some nice features and is supposed to be a lot like TOAD. Also, it is completely GPL so you can change the code yourself.
BTW: Toad is not OpenSource and is now only trialware (must re-install every 120 days). TOra is OpenSource so you don't have those issues.
I've used Navicat fairly extensively and successfully but only on a Mac. It has a Windows implementation that is, as far as I know, more feature rich than the Mac implementation.
I've had the odd data typing issue with it but, if you are not doing data modelling, that may not be an issue for you
Because you do not need to edit the database design, I suggest SQL Workbench/J. It is Java application. You can use GUI mode (which I prefer to) and console mode (if you like psql-like command console).
I use this app much more than pgAdmin III or pgAdmin 4 because it helps me to ease monitoring the database activity, deploying new version of DB app, etc.
Navicat for PostgreSQL is working really well for me natively.
I set up phppgAdmin for the teams general use and it has been quite valuea
ble

Database functionality with WPF app: SQLite, SQL CE, other? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to extend a WPF application with database functionality. Which database engine would you suggest and why? SQLite, SQL CE, other?
Depending on the applications use, I would recommend using SQL Lite because it doesn't require you to install any other software (SQL CE or Express, etc. usually would require a separate install).
A list of the most important benefits for SQL Lite from the provider link at the bottom of this post:
SQLite is a small C library that
implements a self-contained,
embeddable, zero-configuration SQL
database engine. Features include:
Zero-configuration - no setup or
administration needed.
Implements most of SQL92. (Features
not supported)
A complete database is stored in a
single disk file.
Database files can be freely shared
between machines with different byte
orders.
Supports databases up to 2 terabytes
(2^41 bytes) in size.
Small code footprint: less than 30K
lines of C code, less than 250KB
code space (gcc on i486)
Faster than popular client/server
database engines for most common
operations.
Simple, easy to use API.
Self-contained: no external
dependencies.
Sources are in the public domain.
Use for any purpose.
Since you're using WPF I can assume you're using at least .NET 3.0. I would then recommend going to .NET 3.5 SP1 (sames size as .NET 3.5 but includes a bunch of performance improvements) which includes LINQ.
When using SQLite, however, you would want to use the following SQLite Provider which should provide LINQ support: An open source ADO.NET provider for the SQLite database engine
I used SQL Compact Edition with my WPF app and I'm happy with my decision. Everything just works (since WPF and SQLCE are both MS they play nicely together), and the installation of the runtime is small enough and smooth enough for my needs. I created and modified the database through visual studio.
Just to throw out a differing opinion, we've been using SQL Compact Edition for the last year and have been generally satisfied with. The configuration is cake and it behaves very similar to a regular MS SQL database. There are things missing, like triggers and stored procedures, but SQL 3.5 CE has virtually everything else we'd need. It's about 2Mb of .dlls to install. It offers database encryption, transactions, and supports VS's typed dataset designer (3.1 had some problems, but CE 3.5 is great!).
SQL CE DLLs can be packaged into your own application and need not require a separate install. But MS provides a default install package, if you dont want to learn about setup ...etc.
More ot it, SQL CE supports private deployment.
SQLite is a really nice product although I miss features from PostgreSQL. There are other, especially non-SQL, databases you may to consider like Berkeley DB.
/Allan
I would agree that SQLite is the way to go.
Subsonic 2.1 now includes SQLite support as well.

Tool for querying databases [closed]

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 10 years ago.
Improve this question
I want to query a number of different databases mainly Oracle and Informix.
Can anyone suggest me some tool using which I can do this easily?
Try WinSQL lite at http://www.indus-soft.com/SynametricsWebApp/WinSQL.jsp. It is absolutely free and does not expire. It is only one file and does not come with any bulky DLLs. If you don't like it, simply delete the file from your hard drive.
An introduction about how to use it against an informix database can be found in this article.
I use and love DbVisualizer.
I like SQuirreL SQL Client. It's cross platform and database independent, and quite handy.
As a previous answer stated, WinSQL is one of the best "generic" sql query programs, although it is far from perfect. Generally speaking, the programs dedicated to a particular sql product are better (usually 3rd party products, not written by the SQL vendor). TOAD is a great program for Oracle (originally written by an Oracle employee in his spare time before being bought by Quest). TOAD has become a little bloated of recent versions, but is still a fantastic product. I think there are versions of TOAD for MySQL and maybe one or two others, however, the Oracle version is by far the best. When I last used Informix (2004) there was a reasonable 3rd party Java program whose name escapes me for the moment. The standard tools that come with Informix are from the dark ages (I used the Unix utilities that look a bit like DOS versions of Lotus 123), so anything else is better. I used WinSQL with Informix with great success.
The best alround one is TOAD
#littlegeek: Toad is not available for Informix. Additionally, the OP seems to want a single program that can query several different brands of DBMS, and you have to buy a different version of Toad for every DBMS you want to use it with.
Informix is not very well supported among third party database tool vendors.
Interestingly, Oracle' SQL Developer supports browsing (and converting to oracle) several databases, including SQL Server and MySQL.
Try the following:
Query Express (single 100KB executable, no install)
Query ExPlus (improved Query Express)
There is several options on this page: http://freewarehome.com/index.html?http%3A//freewarehome.com/bx/index.php%3Faction%3Dvthread%26forum%3D8%26topic%3D7136
GenDAT is not bad, but I am biased as I did write it ! It has been voted highly though.
I need cross platform now so I use Oracle SQL Developer which I think is great. It can handle other databases not just Oracle. Another good one (cross platform) is DB Solo.
I like Aqua Data Studio from Aquafold. It supports all of the major database players as well as some of the less including Informix. Great features like code beautification and syntax highlighting are perks.
We use Aqua Data
I have used Query Tool for years http://www.gpoulose.com/
It is lightwight and gets the job done.
However, I will also investigate some of the other ones listed here. Must say that SQLDeveloper and Toad are too bloated for my needs. I work on many different systems in any day, all at different clients with different security and down to very low-end machines. Having one simple tool and good SQL chops goes a long way!
I also would like to note that because I am installing it on new servers constantly, it needs to be free, or have an unlimited machine license. I'd be happy to pay for my own use of the tool, but need to be able to install it over and over again.

Resources