windows 下,清除.svn FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"You can also issue the line below straight from the Command Pro...
Stopping - no more URLs to fetchException in thread "Thread-8523" Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in th...
分类:
其他好文 时间:
2014-09-05 04:28:30
阅读次数:
241
UPDATE DB1.A SET a = ( SELECT b FROM DB2.B WHERE B.Id = A.id)实例:UPDATE wordpress.`wp_posts` SET post_content = ( SELECT `内容` FROM test.`content` WHERE...
分类:
数据库 时间:
2014-09-04 20:42:00
阅读次数:
316
1.select trunc(sysdate) from dual 2.select trunc(sysdate, 'mm') from dual 3.select trunc(sysdate,'yy') from dual 4.select trunc(sysdate,'dd') from dua...
分类:
数据库 时间:
2014-09-04 18:50:39
阅读次数:
323
INSERT INTO QCircle.qc_news_center_timing (`name`,info,creat_time,whether_timing,timing_publish_time,publisher,isdelete,news_type,u_id,circle_id,wheth...
分类:
数据库 时间:
2014-09-04 18:24:09
阅读次数:
325
create table tb(姓名 varchar(10),课程 varchar(10),分数 int)insert into tb values('张三','语文',74)insert into tb values('张三','数学',83)insert into tb values('张三',...
分类:
数据库 时间:
2014-09-04 16:16:39
阅读次数:
318
标准的 SQL 的解析顺序为: (1).FROM 子句, 组装来自不同数据源的数据 (2).WHERE 子句, 基于指定的条件对记录进行筛选 (3).GROUP BY 子句, 将数据划分为多个分组 (4).使用聚合函数进行计算 (5).使用 HAVING 子句筛选分组 (6).计算所有的表达式 (7...
分类:
数据库 时间:
2014-09-04 13:05:29
阅读次数:
218
给普通用户赋予dba权限及释放权限: 给普通用户赋予dba权限 grant dba to ldw;(ldw 是用户) 释放权限 revoke dba from LDW;(或小写)
分类:
数据库 时间:
2014-09-04 12:02:09
阅读次数:
257
在子查询中,如果想实现如下的功能: select lib,count(*),select sum(newsNo) from Table1 group by lib from Tabel1 T1,Table2 T2 where T1.newsNo =T2.newsNo group by lib就...
分类:
数据库 时间:
2014-09-04 09:35:37
阅读次数:
238
SQLServer:select top 10 * from tablename;select top 10 percent from tablename;select * from tablename limit 10;SYBASE:select top 10 * from tablename;O...
分类:
数据库 时间:
2014-09-03 23:53:27
阅读次数:
328