题意:Given you a sequence of number a1, a2, ..., an.They are also a permutation of 1...n. You need to answer some queries,each with the following for...
分类:
编程语言 时间:
2015-07-04 11:09:07
阅读次数:
175
impdp时报错ORA-39083&ORA-01917
ORA-39083: 对象类型 OBJECT_GRANT 创建失败, 出现错误:
ORA-01917: 用户或角色 'HQ_88' 不存在
失败的 sql 为:
GRANT ALTER, SELECT ON "HQ_123"."SEQ_TBL_SALEPROMODE" TO "HQ_88"
解决办法:
impdp 加个选型: e...
分类:
其他好文 时间:
2015-07-03 23:31:26
阅读次数:
487
同事反映impdp时在SCHEMA_REPORT/TYPE/TYPE_SPEC步骤卡住,1个多小时后也没有响应,
查下v$session:
select program,sid, event,blocking_session from gv$session where program like '%DW%';
结果为:
DW01,98,library cache lock,213
DW...
分类:
系统相关 时间:
2015-07-03 23:30:57
阅读次数:
280
initialize TCP variables:
sequence numbers
buffers,flow control info
Client: connection initiator
Socket clientSocket = new Socket("hostname","portnumber");
Server: contacted by client
S...
分类:
其他好文 时间:
2015-07-02 17:28:50
阅读次数:
120
windows:运行 -》 regedit -》查找 键值 NLS_LANG 将字符集SIMPLIFIED CHINESE_CHINA.ZHS16GBK修改为AMERICAN_AMERICA.AL32UTF8注册表路径:HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEx...
分类:
其他好文 时间:
2015-07-02 15:27:16
阅读次数:
247
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For example, given
s = “leetcode”,
dict = [“leet”, “co...
分类:
其他好文 时间:
2015-07-02 01:08:01
阅读次数:
126
60 Permutation Sequence链接:https://leetcode.com/problems/permutation-sequence/
问题描述:
The set [1,2,3,…,n] contains a total of n! unique permutations.By listing and labeling all of the permutations in o...
分类:
其他好文 时间:
2015-07-01 18:33:55
阅读次数:
95
◆◆CDM中怎样设置自增长主键◇问题描述:CMD怎样能使主键自增长呢?比如MySQL主键使用auto_increment和oracle主键使用sequence等?◇解决方法:设置主键列数据类型为Serial即可,之后生成PDM时就会根据不同的数据库生成对应的自增长主键方式,比如MySQL对应auto...
分类:
其他好文 时间:
2015-07-01 11:39:11
阅读次数:
140
错误信息:UnicodeDecodeError: ‘XXX' codec can't decode bytes in position 2-5: illegal multibyte sequence 这是因为遇到了非法字符,例如:全角空格往往有多种不同的实现方式,比如\xa3\xa0,或者\xa4\...
分类:
其他好文 时间:
2015-07-01 09:51:39
阅读次数:
132