Path: utzoo!attcan!uunet!wuarchive!gem.mps.ohio-state.edu!apple!bionet!ames!lll-lcc!unisoft!mtxinu!sybase!binky!tim
From: tim@binky.sybase.com (Tim Wood)
Newsgroups: comp.databases
Subject: Re: LONG data type in Oracle
Keywords: LONG, data types, Oracle
Message-ID: <6311@sybase.sybase.com>
Date: 27 Sep 89 18:06:58 GMT
References: <203@fjcp60.GOV>
Sender: news@sybase.sybase.com
Reply-To: tim@binky.UUCP (Tim Wood)
Organization: Sybase, Inc.
Lines: 20

In article <203@fjcp60.GOV> brinkema@fjcnet.GOV (John R. Brinkema) writes:
>Oracle has two data types LONG and LONG RAW, which are designed to hold very
>long byte strings (up to 64K; interpreted and uninterpreted, respectively).
>
>These data types are not in standard SQL.  Are they (or the equivalent to store
>clots of strange bytes) available in any other relational/SQL database systems
>(eg. Sybase, Ingres, etc)?

Sybase supports TEXT and IMAGE datatypes.  These are almost identical
in implementation, but different in concept.  TEXT is for large documents
represented by character bytes.  IMAGE is raw binary data--bit-map screen 
dumps, digital audio, digital video, communication packet, etc.  
The maximum size of a single TEXT or IMAGE value is 2 ** 31 (2GB).
-TW


Sybase, Inc. / 6475 Christie Ave. / Emeryville, CA / 94608	  415-596-3500
tim@sybase.com          {pacbell,pyramid,sun,{uunet,ucbvax}!mtxinu}!sybase!tim
Voluntary disclaimer: This message is solely my personal opinion.
		      It is not a representation of Sybase, Inc.  OK.