ITPub博客

首页 > 数据库 > > GS-00900 -- GS-00999-GS-00971 -- GS-00980

GS-00900 -- GS-00999-GS-00971 -- GS-00980

作者:GaussDB_数据库 时间:2020-01-09 14:30:58 0 删除 编辑

GS-00971:The content datatype of 'execute immediate' must be string

错误原因:execute immediate执行的动态sql需要是字符串类型。

解决方法:把execute immediate执行的动态sql改成字符串类型。

GS-00972:The into clause and select need to appear together in 'execute immediate'

错误原因:into没有和selete一起使用。

解决方法:into必须要和selete一起使用。

GS-00973:There was a statement that affects transaction commission or rollback in the user-defined function invoked by the DML operation.

错误原因:DML调用的自定义函数中出现影响事务提交或回滚的语句。

解决方法:自定义函数中不能出现影响事务提交或回滚的语句。

GS-00974:Unexpected pl variant

错误原因:在非匿名块,自定义函数,存储过程,触发器语境下,SQL语句中出现了变量。

解决方法:修改SQL语句,不能出现变量。

GS-00975:Label type is invalid

错误原因:label 类型不合法。

解决方法:label 名称只能为变量类型或者双引号类型。

GS-00976:The using of loop index %s is invalid

错误原因:for循环变量使用不合法。

解决方法:for循环变量无法被使用在遍历range范围,或者作为参数使用在遍历游标里面。

GS-00977:Session can not be attached, because %s

错误原因:根据用户提供session_id,尝试连接session失败。

解决方法:保证session_id对应的session类型正确。

GS-00978:Session type error, expect %s, the session id: %d

错误原因:session_id对应的session类型不正确。

解决方法:保证session_id对应的session类型正确。

GS-00979:Program has been forced to terminate

错误原因:被调试程序被强制终止。

解决方法:无需解决,用户预期程序强制终止。

GS-00980:All break points are in busy, the maximum count of breakpoint is %d

错误原因:可添加断点数量达到上限,不能再添加。

解决方法:先删除一些断点后再添加。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3168109/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2020-01-06

  • 博文量
    2907
  • 访问量
    19305