Hello,
I currently try to use xharbour in order to run my clipper programs on
a SQL Server database.
Many points that surprised me :
- A program that just displays all the records of a table is twice
faster running on a .dbf file than running on a SQL Server database.
Is it normal ?
- What is a lot more surprising is that the same program compiled with
the original clipper v 5.2 compiler is about 25 times faster than
compiled with the xHarbour compiler ! Why such a difference ??
- Is there a possibility to change the name of the tables in the sql
database without changing the use instructions in the clipper
program ?
For instance, having this instruction :
use c:\aFolder\Order.dbf VIA "sqlrdd"
should the name of the sql table necessarily be named :
"_aFolder_Order_DBF" ? Or is there a way to remove "_DBF" for
example ?
- It seems that xHarbour doesn't support exclusive file opening and
record locking. I mean exclusive instructions and FLOCK(), RLOCK()
functions have no effects. Is there something more to do to have
exclusive access on a table/record ?
Thank you in advance for any help, clarifications or suggestions.
mathmax
I currently try to use xharbour in order to run my clipper programs on
a SQL Server database.
Many points that surprised me :
- A program that just displays all the records of a table is twice
faster running on a .dbf file than running on a SQL Server database.
Is it normal ?
- What is a lot more surprising is that the same program compiled with
the original clipper v 5.2 compiler is about 25 times faster than
compiled with the xHarbour compiler ! Why such a difference ??
- Is there a possibility to change the name of the tables in the sql
database without changing the use instructions in the clipper
program ?
For instance, having this instruction :
use c:\aFolder\Order.dbf VIA "sqlrdd"
should the name of the sql table necessarily be named :
"_aFolder_Order_DBF" ? Or is there a way to remove "_DBF" for
example ?
- It seems that xHarbour doesn't support exclusive file opening and
record locking. I mean exclusive instructions and FLOCK(), RLOCK()
functions have no effects. Is there something more to do to have
exclusive access on a table/record ?
Thank you in advance for any help, clarifications or suggestions.
mathmax