<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Column value restriction in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/column-value-restriction/m-p/2752281#M834832</link>
    <description>SVRMGR&amp;gt; create table sjl ( i integer check (i in (0,1)));&lt;BR /&gt;Statement processed.&lt;BR /&gt;SVRMGR&amp;gt; insert into sjl values (2);&lt;BR /&gt;ORA-02290: check constraint (SYS.SYS_C0035076) violated&lt;BR /&gt;SVRMGR&amp;gt; insert into sjl values (0);&lt;BR /&gt;1 row processed.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Jun 2002 08:16:49 GMT</pubDate>
    <dc:creator>Steve Lewis</dc:creator>
    <dc:date>2002-06-26T08:16:49Z</dc:date>
    <item>
      <title>Column value restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/column-value-restriction/m-p/2752279#M834830</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Is there any way to restrict a table column to a group of values? &lt;BR /&gt;&lt;BR /&gt;Example:  I want column values to be 0 or 1 and any more, and I want Oracle to give an error if this clause is violated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 26 Jun 2002 07:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/column-value-restriction/m-p/2752279#M834830</guid>
      <dc:creator>Manuel G</dc:creator>
      <dc:date>2002-06-26T07:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Column value restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/column-value-restriction/m-p/2752280#M834831</link>
      <description>When you create or alter your table, you can give a column a "check constraint".  For example:&lt;BR /&gt;create table abc (col1 NUMBER CONSTRAINT check_col1 CHECK(col1 BETWEEN 0 AND 1));</description>
      <pubDate>Wed, 26 Jun 2002 08:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/column-value-restriction/m-p/2752280#M834831</guid>
      <dc:creator>Ian Lochray</dc:creator>
      <dc:date>2002-06-26T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Column value restriction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/column-value-restriction/m-p/2752281#M834832</link>
      <description>SVRMGR&amp;gt; create table sjl ( i integer check (i in (0,1)));&lt;BR /&gt;Statement processed.&lt;BR /&gt;SVRMGR&amp;gt; insert into sjl values (2);&lt;BR /&gt;ORA-02290: check constraint (SYS.SYS_C0035076) violated&lt;BR /&gt;SVRMGR&amp;gt; insert into sjl values (0);&lt;BR /&gt;1 row processed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 08:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/column-value-restriction/m-p/2752281#M834832</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2002-06-26T08:16:49Z</dc:date>
    </item>
  </channel>
</rss>

