<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://www.sqlines.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.sqlines.com/feed.php">
        <title>SQLines Tools oracle:datatypes</title>
        <description></description>
        <link>https://www.sqlines.com/</link>
        <image rdf:resource="https://www.sqlines.com/lib/images/favicon.ico" />
       <dc:date>2026-04-11T11:04:48+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.sqlines.com/oracle/datatypes/clob?rev=1665434151&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.sqlines.com/oracle/datatypes/date?rev=1347610724&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.sqlines.com/oracle/datatypes/raw?rev=1338818850&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.sqlines.com/lib/images/favicon.ico">
        <title>SQLines Tools</title>
        <link>https://www.sqlines.com/</link>
        <url>https://www.sqlines.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.sqlines.com/oracle/datatypes/clob?rev=1665434151&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-10T20:35:51+00:00</dc:date>
        <title>CLOB Data Type - Oracle to SQL Server Migration</title>
        <link>https://www.sqlines.com/oracle/datatypes/clob?rev=1665434151&amp;do=diff</link>
        <description>In Oracle, CLOB data type stores variable-length character data (character large object) in the database character set
that can be single-byte or multibyte (supports more than 4 GB).

In SQL Server, you can use VARCHAR(max) or NVARCHAR(max) to store stores variable-length character data
up to 2 GB.</description>
    </item>
    <item rdf:about="https://www.sqlines.com/oracle/datatypes/date?rev=1347610724&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-09-14T08:18:44+00:00</dc:date>
        <title>DATE Data Type - Oracle to SQL Server Migration</title>
        <link>https://www.sqlines.com/oracle/datatypes/date?rev=1347610724&amp;do=diff</link>
        <description>In Oracle, DATE data type stores date and time data (year, month, day, hour, minute and second). 

Oracle DATE Internals


A DATE value requires 7 bytes in Oracle:

 Byte 1  Byte 2  Byte 3  Byte 4  Byte 5  Byte 6  Byte 7  Century + 100  MOD(Year/100) + 100  Month  Day  Hour + 1  Minute + 1  Second + 1

The first byte stores the first 2 digits of the year (century) plus 100 . The second byte stores the last 2 digits of the year 
plus 100.</description>
    </item>
    <item rdf:about="https://www.sqlines.com/oracle/datatypes/raw?rev=1338818850&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-06-04T14:07:30+00:00</dc:date>
        <title>RAW Data Type - Oracle to SQL Server Migration</title>
        <link>https://www.sqlines.com/oracle/datatypes/raw?rev=1338818850&amp;do=diff</link>
        <description>In Oracle, RAW data type allows you to store variable-length binary data up to 2000 bytes. You can convert Oracle RAW(n) to VARBINARY(n) in SQL Server.

Oracle Example:


   -- Define a table with RAW column
   CREATE TABLE rawdata
   (
      c1 RAW(11)
   ); 
   
   -- Insert one byte (value 1)
   INSERT INTO rawdata VALUES ('1');</description>
    </item>
</rdf:RDF>
