English
Forum

SQL, Firebird / Interbase and XProfan

 

Dietmar
Horn
Hello together,

today contact I time with a SQL-trouble order selected Hilfestellung on The SQL-Experten under you.

I work z.Z. with XProfan 11 in a komplexeren proposition. its already right far gediehen. The yet einzigste, but crucial Problempunkt is for me The on- or. Integration the RDBS Firebird (Freeware or. Open-Source) or. Interbase (the kostenpflichtige Gegenstück of Borland To Firebird - like the Relationship between MS Office and Open-Office).

yet had to I yet never big with SQL keep busy, except that I me always times the XProfan-Help to that SQL-Topic reingezogen and the everything as right logical felt having. still How often, lying the dog certainly only in a tiny detail bury, I not know, or in a Error, whom I made or overlooking have.

Firebird and Interbase knew I To to 4 weeks not yet time of names since, because I something like yet never needed having - but now is it so far.

ODBC-driver and Firebird are installs.

first of all goes it therefore, a link produce. under windows 2000 (in unserem Vereins-cabinet) works The Initialisierung with SQLInit meanwhile.

The Initialisierung supply under W 2000 How desired the lever back:
var i% = SQLINIT(DSN=Firebird;)
messagebox(st$(i%),,4160)

under Windows XP yields the however yet always 0 (means failed), and in the Contrast To W 2000 appear there before not yet time the dialog to that prompt of Username, PWD, etc.

before this Completed: the produce the link not resolved is, need I none big go on.

Literatur over Firebird have I meanwhile tonnenweise, still before I not create, on all windows-Systemen ex 2000 up a reliable link produce, nützt me the everything unfortunately not too plenty.

can me Perhaps someone help, the itself already time something hither so engage has?

The next steps, So the Neuanlegen of/ one data base, or the Edit / Reading of/ one vorhandenen DB and the Weiterverarbeiten the data in the actual Program might then solely another pure Fleiß- and Logik-work his.

the sheer z.B. on dBase isn't possible, because dBase dbzgl. not over The for this proposition erforderlichen Feautures verfügt.

who can evtl. help on?

I suspect time, if the program sometime with Firebird runs, then should the program too with Interbase functions - or?

Greeting and thanks beforehand
Dietmar

111 kB
Hochgeladen:01/11/09
Downloadcounter208
Download
33 kB
Hochgeladen:01/11/09
Downloadcounter171
Download
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
01/11/09  
 




RGH
Hello Dietmar,
User and password must XP in the Init with indicated go. whom dialog to input of password and User there XP evident not any more. (is me already negative noticed.)
so ought to it weg:
CompileMarkSeparation
whether in Your drop DATABASE used becomes, white I do not, I me with Firebird not yet befaßt have.

Greeting Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/11/09  
 




Dietmar
Horn
thanks, Roland,

i'll the naturally try (I faith however, that I these Variante in between already -zig time ergebnislos tested having).

I had anyhow vermutet, that here in the Community not allzuviele SQL-Profis on the way are.

On any Cases I will the proposition (hopefully with further allude from ours XProfan-Community) in 1 - 2 - 3 weeks somehow running catch.

i'll first time another couple PMs, z.B. one (of my former) XPRF-Schülers to wait it out, because z.B. Thomas Z. (meanwhile case-Informatiker for Irgendwas-DingsBums) has me with its SQL-Kenntnissen already now something integrally beautiful weitergeholfen.

certainly is the again only one klitzekleines SQL-Problemchen, which not yet To in my small stupid-Hörnchen-Hirn vorgedrungen is ...

further Notes and Hilfestellungen To my actually SQL-trouble are naturally Welcome.

Greeting and thanks beforehand
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
01/11/09  
 




Dietmar
Horn
Hi,

SQLInit me supply now finally lever back, after I In the Control Panel under management -> Datenquellen (ODBC) a available demonstration-data base namens Employee.fdb registered have.
CompileMarkSeparation
var DB1& = SQLINIT(DSN=Firebird;)
messagebox(str$(DB1&),,4160)e>

with
CompileMarkSeparation
runs by me yet yet quite nothing. I can means always only with of/ one only vorhandenen data base works, or must I for each available data base a new Sign in the Systemsteuerung lay out? the would Yes terrible!

with
CompileMarkSeparation
wished I me now whom Tabelleninhalt Show let. but only always Messagebox ODBC-Error with some kryptischen characters afterwards (but always the same komischen characters, alike I with SQLEXEC eintrage).

the lay out of/ one new scheduler with CREATE TABLE works yet genausowenig.

The next steps wären then the Reading einzelner boxes and the add / Change of Datensätzen.

Roland, know You over again council, or anyone else?

If I there through be, then be I certainly ripe for Klappse. so, How me this Firebird-SQL-Zeugs now already geschafft has, would the still not time my XProfan-Kursteilnehmer create - neither with 16 hours course on the day on 7 Meet in the week.

but somehow must I the into next weeks hinkriegen, alike How.

I have times the demonstration-Database and The ODBC-Error Message with appended.

Greeting
Dietmar

90 kB
Hochgeladen:01/12/09
Downloadcounter107
Download
8 kB
Hochgeladen:01/12/09
Downloadcounter103
Download
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
01/12/09  
 




RGH
Hello Dietmar,
even if SQL created watts, circa as many as possible Databases uniform abzufragen, there unfortunately then still oftmals swell and small differences.
myself have XProfans SQL-skills bislang free from problems with dBase-Files (pub), MySQL (pub and removes), ZIM (pub and removes) and Oracle (removes) inserted. removes means, that The Datenbak on one Server in the companies-networking or quite over TCP/IP on one computer in a others network was.
with Firebird have I bislang yet nothing To do had. circa you moreover To help should I FireBird yourself install.
which FireBird-Version using You?
Can it pub install and then too pub hereon grab? (on the web page standing of what Classic installation and SuperServer. which have You using?

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/12/09  
 




Dietmar
Horn
Hello Roland,

I have The Version Firebird 2.1.1.17910 installs - Superserver (means any standard-tick in the Setup-Program so let) and it as service launched.

one can Firebird naturally pub install and then too pub hereon grab.

I faith, moreover need one too yet whom ODBC-driver, I slopes it time with on (I had to it anyway by me first yet install).

my Program should possible not The Kommandozeilen-Tools of Firebird benefit, separate everything by SQL of XProfan from.

Greeting
Dietmar

493 kB
Hochgeladen:01/12/09
Downloadcounter96
Download
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
01/12/09  
 




E.T.
i'm Yes the opinion, the one these API benefit ought to :

Firebird-guide
The Firebird client library provides on Application Programming interface (API) with functions for connecting to servers and working with databases. The library functions communicate with the server(s) using a dedicated Firebird client/server protocol that sits on top of the general network protocol provided by the OS.

All client applications and middleware must use the API in some way to access Firebird databases.The Firebird API is backwardly compatible with the InterBase API. The InterBase API Guide (available at [...]  contains extensive documentation on the use the API in applications. Additional features available in the Firebird API are documented in the Firebird release notes.

Client filenames
The Firebird client library files are fbclient.dll (windows), libfbclient.so (Linux network client) and libfbembed.so (Linux local client with embedded engine, Classic only). In order hardship to break certain existing applications, a copy of fbclient.dll with the old name gds32.dll can be installed on windows machines. On Linux, legacy libgds* symlinks are installed automatically.


one belehre me one better... 
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
01/12/09  
 




RGH
Hi,
installs have I The story and the SQLInit works too lovely.
to that further Vorgehen another question. The supra attached Testdatenbank from you is EMPLOYEE. How is The scheduler or. hot The tables, The in this data base are?

Greeting
Roland
(power but first tommorrow moreover. good night!)
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/13/09  
 




E.T.
RGH
...The supra attached Testdatenbank from you is EMPLOYEE. How is The scheduler or. hot The tables, The in this data base are?...


EMPLOYEE.FDB
under Firebird is everything !!! in of/ one data base, the can data, Videos, Images or anything else his...
there becomes everything in a db (u.u. with Giga-Size)gepackt, therefore my Info moreover supra, The API To benefit. Normales SQL becomes there, think I, not far come, there Yes The .fdb of someone auseinandergenommen go must.

P.s. : I red not only schlau, I seat self too drann, the Dingens to that walk To get... 
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
01/13/09  
 




RGH
Hello and good tommorrow!

now, i think time, if it a ODBC-interface gives, becomes one on The data over these somehow grab can. I go though still of it from, that The data in a rDatenbank in anybody point in tables organisiert are, as with others Databases, with exception of Clipper/dBase and Konsorten*, normally is. or lie I here wrong.
and a data base contains a or several tables. and these include a or several Datensätze, The widerum one or several boxes include.
(whether The whole data base now as here physical in a File lying, or How about with mySQL or ZIM on several distributed is, ought to for grabbed no role play.)

Greeting
Roland

* Since there it really only single tables. under ODBC go The tables, The in the equal directory lying, as data base viewing.
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/13/09  
 




RGH
appendix:

Please not data base with scheduler confuse! an dbf-File is z.B. a scheduler and no data base, not more than part of/ one data base.

EMPLOYEE.FDB is the data base. These contains tables. and How I with the very lovely Tool IBView now found out have, are it following tables: COUNTRY, CUSTOMER, DEPARTMENT, EMPLOYEE, EMPLOYEE_PROJECT, JOB, PROJECT, PROJ_DEPT_BUDGET, SALARY_HISTORY and SALES. and naturally The Systemtabelle, The any Info over tables, Indices, etc. contains: RDB$RELATIONS.

unfortunately I get bislang each attempt on these access, The of Dietmar beschriebene Error Message. The Access to The data base yourself succeed by me free from problems with folgendem SQLInit-Statement:
CompileMarkSeparation
or without Passworteingabe with:
CompileMarkSeparation
one ahnt it already: by me lying The EMPLOYEEE.FDB on DokumenteFireBird.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/13/09  
 




RGH
BEI MIR GEHT ES JETZT!

what have I made? not The veralteteten ODBC-driver from Your (Dietmars) Posting uses, separate here the latest stabile Release gotten: [...] 
(whom obersten entry, Version 1.2 Full Install)

The following Program functions now correct:
CompileMarkSeparation
cls
var sql& = sqlinit(DSN=Employee;UID=SYSDBA;PWD=masterkey;DBNAME=D:\Dokumente\FireBird\EMPLOYEE.FDB;)
print sql&
ClearList
sqlExec select * from EMPLOYEE,1
listbox$(EMPLOYEE:,2)
ClearList
sqlExec select * from CUSTOMER,1
listbox$(CUSTOMER:,2)
38 kB
Kurzbeschreibung: Konfiguration
Hochgeladen:01/13/09
Downloadcounter136
Download
57 kB
Kurzbeschreibung: Systemsteuerung/management/Datenquellen ODBC
Hochgeladen:01/13/09
Downloadcounter147
Download
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/13/09  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

19.137 Views

Untitledvor 0 min.
Klaus Kohlhepp10/20/22
Walter02/24/22
Rschnett02/20/19
Peter Max Müller02/04/19
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie