我写了一个"打开查询"从Proactive / Oracle DB获取数据
SELECT * FROM OPENQUERY (METER,
'SELECT
ME.Col1
,ME."ext" AS ext
,ME."t-date" AS Date
,ME."per-id" AS Person
,PE."con-id" AS Contact
,PE."add-id" AS Address
,substring(SC."contact-title",0,10) AS Member
,SC."given" AS Giver
,SC."surname" AS lastname
FROM PU."member" ME
LEFT JOIN PU."personal" PE
ON ME."per-id" = PE."per-id"
LEFT JOIN PU."cont" SC
ON PE."contactid" = SC."contactid"
显示错误为:
OLE DB提供程序" MSDASQL"对于链接服务器" NATE"返回消息" [DataDirect] [ODBC Progress OpenEdge Wire Protocol驱动程序] [OPENEDGE]错误的参数(7487)"。
我如何写" SUBSTRING"对于此列 - 子字符串(SC。" contact-title",0,10)AS成员
请帮忙