Jeff,

Sorry, I didn't read your original email properly
(geez, I hate it when I do that) and now I see that
you're getting this error on creating the snapshot,
not refreshing it, so my previous answer won't help
you much.

What versions are the db's involved?  If the master
site is not 8.0.6 or 8.1.5 then you may be able to
workaround this by creating the snapshot via offline
instantiation (see Note: 1057037.6, the only change
for 8i is that the snapshot base table is no longer
prefixed with SNAP$_).

Another alternative, if the snapshot site is 8i, may
be to use prebuilt tables if you can prevent changes
to the master table during the time it takes you to do
the CTAS against the master table and then perform a
fast refresh.

HTH,

-- Anita

--- "A. Bardeen" <[EMAIL PROTECTED]> wrote:
> 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
> 


__________________________________________________
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