473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Vexing Problem with DB2 UDB Design Advisor? Any Suggestion, please!

Hello community,

My environment is DB2 UDB v8.2 LUW. I am experiencing a vexing problem
with using my DB2 Design Advisor. I submitted a SQL script to Advisor
for index recommendation and I am getting the error:

IBM][CLI Driver][DB2/LINUX] SQL0180N The syntax of the string
representation of a datetime value is incorrect.

SQLSTATE"007

Explanation:

The string representation of a date, time, or timestamp value
does not conform to the syntax for the specified or implied data
type.

The statement cannot be processed.

And here's the part of my SQL that I suspect is causing this error

"...and Updt.DT_When_CMPL BETWEEN (timestamp((current_date-
(day(current_date)-1)days -1 month),'00:00:00')) AND
(timestamp(Date(current_date-day(current_date)days ),'23:59:59'))"...

I have no errors running the complete SQL in Control Center Command
Editor, or Task Center but the Design Advisor seems to take an issue
with that construct.

Anyone run into this proble? Can anyone suggest a solution and if
possible share the step by step example/procedure how to resolve
this?

I thank you for your attention and help

Okonita

Sep 10 '07 #1
0 1479

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Larry Trutter | last post by:
Environment: Windows 2000 DB2 Version 8 fixpack 4 I am attempting to use DB2 Configuration Advisor. But when I get to the end of that wizard process (sequentially - I went through all the...
36
by: xixi | last post by:
hi, we are using db2 udb v8.1 on windows, i try to use the configuration advisor to get recommendation on the parameter setting, at first, i give the target memory for DB2 is 80% of the physical...
8
by: xixi | last post by:
hi, we are using db2 udb v8.1 on windows, i have a table contains over one million records, it has seperate own tablespace than others, with bufferpool size 250, i have created multiple views on...
1
by: Jean-Marc Blaise | last post by:
Dear all, It would be nice if the Design advisor was not outputing all "unused indexes" of the whole database (10000 tables at least), when the workload is only using 4 tables. Why not...
1
by: Peter Arrenbrecht | last post by:
Does anyone have experience with running the DB2 Design Advisor on huge workloads? I have a workload for a single day for some 132'000 statements in a file. Will the advisor handle this or should I...
0
by: Jean-Marc Blaise | last post by:
Dear all, After FP8 apply on a DB2 UDB multi-partition instance, the design advisor's MQT function is not selectable. From the DB2 Information Center (FP7), there is nothing that suggests that...
4
by: datapro01 | last post by:
Running DB2 8.1.1 on AIX 5.1 When I run the design advisor on selected sql I am getting 'recommendations' for indexes which already exist. I don't understand why this is happening. They are...
2
by: dunleav1 | last post by:
How do I clear the sql statements the design advisor gui picks up in the default workload?
0
by: db2dbdba | last post by:
Hi all, I am getting the following problem when i run the db2advis. ]$ db2advis -d sample -i name3.sql -n db2inst1 -o db2advise.out 0 solutions were evaluated by the advisor exiting with...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.