惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CXSECURITY Database RSS Feed - CXSecurity.com
Stack Overflow Blog
Stack Overflow Blog
月光博客
月光博客
T
Threat Research - Cisco Blogs
小众软件
小众软件
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Tailwind CSS Blog
Cisco Talos Blog
Cisco Talos Blog
V
V2EX
博客园 - 【当耐特】
C
Cybersecurity and Infrastructure Security Agency CISA
Hugging Face - Blog
Hugging Face - Blog
The Cloudflare Blog
The Last Watchdog
The Last Watchdog
Simon Willison's Weblog
Simon Willison's Weblog
T
Threatpost
S
Secure Thoughts
O
OpenAI News
P
Proofpoint News Feed
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
Scott Helme
Scott Helme
T
Tenable Blog
A
Arctic Wolf
L
LINUX DO - 热门话题
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Visual Studio Blog
Hacker News: Ask HN
Hacker News: Ask HN
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
博客园 - Franky
WordPress大学
WordPress大学
Know Your Adversary
Know Your Adversary
博客园_首页
雷峰网
雷峰网
IT之家
IT之家
PCI Perspectives
PCI Perspectives
L
LINUX DO - 最新话题
H
Heimdal Security Blog

博客园 - 北极燕鸥

探析使用国密算法进行个人信息保护 web通过ActiveX打印 iBatis.Net(C#)系列Demo源码 [原]iBatis.Net(C#)系列三:数据库查询 [原]iBatis.Net(C#)系列二:SQL数据映射 [原]iBatis.Net(C#)系列一:简介及运行环境 使用X.509数字证书加密解密实务(三)-- 使用RSA证书结合对称加密技术加密长数据(转) 使用X.509数字证书加密解密实务(二)-- 使用RSA证书加密敏感数据(转) 使用X.509数字证书加密解密实务(一)-- 证书的获得和管理 (转) moto DB2的数据字典 DB2批量清空数据表 ARC GIS 打开cad文件的几种方法 c# 连接MySQL中文乱码问题的解决方法 url 编码问题 DB2 export和import Xmanager连接AIX 5L RedHat Enterprise Linux 基本网络配置 AIX :卷组、逻辑卷、物理卷的操作命令
工作用脚本
北极燕鸥 · 2011-03-11 · via 博客园 - 北极燕鸥

导出
select 'export to E:\FgwsDataCenter\sl_'||rtrim(tabschema)  ||'_'|| rtrim(tabname)||'.ixf of ixf MESSAGES E:\FgwsDataCenter\sl_'||rtrim(tabschema)  ||'_'|| rtrim(tabname)||'.log select A.* from '||rtrim(tabschema)  ||'.'|| rtrim(tabname)||' A; ' from syscat.tables where tabschema = 'ESTATE' and type='T'  


导入
select 'import from  E:\FgwsDataCenter\sl_'||rtrim(tabschema)||'_'|| rtrim(tabname)||'.ixf of ixf MESSAGES E:\FgwsDataCenter\sl_'||rtrim(tabschema)  ||'_'|| rtrim(tabname)||'.log replace_create into '||rtrim(tabschema)  ||'.'|| rtrim(tabname) ||' in tsfgws index in tsfgws   ; ' from syscat.tables where tabschema = 'ESTATE' and type='T'

去外键
SELECT 'ALTER TABLE '||rtrim(fktable_schem)|| '.'||rtrim(fktable_name)|| ' DROP FOREIGN KEY '||rtrim(fk_name)|| ';' FROM SYSIBM.SQLFOREIGNKEYS where fktable_schem in ('DOCUMENT','ESTATE','FCXXBMS','FINANCE','HSSYSTEM','IMG2008','REGISTER','SECONDHAND','SEMISTATIC','TENANCY','SYSTEM')


SELECT * FROM SYSIBM.SYSCOLUMNS where  generated='A'


去自增长
SELECT 'ALTER TABLE '||rtrim(tbcreator)||'.'||rtrim(TBName)||' ALTER COLUMN '||rtrim(Name)||' DROP IDENTITY ;' FROM SYSIBM.SYSCOLUMNS where tbcreator='DTEST' and generated='A'