Maintainer: |
jcdiazlz |
Bewertung: |
(2 votes)
|
Anwendung: |
Calc |
Tags: |
calc, extension, SQL, extension, database, extension, query, extension, SQL.REQUEST, extension |
Source code: |
http://jaguarcalcaddin.cvs.sourceforge.net/jaguarcalcaddin/ |
Beitragsdatum: |
Mittwoch, 28 November, 2007 - 11:48 |
Statistiken |
Week: Nicht getrackt - Monat: Nicht getrackt - Jahr: Nicht getrackt - Timeline |
A library of Calc functions.
Functions
This version adds only the SQLREQUEST function to Calc.
SQLREQUEST allows to query a JDBC data source. It is similar to the SQL.REQUEST function provided with MS-Excel.
Being an array function, SQLREQUEST, results in an array containing the data returned by the data source. The online help of Calc includes the "Array Functions" section explaining how to use them.
Examples.
The following is an example of a typical call using the MySQL J/Connector driver:=SQLREQUEST("com.mysql.jdbc.Driver";"jdbc:mysql://server_ip_address/?user=name&password=abc";"SELECT * FROM table")
the following shows a call using the HXTT DBF JDBC driver:=SQLREQUEST("com.hxtt.sql.dbf.DBFDriver";"jdbc:dbf:smb://machine_name/share_name";"SELECT * FROM table WHERE condition")
and the following a call using the HXTT Paradox JDBC driver:="SQLREQUEST("com.hxtt.sql.paradox.ParadoxDriver";"jdbc:paradox:smb://machine_name/share_name";"SELECT * FROM table WHERE condition")
Data type conversion issues.
Considering that Calc Add-In functions, by design, only support three data types as return value, the following considerations have been taken:
=VALUE(cellReference)
Consult the com.sun.star.sheet.AddIn service for further details.
Requirements.
lib/ext
directory of the JRE configured in OpenOffice)This extension has been tested under the following platforms:
using the following drivers
com.mysql.jdbc.Driver
class)Future releases
Version 1.1 might add a fourth parameter to allow specifying the desired return type of each column.
This would leave the user the choice of specifying:
I appreciate your feedback on this issue to decide the future direction of SQLREQUEST.
This add-in was first released on 02-dec-2007
Version | Operating system | Compatibility | Release date | ||
---|---|---|---|---|---|
1.0.2 | System Independent | 2.x, 3.0, 3.1, 3.2, 3.3, 3.4 | 03/12/2007 - 14:18 | Weitere Informationen | Download |
1.0.1 | System Independent | 2.x, 3.0, 3.1, 3.2, 3.3, 3.4 | 02/12/2007 - 18:44 | Weitere Informationen | Download |
1.0.0 | System Independent | 2.x, 3.0, 3.1, 3.2, 3.3, 3.4 | 28/11/2007 - 15:07 | Weitere Informationen | Download |