Jeff,

This sounds like bug 893259 "CREATE SNAPSHOT ON TABLE
W/ VARCHAR2(4000) TRUNCATES COLUMN TO VARCHAR2(2000)"
that's fixed in 8.1.6 and later.

The bug causes the snapshot to be incorrectly created
with a varchar2(2000) column instead of the larger
column from the base table.  

Have you compared the column definitions between the
master and snapshot table?  If the only difference is
that the snapshot has columns of a shorter length than
the master table, I should think you'd be able to
workaround this by altering the snapshot base table to
increase the column length of those columns to match
the column lengths of the master table.  The refresh
should then work properly.

HTH,

-- Anita

--- Jeff Wiegard <[EMAIL PROTECTED]>
wrote:
> Good Day.
> 
> I have a problem with recreating some snapshots. I
> would like to
> add to the current set of snapshots. They were
> created in the
> following manner:
> 
> create snapshot snap_test as select * from
> test@test_DB;
> 
> They are executed nightly in the following manner:
> 
> execute DBMS_SNAPSHOT.REFRESH('SCOTT.TEST','?');
> 
> 
> However, when I try and create them, I get an
> ORA-01406 error, due
> to truncation of the varchar2(4000) . According to
> Oracle, this is a
> bug. Does someone know of a work-around?  
> 
> Jeff


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to