您的位置:程序门 -> db2 -> 数据库开发



xquery简单问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


xquery简单问题
发表于:2008-02-26 16:28:37 楼主
为什么我执行
xquery  
for   $y   in   db2-fn:xmlcolumn('customer_table.custxml')
return   $y

出错   并提示我该表:customer_table不存在   但数据库里明明有   是不是哪里写的不准确呢?
  但是用
这种查询方法就ok
select   custxml   from   customer_table
where   xmlexists   ('$cust/customer[@lastname=   "singh"   ]'   passing   custxml   as   "cust"   )

xquery初学者   请高人指点


快速检索

最新资讯
热门点击