on 03-04-2010 9:21 PM
Hi All,
I have an entry in MII DataBase(SQL Server 2005) with start and End date fields as "2009-05-01 00:00:00" and "2009-06-01 00:00:00". when i read this record in query template the same is getting displayed as "2009-05-01 00:00:00" and "2009-06-01 01:00:00".
I wonder is it applying any daylight saving calculations and automatically advancing by 1 hour?. The MII server is in WET Timezone.
If i read the same entry in SQL studio, it displays correct data only?.
Thanks,
Gowtham K.
with more details
Key Start_date End_date
1 2009-05-31 00:00:00 2009-06-01 00:00:00
2. 2009-06-01 00:00:00 2009-07-01 00:00:00
.....
........
........
.........
Tha data is like this in the table. But i read this table with matching Key 1 &2. It disply in the following way..
Key Start_date End_date
1 2009-05-31 00:00:00 2009-06-01 01:00:00
2 2009-06-01 01:00:00 2009-07-01 00:00:00
The End_date in the First record and the Start date in the second record are advanced by 1 Hr.
Thanks,
Gowtham K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes the rest of the data is perfectly ok. And i tested this on other MII server which is in CST timezone. And i created a record with 2009-03-08 02:00:00 time. It is advanced by 1Hr when MII displayed it in Query template. I really wonder why we need this kind of behaviour in query template. Is there any setting or Parameter in query template where i can overwrite the behaviour.
just for information we are on MII 12.0.8(build 19)
Thanks,
Gowtham K.
Name Value
Connector IDBC
ConnectorID
ConnectorType SQL
DatePrefix '
DateSuffix '
DaysRetention 7
Description ---
Enabled T
InitCommand
InternalDateFormat yyyy-MM-dd HH:mm:ss
JDBCDriver com.microsoft.sqlserver.jdbc.SQLServerDriver
MaxRetryCount 5
Name MII
PoolMax 100
PoolSize 1
RetryInterval 60000
ServerPackage com.sap.xmii.Illuminator.connectors.IDBC
ServerURL jdbc:sqlserver://<server>:1433;databaseName=X2D
Timeout 15
UseCount 256
UserName SAPX2DDB
ValidationQuery SELECT GETDATE()
WaitTime 30
Thanks,
Gowtham K.
Edited by: Gowtham Kuchipudi on Mar 5, 2010 12:16 AM
This issue is quite strange - I assume when you test the query in text/xml format that the SQLDataType=93 in the Column definition?
Not that you should have to do it, but did you try making a select statement to cast/convert the datetime column into a string to see if the expected time is any different than when it is treated as a datetime?
Your best bet would be to log a support ticket at this point.
Include your complete version/build numbers for MII, sqlserver version, a description of your landscape (location of MII in relation to the database server), the data server summary settings, and a snapshot of the database table design.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.