Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > DB2 > SELECT operation not running when data IMPORT

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-03-01, 08:46
janekow janekow is offline
Registered User
 
Join Date: May 2001
Posts: 1
Smile SELECT operation not running when data IMPORT

I am facing a problem on SELECT operation not running when data IMPORT.

I am using DB2 UDB V7.1 in Winnt platform. My problem is when I perform large number of data IMPORT in DB2 Command Window, during IMPORT I issued a
SELECT operation in DB2 Command Center, but the SELECT operation not processed during data IMPORT. The SELECT operation only worked after all
the IMPORT operation finished.

From what I know, the SELECT operation should be able to perform during data IMPORT.
__________________
Jane
Reply With Quote
  #2 (permalink)  
Old 11-09-02, 11:04
wongpcl wongpcl is offline
Registered User
 
Join Date: Sep 2002
Posts: 29
You can't specify SELECT operation in a IMPORT statement. You can sepcify SELECT operation in a EXPORT statement or in a INSERT statement.

Please check with the SQL Reference and DB2 Command Reference.

Regards,
Reply With Quote
  #3 (permalink)  
Old 11-10-02, 17:12
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 3,641
Re: SELECT operation not running when data IMPORT

IMPORT takes an exclusive lock on the table and hence a 'clean' read is not possible to a table being imported ...

HTH

Cheers

Sathyaram

Quote:
Originally posted by janekow
I am facing a problem on SELECT operation not running when data IMPORT.

I am using DB2 UDB V7.1 in Winnt platform. My problem is when I perform large number of data IMPORT in DB2 Command Window, during IMPORT I issued a
SELECT operation in DB2 Command Center, but the SELECT operation not processed during data IMPORT. The SELECT operation only worked after all
the IMPORT operation finished.

From what I know, the SELECT operation should be able to perform during data IMPORT.
Reply With Quote
  #4 (permalink)  
Old 11-11-02, 14:32
bbg bbg is offline
Registered User
 
Join Date: Nov 2002
Posts: 10
Re: SELECT operation not running when data IMPORT

I am not sure if an uncommited read 'select' will work,
'SELECT ... WITH UR". If you have result, please post it here. Thanks.


Quote:
Originally posted by janekow
I am facing a problem on SELECT operation not running when data IMPORT.

I am using DB2 UDB V7.1 in Winnt platform. My problem is when I perform large number of data IMPORT in DB2 Command Window, during IMPORT I issued a
SELECT operation in DB2 Command Center, but the SELECT operation not processed during data IMPORT. The SELECT operation only worked after all
the IMPORT operation finished.

From what I know, the SELECT operation should be able to perform during data IMPORT.
__________________
regards,
BBG
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On