dbTalk Databases Forums  

INSERT Binary Data

comp.databases.oracle.server comp.databases.oracle.server


Discuss INSERT Binary Data in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peter Plumber
 
Posts: n/a

Default INSERT Binary Data - 10-03-2004 , 05:00 AM






Hi,

I would like to INSERT Byte-Data INTO a BLOB-Field using SQL

This is how it works for SQL-Server:

INSERT INTO tblSlime ( ID, Name, Slime )
VALUES (2, 'Fritz', 0x234323432343234323fc4350fc4350fc4350fc4350fc);

Is something like this possible for ORACLE

Thx,

Peter

Reply With Quote
  #2  
Old   
Dave
 
Posts: n/a

Default Re: INSERT Binary Data - 10-03-2004 , 05:07 AM







"Peter Plumber" <Klempner (AT) gmxdot (DOT) net> wrote

Quote:
Hi,

I would like to INSERT Byte-Data INTO a BLOB-Field using SQL

This is how it works for SQL-Server:

INSERT INTO tblSlime ( ID, Name, Slime )
VALUES (2, 'Fritz', 0x234323432343234323fc4350fc4350fc4350fc4350fc);

Is something like this possible for ORACLE

Thx,

Peter
search for blob / bfile on tahiti.oracle.com




Reply With Quote
  #3  
Old   
Daniel Morgan
 
Posts: n/a

Default Re: INSERT Binary Data - 10-03-2004 , 11:40 PM



Peter Plumber wrote:

Quote:
Hi,

I would like to INSERT Byte-Data INTO a BLOB-Field using SQL

This is how it works for SQL-Server:

INSERT INTO tblSlime ( ID, Name, Slime )
VALUES (2, 'Fritz', 0x234323432343234323fc4350fc4350fc4350fc4350fc);

Is something like this possible for ORACLE

Thx,

Peter
There are numerous ways to do it and numerous data types that can be
used to store it. Here are a few refs:

http://www.psoug.org
click on Morgan's library
click on Data Types
also click on DBMS_LOB
also click on Conversion Functions
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.