12
返回列表 发新帖
楼主: pineapple_lch

ora-00600: 内部错误代码

[复制链接]
论坛徽章:
3
2014年新春福章
日期:2014-02-18 16:49:31马上有钱
日期:2014-02-18 16:49:31优秀写手
日期:2014-02-21 06:00:14
11#
 楼主| 发表于 2014-7-4 14:34 | 只看该作者
Yong Huang 发表于 2014-7-3 22:59
create trigger yourusername.logon_set_param
after logon on yourusername.schema
begin

这样的话是不是只能在sys用户下创建?我在非sys用户下创建的时候只能是alter logon on database,不能写成alter logon on sxxnh (sxxnh是当前的用户名)。

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
12#
发表于 2014-7-7 22:47 | 只看该作者
I don't understand. Show me the screen text including the error message.

It's "after", not "alter". ".schema" is part of the syntax.

You can logon as any DBA account, but I don't think it's necessary.

使用道具 举报

回复
论坛徽章:
3
2014年新春福章
日期:2014-02-18 16:49:31马上有钱
日期:2014-02-18 16:49:31优秀写手
日期:2014-02-21 06:00:14
13#
 楼主| 发表于 2014-7-8 09:53 | 只看该作者
Yong Huang 发表于 2014-7-7 22:47
I don't understand. Show me the screen text including the error message.

It's "after", not "alter ...

哦,是after,我回复的时候写错了。下图是我报错的图:

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
14#
发表于 2014-7-8 22:24 | 只看该作者
".schema" is part of the syntax. Please read Oracle SQL Language Reference.

使用道具 举报

回复
论坛徽章:
3
2014年新春福章
日期:2014-02-18 16:49:31马上有钱
日期:2014-02-18 16:49:31优秀写手
日期:2014-02-21 06:00:14
15#
 楼主| 发表于 2014-7-10 11:11 | 只看该作者
Yong Huang 发表于 2014-7-8 22:24
".schema" is part of the syntax. Please read Oracle SQL Language Reference.

我只知道用户名后边跟的是表或视图等对象名称(scott.emp),但是登录触发器这里又不允许表或视图,我真的是不知道在这里要如何写才能是在指定的用户下进行触发。

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
16#
发表于 2014-8-9 13:04 | 只看该作者
Although this thread is one month old, I can't resist to post a reply. pineapple_lch, I don't know why you have trouble with this simple syntax. I said multiple times, ".schema" is part of the syntax here. Why not try it? Please change your sxxnh to sxxnh.schema. "用户名后边跟的是表或视图等对象名称" is completely irrelevant in this context.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表