db2 Error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
MURALI123
Participant
Posts: 46
Joined: Sun Jun 21, 2009 1:37 am
Location: CHENNAI

db2 Error

Post by MURALI123 »

Hi All,
while loading the data into db2 table i am getting the following
warning can anybody suggest how can we across.

SQLExecDirect: Returned success with info for statement 'DELETE FROM Table Name'. See following DB2 error for details.

[DB2/AIX64] SQL0513W The SQL statement will modify an entire table or view. SQLSTATE=01504

Regards,
Malli
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Try including a dummy clause

Code: Select all

where 1 = 1
MURALI123
Participant
Posts: 46
Joined: Sun Jun 21, 2009 1:37 am
Location: CHENNAI

Post by MURALI123 »

here in target we update action :
insert new rows and clear exciting rows


Regards,
Malli
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That's what you get for clearing the exciting rows. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply