DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 15th, 2007, 05:40 PM
db2new db2new is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2007
Posts: 1 db2new User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 0
Load From Partitions Across Federated Connection

I have a production and a test database and I need to pull 25% of the data on the production table to the test table. I have a nickname on the test table pointing to the production table and when I try to use:

select * from <schema>.<prd_table> where dbpartitionnum<part_key> in (1,2,3,4)

I get an error: Invalid use of the row based funtion: SYSIBM.DBPARTITIONNUM.

Is this due to the fact that I'm trying to pull across a federated connection?

Of course, it works fine if working on local databases.

Any help would be appreciated.

Thanks...db2new

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Load From Partitions Across Federated Connection


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway