At 10:28 21/02/02 +0800, Christopher Kings-Lynne wrote:
>
>ALTER TABLE blah ALTER COLUMN col DROP DEFAULT;
>ALTER TABLE blah ALTER COLUMN col SET DEFAULT 't';
>ALTER TABLE blah ALTER COLUMN col NULL;
>ALTER TABLE blah ALTER COLUMN col NOT NULL;
>ALTER TABLE blah ALTER COLUMN col varchar(50);
>ALTER TABLE blah ALTER COLUMN col int4 NULL;
>ALTER TABLE blah ALTER COLUMN col text NOT NULL;
Looks good.
>will we need to put the word 'SET' in after 'col'?
The spec only uses SET for the DEFAULT clause.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \| | --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/