Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Alter column to not null
Thu, Oct 21 2010 6:04 AMPermanent Link

Hershcu Sorin

Helo

Using ver 2.04b4, I try to alter a table column to not null and I run on
edbmngr

UPDATE MyTable SET FieldId = 1 WHERE FieldId IS NULL
and
ALTER TABLE "MyTable"    ALTER COLUMN "FieldId" AS SMALLINT NOT NULL

the second statement raise a AV error and cause a complete damage on the
table
(I report it on a previous thread with #100 error as subject)

Any suggestion?

Thanks
Sorin

Sun, Oct 24 2010 2:15 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< Using ver 2.04b4, I try to alter a table column to not null and I run on
edbmngr

UPDATE MyTable SET FieldId = 1 WHERE FieldId IS NULL
and
ALTER TABLE "MyTable"    ALTER COLUMN "FieldId" AS SMALLINT NOT NULL

the second statement raise a AV error and cause a complete damage on the
table  (I report it on a previous thread with #100 error as subject) >>

Please send me the database catalog and table files for your database and
I'll take a look.

--
Tim Young
Elevate Software
www.elevatesoft.com
Mon, Oct 25 2010 3:28 AMPermanent Link

Hershcu Sorin

Tim

I never fully understand what you expect me to send

The tables with the data or empty? with the data is quite a big size.
To zip it or leave it as it is?

Thanks
Sorin

> Please send me the database catalog and table files for your database and
> I'll take a look.

Mon, Oct 25 2010 1:02 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sorin,

<< I never fully understand what you expect me to send >>

The database catalog (edbdatabase.edbcat) and the table files (.edbtbl,
..edbidx, .edbblb) for the table that you're altering.  And yes, please .zip
up the files into a single .zip file.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image