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 > problem with date function generated in crystal reports

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-23-03, 14:40
sundaramm sundaramm is offline
Registered User
 
Join Date: Aug 2003
Location: INDIA,CHENNAI
Posts: 3
Exclamation problem with date function generated in crystal reports

hi everyone,

We are using crystal reports 8.x as a reporting tool for all online and end of day reports and db2 udb v8.1 is our database. If we use any date columns crystal will use date function and automatically generate the query..

for e.g. select count(*) from table1 where date('2003-10-09').

But in db2 we have define index on date field. The query is not using index instead it is going for table scan to fetch the rows. Is there any way to suppress the date function in crystal reports else in db2 is there any way to suppress the date fucntion in sql queries which are all executing...
Reply With Quote
  #2 (permalink)  
Old 10-23-03, 14:53
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
I would ask Crystal Reports support about that. I have no idea why they do that.
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