Converting a Dataease 4.23 DQL database into a SQL database - sql

So I have a DataEase DOS 4.23 database, which I have full access to open and look at, and I'm looking to see if I can somehow convert this into a MSSQL or PGSQL (or any modern SQL, really) database. I've looked through this software, and I can't seem to find any sort of export function. I've found some documents that say to upgrade the system to 5.x, which has an export function, but I've had trouble locating an installer for DataEase 5.x.
Is there any known way to programmatically export the DQL to a more modern format? Even CSV is acceptable to me at this point.

I figured it out! Just had to use the wayback machine to find a program called Datagrab that some guy wrote in 2002, which only worked on XP and prior machines, so I created a VMware WinXP installation, transferred Datagrab and the database files to that machine, and was able to successfully transform the database tables into CSV files with only a few hundred errors (easily solved)!

Solved this with a program DataGrab.
In the link there is a newer software called ConvPlus, which has more features.
Both programs were tested on Windows 7 SP1 and have done their work
http://www.meltonisl.com/software.html

Related

How to store Arduino sensor value to SQL Database

I am using Arduino UNO. I want to store arduino sensor value to SQL Database, from that Database i want to show that values which was stored in Database Table to user thorough ASP.NET Web Browser. Also I am using ethernet shield.
I have found this method done by PHP, but I want to do this in C#. How can I do that?
Depends on what you want to do...
If you want to run a C# application on Arduino, and your Arduino has an ARM Cortex processor, then you stand a chance. If it has an Intel Quark (x86-32) or an Atmel AVR (8-bit), then you're out of luck.
So in case you have an ARM-processor, you need to download Visual Studio 2017 (Community edition - free). Then you need to install .NET Core 2.0 preview. From there, you can compile a standalone Linux-binary targetting ARM. The result should run, if your Arduino can sport a Linux distro. However, I doubt you will find a version of linux that fits in 32K - but if you do, you could probably compile it and upload it to the Arduino.
If what you mean is "How can you get the sensor data from Arduino", then you can either use System.IO.Ports, or you can use the C# Arduino USB drivere here:
https://github.com/christophediericx/ArduinoDriver
Next, you need a relational or NoSQL database to store sensor information.
Since you're probably a just-starting windows-user, I'd recommend you download sql-server express, and SQL-server management studio Express. If you're not a fan of Microsoft, you can also use PostgreSQL, or SQLite, if you don't want to install anything. Firebird would also be a nice embedded database. If you'd have an extreme high write-frequency, and need multiple computers to store the results, you should use Cassandra (NoSQL) - However, Cassandra is not for beginners, and neither is PostgreSQL, SQLite or Firebird. So I recommend you use SQL-Server Management Studio and SQL-Server Express.
If you also install SQL-Server-data-services, you could also use ReportingService to output your measurements, which has the added benefit of easy filtering, and multiple output formats (HTML, Excel, PDF, PowerPoint, Word, TIFF, Graphs, XML, CSV), without much work on your own. Then you don't need any ASP.NET application.
If however, you want to output the data in your own database table, you need the SQL-Server ADO.NET driver (System.Data.SqlClient) to access the SQL-Server express database. For PostgreSQL, you'd need the PostgreSQL-ADO.NET driver (Npgsql), and for SQLite you'd need System.Data.SQLite.
You can output the table in ASP.NET web forms with DataGridView, and do DataBind in the Page_Load event. Or you could use the more modern ASP.NET Core framework, to write a REST-service, and display the table with JavaScript and AJAX/JSON (use a JavaScript-grid like HandsonTable or SlickGrid). You'd need to serialize the data to JSON using Newtonsoft.JSON.
Or you could display the table in real-time with web-sockets and a web-sockets real-time DataGrid.

How to connect to a database with 64 bit labview

So I am using labview and their data connectivity tool kit only works with their 32 bit version. I need to use their 64 bit version though to be compatible with some of my other files.
If I have a local sql database, which I access using the mysql command line client, what would be the best way to talk to it? Should I use executables like bat files or is there a better method? Should I store data in a different way?
Thanks in advance for your help.
I have never really liked the data connectivity toolkit, mainly because it is Windows only. That being said, I recommend setting up a MySQL server on your computer and using TCP/IP to communicate with it. This community forum link is a good start, although there are some issues with this code. I use code based off of that in my software, unfortunately I cannot post that source code.

Octave database connection

Does anyone know how to connect to an ODBC database in Octave? The database package doesn't seem to install properly. I found this bug here:
http://savannah.gnu.org/bugs/?30090
Is there any other method? I am actually trying to connect to SQL Server and am using Windows 7 (not linux unfortunately, at my work place!).
If not, are there any other matlab type programming environments out there that anyone would recommend?
A looong time ago I wrote a connector for Octave to PostgreSQL (which is still on its webpage here). Maybe you could use that a starting point?
Taken from a reply by Martin Helm to the same question on the Octave forum which suggests using Java plus JDBC. -
Look at the java bindings in the octave java package (octave-forge), it is
maintained and it works. Java is very strong and easy for database handling.
Use that and jdbc driver for mysql to connect to mysql (or with the
appropriate jdbc driver everything else which you can imagine). That is what I
do when using db queries from octave. Much easier and less indirect than
invoking scripts and parsing output from databse queries.
As far as I remeber the database package is somehow broken (at least I never
was able to use it).
I also have this problem and will be giving this a try.

Is there something similar to Source Code Outliner Power Toy for VS2010?

I absolutely love the Source Code Ouliner power toy that I use in VS2005 but am upgrading to 2010 and it seems they haven't yet released a new version. Is there anything similar that shows you a basic outline of the file you are currently navigating?
ReSharper, amongst many other features, has a File Structure window which does the same as Source Outliner.
For a free one, try the Solution Navigator in the Microsoft Productivity Power Tools.
Like you, I found this a totally great plug in that saved on the order of minutes per day. No more searching for functions! Luckily Source Outliner has been re-created for VS2010 and is still free. However, sbohlen updated it and it now runs on the (free) DXCore environment. I have been using it ever since I upgraded to VS2010.
You can read along as I got this set up, downloaded all the parts and got it running.
http://unhandled-exceptions.com/blog/index.php/2010/05/23/plugins-for-dxcorecoderushxpresscoderushrefactor-pro-201014-rtm-available/
The download is here:
http://code.google.com/p/dxsourceoutliner/downloads/list
You will also need the DXCore community installer from http://www.devexpress.com
But as a ReSharper user for years now, I will use the File Structure - same sort of view and already built in to R#.

Creating An OLEDB Connection From Excel To SQL

I am looking to run SQL queries using VBA code in an Excel file. It may sound like a bad way to do things, but the purpose of this is to support legacy functionality on a project I'm working on.
I figured out how to create an ODBC connection, but it requires several steps which may be troublesome to implement on many computers, so I'm looking into the possibility of using OLEDB to get the job done.
My question is how to go about setting things up so I can run SQL queries in Excel using VBA.
Both ODBC and OLEDB require data providers installed on the target machine. If by "several steps which may be troublesome" you meant installing these, there'll be a little difference.
Provided your target operating systems don't include Windows versions below XP, and your target database is in this list of databases supported by MDAC by default, then you won't have to do anything special. You'd create an ADODB.Connection object and open it using one of the connection strings.