Migrating Queries from One User To Another
来源:互联网 发布:sql 修改字段属性 编辑:程序博客网 时间:2024/04/30 02:33
If you ever have a need to migrate queries from one user to another, you can do it quickly and easily with this useful SQL script. If you want to make the Query Public, simply change the NEWPSUSERID to a blank.
UPDATE PSQRYDEFN SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYRECORD SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYFIELD SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYEXPR SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYBIND SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYSELECT SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYSTATS SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYPREFS SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYEXECLOG SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID'UPDATE PSQRYDEL SET OPRID = 'NEWPSUSERID' WHERE OPRID = 'OLDPSUSERID
- Migrating Queries from One User To Another
- Migrating Queries from One User To Another从一个用户迁移到另一个查询
- How to export/import data with LOB type from one user/schema to another
- Transferring Data from One Table to Another
- copy from one array to another
- Transfer Statistics from one Database to Another
- BAPI to Copy Materials from one Plant to Another
- BAPI to Copy Materials from one Plant to Another
- BAPI to Copy Materials from one Plant to Another
- BW--ABAP to copy aggregates from one cube to another
- How to move Oracle data from one machine to another
- ABAP to copy aggregates from one cube to another
- ABAP to copy aggregates from one cube to another
- Migrating from VC6 to VC9
- Moving entities from one AutoCAD layer to another using .NET
- Move an installed (Open)Solars from one disk to another
- Move all database objects from one tablespace to another
- sql server 2008 copy data from one table to another
- awk 获取ip地址的学习
- perl对于utf8编码文件的substr
- C#二分法
- Linux内核--网络协议栈深入分析(三)--BSD socket和传输层sock
- spring MVC 3.1.1 + Mybatis 3.1.1 WebSphere 7.0 发布
- Migrating Queries from One User To Another
- HDU 1253 3维bfs 一直wa,原来是小错误。
- hdu 3008 Warcraft(基础dp题)
- C#基本知识的一点感悟(2)——从源代码到中间语言
- iOS框架图
- 域用户登录过程
- Linux使用笔记: 使用Samba访问windows的共享目录
- 【山东】关于2012年下半年计算机技术与软件专业技术资格(水平)考试有关问题的通知
- 邂逅在华灯初上