- 浏览: 281722 次
- 性别:
- 来自: 厦门
最新评论
-
chenxliang:
2016年10月26、27日,上海浦东,Postgres中国用 ...
用JDBC连接Postgres(Postgres学习笔记1) -
cuiran:
不错,讲的很详细。
web.xml 中的listener、 filter、servlet 加载顺序及其详解 -
i_am_birdman:
PostgreSQL的管理启动服务pg_ctl -D /pat ...
PostgreSql 数据库备份恢复 删除 建立 -
i_am_birdman:
songshuang 写道现在觉悟也不晚!加油!
加油呵呵
人生规划啊 -
songshuang:
现在觉悟也不晚!加油!
人生规划啊
文章列表
redis-cli -h 192.168.29.135 -p 6379 -a 18606927925
/usr/local/bin/redis-server /opt/redis-3.0.5/redis.conf
./configure --with-pcre='/usr/share/doc/pcre-7.8/' --with-zlib='/usr/share/doc/zlib-1.2.3/' --with-openssl='/usr/lib64/openssl/' --with-sha1='/usr/share/doc/perl-Digest-SHA1-2.12/'
Configuration summary
+ using PCRE library: /usr/share/doc/pcre-7.8/
+ using OpenSSL library: /usr/lib64/ope ...
Mark20151225
- 博客分类:
- 数据库
SELECT
review.*
FROM
`xx_review` review,
`xx_order_item` item,
xx_order_group gp
LEFT JOIN xx_member_score score ON gp.order_form = score.`member_order`
WHERE
CHAR_LENGTH(review.`content`)>= 10
and gp.id=item.order_group
AND review.`order_items` = item.`id`
AND score.`id` IS NULL
...
Batch update returned unexpected row count from update [0]; actual row count
需要处理的数据已经发生变化,报这个错误。。。
javascrip 冒泡,冒泡阻止
- 博客分类:
- Web前台
http://www.cnblogs.com/webflash/archive/2009/08/23/1552462.html
Import started on 2015/4/25 9:47:43
C:\oracle\product\10.2.0\db_1\bin\imp.exe log=C:\Users\ADMINI~1\AppData\Local\Temp\plsimp.log file=G:\cms\xmdscms.dmp userid=cms/123456@ORCL buffer=30720 commit=no full=yes grants=yes ignore=yes indexes=yes rows=yes show=no constraints=yes
连接到: Oracle Datab ...
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/ ...
查看oracle版本
- 博客分类:
- 数据库
1 查看oracle的版本信息
(1)用客户端连接到数据库,执行select * from v$instance
查看version项
(2)select * from product_component_version
(3)或查询V$VERSION查看组件级信息
jquery设置按钮的disabled属性
- 博客分类:
- Web前端
$('#button').attr('disabled',"true");添加disabled属性
$('#button').removeAttr("disabled"); 移除disabled属性
oracle主键自增
- 博客分类:
- 数据库
CREATE SEQUENCE TEST_TABLE_ID_Sequence
INCREMENT BY 1 -- 每次加几个
START WITH 1 -- 从1开始计数
NOMAXVALUE -- 不设置最大值
NOCYCLE -- 一直累加,不循环
NOCACHE --无缓冲区
INSERT INTO TEST_TABLE (ID,REMARK)
values (TEST_TABLE_ID_Sequence.Nextval,'TE ...
09-26 10:08:48.922: D/touchCheck(20124): ViewRoot's Touch Event : Touch Down
09-26 10:08:48.992: V/AudioManager(20124): playSoundEffect effectType = 0
09-26 10:08:48.992: V/AudioManager(20124): playSoundEffect querySoundEffectsEnabled = false
09-26 10:08:48.992: D/FileTransfer(20124): download h ...
查看表空间下用户表的大小(GB)
- 博客分类:
- 数据库
所占空间由大到小的前三十的数据表:
select * from (
select segment_name,bytes/1024/1024/1024 as GB from dba_segments where owner = USER order by bytes desc
)
where rownum <= 30
查询表名为table_name的数据表大小
select round(BYTES/1024/1024/1024,2)||'GB' from user_segments where segment_name=table_ ...
查看表空间(oracle)占用情况
- 博客分类:
- 数据库
select total.tablespace_name,round(total.MB,2) as Total_MB,
round(total.MB-free.MB, 2) as Used_MB
from (select tablespace_name, sum(bytes)/1024/1024 as MB from dba_free_space group by tablespace_name) free,
(select tablespace_name, sum(bytes)/1024/1024 as MB from dba_data_files group by tablespa ...
进入sqlplus
conn /as sysdba
alter user {username} account unlock;