IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Efficient Query


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ronie305

New User


Joined: 09 May 2005
Posts: 3

PostPosted: Fri May 27, 2005 1:53 pm
Reply with quote

Hi

I have 2 tables each having over a million rows. I need some data out of them for set up.
The problem is I have is that this data is in Production tables. How can i write gud query to that effect.

Any help will be welcome.

Ronie
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Fri May 27, 2005 3:51 pm
Reply with quote

I think that you must specify some detail about the definition of a table.
A improvement of query is even doing of a good definition of indexes!
I can reccomend you to use at the end of your query the WITH UR option to avoid a -911 or worse a -904 to the user that are reading the table.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top