IBM Support

Failed condition: 0, 'getutcdate' is not a recognized function name

Troubleshooting


Problem

This technote identifies an issue that can occur in IBM® Rational® ClearQuest® (CQ) when logging into the CQ with a Microsoft® SQL Server 7.0 database that is at CQ Feature Level 6.

Symptom

This issue occurs when you try to log into the ClearQuest Client when the back-end database is on SQL Server 7.0 and your database is at Feature Level 6. A trace will give the following output:



    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 854] Throw: SQLPrepare: RETCODE=-1, State=37000, Native Error=195
    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 854] SQL statement="select {fn convert(datediff(minute, getutcdate(), getdate()), SQL_CHAR)}"
    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 854]
    [Microsoft][ODBC SQL Server Driver][SQL Server]'getutcdate' is not a recognized function name.
    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 854]
    [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.

    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 856] session admin(PRIVATE_SESSION,Deve1,5272,2): MarkActive
    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 857] DB_MISC: PdDatabase DetermineServerTimezone : Exception caught fetching timezone info from db

    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 858] Throw: Failed condition: 0
    [CQ 13.391, 20071206, 15:34:27, 5808, 5272, 858] Location: ClearQuest Core:pddatabase.cpp:6792

[{"Product":{"code":"SSSH5A","label":"Rational ClearQuest"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Database Configuration\/Connectivity - SQL Server","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.1;7.0.1.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
29 September 2018

UID

swg21290713