🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11041

Re: adding "is null" to an existing column with stored data

#11041
From: Robert Schieck
Date: Tue, 17 Dec 2002 13:39
18 lines
1622 bytes
In article <3dff2322@newsgroups.borland.com>, Jack wrote:
> Is it possible in IB 6 to add PRIMARY KEY NOT NULL constraints to an
> existing column (numeric) with data already stored in?
> 
> For your help thanx in advance
>

Interesting... 

Why not just add a unique index to the column... I use them in place of 
Primary keys all the time. They will allow one null though...

hth

Robert Schieck (TeamB)
MER Systems Inc.
Inprise/Borland/InterBase Search Engine 
http://www.mers.com/searchsite.html
Technical Details
Message-ID: <VA.0000036b.0202abdc@mers.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3dff2322@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,f0ac75b988552c83
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-17 05:40:04 PST
Date: Tue, 17 Dec 2002 08:39:24 EST
Newsgroups: borland.public.interbase.sql
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Organization: MER Systems Inc.
Message-ID: <VA.0000036b.0202abdc@mers.com>
Subject: Re: adding "is null" to an existing column with stored data
From: Robert Schieck <rschieck@mers.com>
Reply-To: rschieck@mers.com
References: <3dff2322@newsgroups.borland.com>
NNTP-Posting-Host: 205.207.149.16
X-Trace: newsgroups.borland.com 1040132360 205.207.149.16 (17 Dec 2002 05:39:20 -0800)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail