|
6#
楼主 |
发表于 2008-2-29 19:58:23
|
只看该作者
Updated defects could not be read: SQLExecDirect: RETCODE=-1, State=37000, Native Error=1033 SQL statement="SELECT id, dbid, version FROM spr d WHERE td_id is null and id in (select distinct T1.id from spr T1,statedef T2,modules T3,severity T4,repeatabel T5,users T6,users T8,project T10 where T1.state = T2.id and T1.modules = T3.dbid and T1.severity = T4.dbid and T1.repeatabel = T5.dbid and T1.submitter = T6.dbid and T1.owner = T8.dbid and T1.project = T10.dbid and (T1.dbid <> 0 and (T10.project = 'D330')) order by T1.id DESC) UNION SELECT id, d.dbid, d.version FROM spr d, history h WHERE h.entity_dbid = d.dbid and h.action_timestamp > '27 Feb 2008 13:23:09' and id in (select distinct T1.id from spr T1,statedef T2,modules T3,severity T4,repeatabel T5,users T6,users T8,project T10 where T1.state = T2.id and T1.modules = T3.dbid and T1.severity = T4.dbid and T1.repeatabel = T5.dbid and T1.submitter = T6.dbid and T1.owner = T8.dbid and T1.project = T10.dbid and (T1.dbid <> 0 and (T10.project = 'D330')) order by T1.id DESC) " [Microsoft][ODBC SQL Server Driver][SQL Server]The ORDER BY clause is invalid in views, inline functions, derived tables, and subqueries, unless TOP is also specified.
以上是我在做TD与CQ挂接时出现的问题,那位遇到过?请教了。我在另外的帖子看到过有人出现过问题,不知道你们解决了吗?:http://bbs.51testing.com/viewthread.php?tid=2608 |
|