FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Something about SQL
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Something about SQL
Posted: Wed Apr 17, 2013 07:41 PM

Dear friends, I was asked to port a big application to SQL with the minimun effort.

Any suggestion is welcome. :-)

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Something about SQL
Posted: Wed Apr 17, 2013 08:21 PM
Enrico,

I guess that the simplest solution is to use SQLRDD (commercial).

If you have enough time, then I would suggest to use SQLWIN, as you have full source code and its implementation is quite similar to SQLRDD. SQLWIN is a work in progress, but already offers enough functionality. SQLWIN is open source and free:

http://wiki.fivetechsoft.com/doku.php?id=sqlwin_development
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Something about SQL
Posted: Wed Apr 17, 2013 08:45 PM
Antonio Linares wrote:Enrico,

I guess that the simplest solution is to use SQLRDD (commercial).


I tried SQLRDD more than once in the past but it never worked correctly. I reported the bugs but never got a response. So I gave up to use it.

Antonio Linares wrote:If you have enough time, then I would suggest to use SQLWIN, as you have full source code and its implementation is quite similar to SQLRDD. SQLWIN is a work in progress, but already offers enough functionality. SQLWIN is open source and free:

http://wiki.fivetechsoft.com/doku.php?id=sqlwin_development


Thank you. Is there a link from where it can be downloaded?

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Something about SQL
Posted: Wed Apr 17, 2013 09:00 PM
Enrico,

You have to copy and paste it from here:
http://wiki.fivetechsoft.com/doku.php?id=sqlwin_development

We could start a project in google code and upload the files to download, examples, etc :-)

I always thought that SQLWIN is the way to go, as a free and open source replacement for SQLRDD and similars (that are completely closed).
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Something about SQL
Posted: Wed Apr 17, 2013 09:04 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Something about SQL
Posted: Wed Apr 17, 2013 09:24 PM

Sorry, I don't understand how to use it... :-(

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Something about SQL
Posted: Wed Apr 17, 2013 09:39 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Something about SQL
Posted: Wed Apr 17, 2013 09:42 PM
And here the instructions to build it with Harbour and xHarbour:

https://code.google.com/p/sqlwin/w/list
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Something about SQL
Posted: Thu Apr 18, 2013 09:21 AM

Thank you. I will try it and report back.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Something about SQL
Posted: Thu Apr 18, 2013 10:47 AM

Enrico,

It seems as Rossine uploaded a SQLWIN more recent version to our wiki but mainly based on Postgress.

I am going to look for the previous version (without Postgress) and I will upload it to the project site and I will report it here, also with some simple examples :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Something about SQL
Posted: Thu Apr 18, 2013 11:18 AM

Thank you, Master! :-)

EMG

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Something about SQL
Posted: Thu Apr 18, 2013 11:26 AM
Enrico,

I'am surpriced that you don't use ADO with SQL. :-)

I have already converted some of my project to MYSQL with ADO and SQLite with ADO, and I'm very happy with it.
It's because of you and Rick Lipkin that I have switched to ADO.
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=24920&hilit=sql

I also use recordsets like you also suggested in an other topic.

My programs are much faster an most of the time I need less code :-)
There was even a case that I use to have more than 10 lines, and now I have only 3 lines to do the same (and faster) :-)
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Something about SQL
Posted: Thu Apr 18, 2013 11:33 AM

Marc,

I use ADO for the new SQL project. But now I need to port a big DBF application to SQL and cannot afford the huge work that would be required to rewrite the application using ADO. :-(

EMG

Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Something about SQL
Posted: Thu Apr 18, 2013 11:50 AM
When I began to migrate my system to SQL I used Mediator: http://www.otc.pl I found it easy to use.
Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10