thanks
Michael
insert into s.tb1
select * from s.tb2 (or a complex query here)
because you can always recreate the table without data loss, so you don't
need logging.
Dmitry.
www.ispirer.com - Database migration tools and services for Oracle and IBM
DB2.
.
"Michael Mueller" <mmue...@netway.at> wrote in message
news:975om1$j1k$1...@news.netway.at...
Thanks
Günther
Dmitry schrieb:
Thanks,
Günther
Blair Kenneth Adamache schrieb:
I looked through all the Deja threads, but:
I didn't find the NOT LOGGED INITIALLY in the DB2 UDB 6.0 for OS/390 SQL Reference. Maybe in
V7? Or not supported on OS/390?
AutoCommit: Does AutoCommit exist for static SQL (in PL/I) on OS/390? Or can one set a table
to AutoCommit Mode? We could use this feature very much for application logging (like user
login, user access, ...) to a DB2 table (VSAM isn't that good for reporting purposes). If the
application crashes all the log records should be kept (no ROLLBACK!). How can one set or use
AutoCommit on OS/390 (with static SQL)?
Could it also be used in one single (PL/I) application in such a way that table A is updated
in non AutoCommit mode (consistency needed, ROLLBACK issues, etc.), but table B in AutoCommit
mode (application logging, trace, etc.)?
Is NOT LOGGED INITIALLY a little bit like AutoCommit? Any logical similarity? Any relations?
Thanks very much,
Günther
Sailesh Krishnamurthy schrieb:
> Günther Schöllhammer <noadv...@noadvertise.net> writes:
>
> > I searched for the nologging option in the DB2 UDB 6.0 for OS/390 SQl Reference but
> > couldn't find it. Maybe it's AUDIT? Or when creating tablespaces?
> >
> > What does nologging do exactly? Does it mean no audit log is written or has it something
> > to do with COMMIT / ROLLBACK?
> >
>
> It's there in CREATE TABLE. Try a deja search under my name. I've
> posted twice about it in the last 3 months. The keyword can be NOT
> LOGGED INITIALLY
>
> --
> Toodle-pip
> Sailesh Krishnamurthy
> IBM Almaden Research Center
> Ph: (408) 927-1913