Autor Beitrag
oroblram
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21

Win XP
Delphi 7
BeitragVerfasst: Mi 09.08.06 14:44 
Hallo zusammen.

Ich habe ein jpg-Bild über einen OpenDialog geladen.
Nun will ich es über einen insert-Befehl in ein Blob-Feld in einer Oracle-Datenbank speichern.
Was muss ich tun? Muss ich die Datei irgendwie umwandeln in einen ewig langen string oder wie geht das?
Die Verbindung zur DB besteht übrigens über die BDE.

mfg, oroblram
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 09.08.06 18:14 
Man kann in ein Blobfeld streamen. Warum BDE?

_________________
Markus Kinzler.
oroblram Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21

Win XP
Delphi 7
BeitragVerfasst: Do 10.08.06 06:38 
BDE: Gilt in der Firma als "Standard" und soll benutzt werden.

Wie läuft das genau mit dem Streamen?
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 10.08.06 11:51 
Zitat:
BDE: Gilt in der Firma als "Standard" und soll benutzt werden.
Sollte man überlegen, denn die BDE wird seit 2000 von Borland als veraltert deklariert nicht mehr weiterentwickelt und abgeraten Neuentwicklungen damit zu tätigen.
Besonders für Oracle schränkt diese dich doch extrm ein, da die BDE nur SQL-92 kann, abgesehen von der Performance über die BDE.
Zitat:
Wie läuft das genau mit dem Streamen?

www.delphipraxis.net...ht=tblobfield+oracle
www.delphi-forum.de/...rch.php?mode=results

_________________
Markus Kinzler.