If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > script to add/insert data into tablespace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-04, 17:16
vieyoung vieyoung is offline
Registered User
 
Join Date: Aug 2004
Posts: 1
script to add/insert data into tablespace

Hi All:

Newbie here.
I am testing backup; in addition to default system, users, temporary tablespaces, I have created "test1" tablespace.
I am trying to add more data into that test1 table space, so that I can run some backup & restore plus restore to point in time.

Load, insert, and other command require data with index, which I don't have to begin.

Can anyone provide a script to add more data into a tablespace?

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 11-29-04, 01:48
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
insert data

you never insert data into a tablespace but into a table
insert - import - load does not require an index
insert into xxx(col1,col2..) values('bb',11,....)
import from xxx of yy insert into
load from....
Best Regards, Guy Przytula
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
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

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