I am hoping that someone may have experience with this, since the discountasp site is very lacking in straightforward answers.
I am building a lightweight web application and have decided to have sql ce as the database for it. Two questions regarding this:
Do i need to get an actual database hosted as well as the site, in order for it to work?
Do you know if discountasp supports the use of sql ce (not with webmatrix or any cms builds, completely custom)? If they don't, do you have any experience/recommendations with getting this done?
I did the host on discountAsp.net and use sql ce as the light-weight database.
In this case, you only need to host the website, no need for database hosting.
I use SQL ce 3.5 and it works fine.
But I encounter the problem when I upgrade the website to use ms sql ce 4.0 with EF. I am looking for the their support version for sql ce. So find your post.
Related
Interested to know if anyone has had any experience with moving a VB6 application from SQL Server 2000 to a newer version of SQL Server.
There are VB6 legacy apps on a Windows 2000 Server
These VB6 apps connect to a SQL 2000 Database
We are looking to upgrade from SQL 2000 to SQL 2014
We are reporting with Crystal Reports
The VB6 apps have inline SQL within them
I'd like to understand what the possible implications could be?
Thanks
For one thing, there is no direct migration path from 2000 to 2014. This article (http://sqlmag.com/sql-server-2014/sql-select-steps-migrate-sql-server-2000-sql-server-2014) outlines some potential steps to take to perform the upgrade.
Things that may trip you up not mentioned in this article:
DTS no longer exists so if you have any DTS packages, it will be a project to upgrade/convert them all over to SQL Server Integration Serices (SSIS) packages.
If your VB6 app contains hard coded SQL statements, rather than just calling stored procedures, you could have minor syntax issues that would have to be rectified (so test EVERYTHING)
If you are also looking to migrate VB6 to .NET, there is an upgrade wizard out there somewhere, but it is HORRIBLE, so depending on the need, it may be faster to just re-write from scratch. If you are implying that the VB6 application would just connect to the migrated 2014 database, the note on the main question is accurate, but again...test EVERYTHING.
3a. If you are referencing any old COM components or old OCX controls, it will be a source of pain.
3b. Does your app do any reporting? old 2000 SSRS, or Crystal reports? again, another project.
Good luck!
I've done it, and there were stored procedures / user functions that needed to be updated for compatibility. Here is a Microsoft tool, SQL Server Upgrade Advisor. If you are using inline SQL in your code I'm not sure if this tool will help you. I was fortunate in that most on teh application SQL was implemented as stored procedures inside the database itself.
Here is an MSDN blog post about upgrade considerations and using the Upgrade Advisor tool.
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 6 years ago.
Improve this question
I am looking for an alternative to the free pgAdmin III that works on windows. I basically need it for managing my tables / views / SP / etc. If it did ER diagrams, that is a huge plus, and I like them to make sure all my tables are linking together.
I am used to SQL Server Management Studio and Workbench, so I am looking for for something updated to that. pgAdmin III works, but lacks key things. Example, if I update a SP (function), I have to actually refresh the app so it notices it. Else if I go to re-edit it, it loads my old SP. This caused me to mess up several times. Also ER diagrams is a huge feature it's lacking.
While I do not mind a commercial alternative, I am not looking for a $500 bill. I would really like to keep under 250 is possible.
Please note, I have already tried PostgreSQL Maestro. It works nice, but commonly locks up. I would prefer something a bit more stable and thread safe. Example, once a query is running I can't cancel. It has the option but says, its already running so I have to end the process to stop it. I am also aware of [http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools] however I am looking for feedback by people who actually used the tools. I really do not want to try our 15 different options.
Thanks all in advance!
DataGrip/ IntelliJ IDEA Ultimate Edition
If you are already a user of Jetbrains tools, you may try DataGrip (or the database plugin, when you are an IntelliJ IDEA Ultimate edition user). This is quite new, but suitable for most use cases.
https://www.jetbrains.com/datagrip/
DBVisualizer
DBVisualizer is a very good solution for connecting to "any" DBMS with lots of features. There is a free version avaible, but the pro version is really worth the money:
http://www.dbvis.com/
HeidiSQL
A free and very good client for MySQL, PostgreSQL and SQL Server. It really evolved the last years.
http://www.heidisql.com
Squirrel SQL
Another quite good tool is Squirrel SQL. It's not the most intuitiv and beautiful tool, but has many useful features too:
http://squirrel-sql.sourceforge.net/
DBeaver
Another open source tool with a free community edition.
This is something for Eclipse users, as it is build upon Eclipse and can be installed as Eclipse plugin as well.
https://dbeaver.io
MySQL Workbench
This is not for PostgreSQL, but my answer is quite generic, so I wanted to add this as well.
MySQL Workbench is the officiel tool from Oracle for connecting to MySQL. It is really good for working with MySQL.
https://www.mysql.de/products/workbench/
Others:
Oracle SQL Developer for Oracle
SQL Server Management Studio for SQL Server
this is a very good alternative to PgAdmin, cross platform:
http://navicat.com/en/products/navicat_pgsql/pgsql_overview.html
Hope this helps (approx. $100-$200).
Recently JetBrains released a so-called Database IDE called DataGrip. DataGrip support most major RDBMSs like PostgreSQL, Oracle, SQL Server and MySQL. And it's commercial:
DataGrip User Interface
I also come from a SQL Server Management Studio background so I know how you must feel. Give this one a trial run. I have liked it when I use it.
http://www.sqlmanager.net/en/products/postgresql/manager
Also check out the studio version which bundles a bunch of apps into a suite.
http://www.sqlmanager.net/en/products/studio/postgresql
I am creating one delphi application which is fetches data from database. For accessing the database through delphi i am using DOA components.
Is it possible to run the built exe on any machine? If not then what are the option available? thanks for the help.
Yes, it is possible to run your exe on any machine. You only need Oracle client to be installed.
The DOA components are not free as you can tell by reading their website. So you'll have to purchase these components, and you'll have to install and configure the Oracle client on each machine.
But they may still be your best option. Alternatively, you can use ADO, but the ADO Oracle driver from Oracle apparently is instable, while the ADO Oracle driver from Microsoft is much stabler, but doesn't support blobs.
These problems are solved in ADO.NET, but that won't do you any good using Delphi 5.
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
Azure SQL Services looks pretty cool, and I'd like to use it as a hosted database. I set myself up with a starter web edition database, and after clicking through a million and five EULAs, I got to a console and created a database. It gave me a connection string for ODBC, and for ADO.NET.
I'm using a Mac, with 10.6. What are my options?
Ideally, I'd find something like Sequel Pro or Querious that works with ODBC. Failing that, is there a web console or something?
I suppose there's always DBI::Shell in perl.
Is there anything better than installing Windows 7/VS2010 in VMWare?
You may like SQLPro for MSSQL (mac app store).
The app has a few neat features such as:
Auto-completion and syntax highlighting.
Azure database support (also supports federation).
Tabbed based interface.
Support for executing multiple queries at once.
Quick access to tables, columns and more.
Stored procedure execution.
Disclaimer: I'm the developer of this app. I built it because I wanted a tool for accessing MSSQL databases without running a windows virtual machine. I use this tool on a daily basis now and am continually adding updates and new features to it.
Use Visual Studio Code with mssql extension to connect and query data on Azure SQL database.
SQL Azure provides a standard TDS stream so any program which can connect to a local sql server could connect given the right connection string. See http://www.connectionstrings.com/sql-azure. Also take a good hard look at if you even need a fully relational database. If you dont, Azure Table Storage might be a good answer.
I'm successfully using OpenLink's SQL Server Lite Driver v6.0 to connect to SQL Azure through Mac OS X Lion.
#Erik Paulson, check out SQL-CLI, its a great command line tool to connect to Azure SQL Database and SQL Server natively on a Mac.
Navicat Lite no longer exists
If you want something like Sequel Pro, I'd suggest Navicat Lite. It connects to my SQL Azure instances just fine, and the Lite version is free. It's a native OSX client, so there isn't any funky UI going on. The Lite version excludes some things like visual query building, but overall is very useful.
DataGrip from JetBrains (makers of IntelliJ and PyCharm) is also a great option to query Azure SQL Database from a Mac.
If you want a free option, and just need a commandline interface, you can install freetds. I found a great page on it here, it got me in and running without spending money.
https://martinrichards.tumblr.com/post/28488121620/connecting-to-sql-azure-using-freetds
I would note however, remeber you need to whitelist your PUBLIC IP on the Azure Console SQL server firewall (what you get when you google "what is my IP"). Remember that Azure is sitting out in the cloud, so you need to whitelist the IP it sees
I'd suggest you look at using oData.
It's a RESTful protocol, and there is already an official objective-C SDK:
http://www.odata.org/developers/odata-sdk
I need to build a simple, single user database application for Windows. Main requirements are independence from windows version and installed software. What technologies (language/framework) would you recommend? My preference for language is the Visual Basic.
EDIT: What about VB.Net and SQL Server Compact Edition?
I would recommend Sqlite. It's completely self-contained, and public domain so there are no license issues at all.
Single user or multi user?
For single user, the answer would be SQLite
For multi user (or multithread), try MySQL or PostgreSQL.
Since your requirement is a windows based application i would suggest that you go with sql server 2005 express edition which is a free tool, but with certain small limitations. you can upgrade to a bigger version when you go with a paid version.
There are other DB engines like SQL Lite or FireBird, choose them if the support and growth options they provide are good enough for you
Additionally, Visual Basic is eof lifed. VB.NET might be a better windows based platform currently. It would give a better platform / features to start with and when you want to expand the talent you have working on the project, i assume .NET talent might be more available than programmers who want to work with a dead language.
duplicate of What options are there for a quick embedded DB in .NET?
I'll repeat my answer from there:
"Or theres Esent, the built in database that exists in every copy of windows. Read about it here: http://ayende.com/Blog/archive/2008/12/23/hidden-windows-gems-extensible-storage-engine.aspx" and http://www.codeplex.com/ManagedEsent
SQLite will work for a local desktop application. If you want several users, a few gigas of data, and multiple connections I would use mysql or Firebird.
http://www.mysql.com/
http://www.firebirdsql.org/
FireBird SQL server will be thing of choice. It can be used in both embedded and multiuser mode like traditional databases. It implements many of the SQL standards and has strong community base. It is available for Windows, Linux, Solaris, OS X, HP-UX
As mentioned, SQLite is a great single-user database. This page has VB/SQLite examples. Once concerns is that SQLite parses foreign key constraints, but does not enforce them. You can use this code to generate "foreign key triggers" for SQLite, thus gaining an easy to use database with FK constraints.
Depending on how demanding your database needs are, though, you might want to consider MS Access.
I used SQL Server Compact Edition. It's like sqllite. A single SDF file accessed using ADO.NET.
You can develop your application using Visual Basic .NET and manage you database (add tables, columns, constraints, etc...) using Visual Studio.
SQLite may be what you are looking for. http://www.sqlite.org/
Depending on your needs for the application.
You could use SQLLite which is a very nice database with no installation required.
You could also use Microsoft SQL Server: SQL Server Compact 3.5.
Both are free!
It's not quite clear from your post whether you want a web application or not.
For a web application, MySQL works effectively on the Windows platform. You also have nearly limitless options for development environment including, PHP, Ruby on Rails, Django, and .Net.
If you are looking at a desktop application, MS Access might be suitable ... incredible easy for simple applications.
Well, assuming you don't have any prior experience...
You need some kind of persistence storage (for example a database) and a client.
For the storage you could use almost anything. For example you could create your DB in MS Access and just ship it as a file, using ADO to access it.
Other options are MS SQL Express edition (comes pre-installed on some machines or could be installed for free) and plenty of open source databases like SQLite
For the client side you could not go wrong with VBScript and ADO (using OLE DB drivers). They come with every Windows installation since Dark Ages, you will have plenty of references/tutorials/answers online.
A drawback: no UI to speak of, so you'll have to build a command line interface (which was for a 'simple' application).
If you want to build a UI I would suggest using .NET WinForms. The overhead will be substantially bigger but .NET is now installed on all XP/Vista machines and even if it is not you could always install the framework with you application.
If you want to build application that can move to other pc easily,I prefer Microsoft Access it is small database easy to use and no need to install.It suites for application like Addressbook,mini crud system.
But if you want to develop enterprise database system you should use MySQL instead.
I do not understand what you mean with "independence form [...] installed software". You ever need at least the DBMS installed as well as one client or user interface.
I recommend using MS Access. It is easy and cheap for simple, single user tasks and rapid prototyping development. Only development version have to be bought ("normal" Access) to create DBs. Runtime version of Access 2007 can be downloaded free of cost from Microsoft Homepage - for using only the database you created.
Also it combines DBMS and GUI frontend in same tool.
Dare I mention MS Access...?
If you are looking for small footprint (up to a few MB) and easy deployment (end-user should only install your application to get it working), then your options are SQLite and Firebird embedded.
Of those two, I'd pick Firebird any time, because of it's full support for SQL (you can't, for example, drop a column in SQLite), ACID compliance, and ability to go client/server without any changes (just change the connection string from embedded to server) to the code if you ever decide to let multiple users work on the same database.
Not to mention that you can use full server to develop (which means your application and database administration tool can be connected to database at the same time).
I'm successfully using Turbo Delphi (free for commercial and no commercial use) + ZeosLib (zeos.firmos.at).
The only things you need to distribute with your .exe are the database client dlls (no need to install the client, just put the dlls in the same directory).
Would Kexi work?
I can recommend from personal experience "My Visual database"
free, no code, no sql, just drag and drop.
http://myvisualdatabase.com/
Best Option would be to create a Win32 native application using Delphi and use SQLLite as the database.
Reason being Delphi can produce native win32 applications without any other product being installed on the machine.