- 浏览: 70884 次
- 性别:
- 来自: 北京
最新评论
-
qqkou:
不用加ip地址吗?最近在学习timesten,一直找不到连接方 ...
Timesten 学习笔记(六)Java
文章列表
try to figure out if the external js lib is loaded:
<script language="javascript">
var len = $('script[src="<external JS>"]').length;
if (len === 0) {
$.getScript('<external JS>');
}
</script>
On a very basic level, you use <xsl:apply-templates> when you want to let the processor handle nodes automatically, and you use <xsl:call-template/> when you want finer control over the processing. So if you have:
<foo>
<boo>World</boo>
<bar>Hello</ ...
Query对象和DOM对象的相互转换 转贴
- 博客分类:
- jquery
Query对象和DOM对象的相互转换
作者:sagahu@163.com 日期:2012-01-04
jQuery对象是jQuery库封装DOM对象而成的javascript对象,是jQuery库特有的。jQuery对象可以有其对应的DOM对象,但是与其DOM对象有很大的区别。
jQuery对象可以使用jQuery ...
调整方法:
alter system set open_links=10 scope=spfile;
shutdown immediate;
startup
查看 运行中的存储过程
- 博客分类:
- oracle
1、查看ORACLE中正在运行的存储过程
SQL> select owner,name from v$db_object_cache where type like '%PROCE%' and locks >0 and pins >0;
OWNER NAME
-------- ------
SYS FULL_SCAN_BERTHDATAENTITY
SQL> select * from v$access o ...
BEGIN generate_tmpsht; execute immediate 'insert into SHTSUPPLIERRATE (supplierid,supplierrate,supplierdialcode) select :var_TMPSupplier1ID,:var_TMPSupplier1Rate,:var_TMPSupplier1DialCode from dual union all select :var_TMPSupplier2ID ...
SELECT
TO_CHAR(TRUNC(x/3600),'FM9900')||':'||
TO_CHAR(TRUNC(MOD(x,3600)/60),'FM00')||':'||
TO_CHAR(MOD(x,60),'FM00')FROM DUAL
oracle网络配置 三个配置文件 listener.ora、sqlnet.ora、tnsnames.ora ,都是放在$ORACLE_HOME/network/admin目录下。
英文说明:
The sqlnet.ora is an optional file expressing more parameters about the connection (eg: the trace level for debugging, the types of authentication you would like to support and so on). It may be found ...
使用oracle的rownum
- 博客分类:
- oracle
本人最近在使用oracle的rownum實現分頁顯示的時候,對rownum做了進一步的分析和研究。現歸納如下,希望能給大家帶來收穫。
對於rownum來說它是oracle系統順序分配爲從查詢返回的行的編號,返回的第一行分配的是1,第二行 ...
How to start FTP in Redhat 9.0
Redhat 9 comes with the ftp server vsftpd. This is installed by default, but does not run at boot up.
To run vsftpd type: /etc/init.d/vsftpd start
Login to test it by typing ftp localhost at the prompt, and if you get the following, vsftpd is running.
Connected to ...
oracle ratio_to_report
- 博客分类:
- oracle
Ratio_to_report函数
Syntax
分析函数RATIO_TO_REPORT 用来计算当前记录的指标expr占开窗函数over中包含记录的所有同一指标的百分比. 这里如果开窗函数的统计结果为null或者为
控制相邻的浮动BOX的排列——clear功能说明:控制相邻的浮动BOX的排列。可 取 值:none|left|right|both|inherit初 始 值:none应 用 到:块级元素。可否继承:否。详细解释:① 当clear属性应用于非浮动的块级BOX时,属性值的含义如下:left:生成的BOX的顶边距将增加,直到它的顶部边缘出现在文档中之前元素产生的任何向左浮动的BOX的底外边缘之下。right:生成的BOX的顶边距将增加,直到它的顶部边缘出现在文档中之前元素产生的任何向右浮动的BOX的底外边缘之下。both:生成的BOX将移到源文档中之前元素产生的浮动BOX之下。none:相当于浮动 ...
--取得当天0时0分0秒
select TRUNC(SYSDATE) FROM dual;
--取得当天23时59分59秒(在当天0时0分0秒的基础上加1天后再减1秒)
SELECT TRUNC(SYSDATE)+1-1/86400 FROM dual;
--取得当前日期是一个星期中的第几天,注意:星期日是第一天
select to_char(sysdate,'D'),to_char(sysdate,'DAY') from dual;
--在oracle中如何得到当天月份的第一天和最后一天
select to_char(sysdate,'yyyy-mm')|| ...
Connect as SYS as sysdba:
SQL> @?/rdbms/admin/utlmail
....
SQL> @?/rdbms/admin/prvtmail.plb
SELECT SYSDATE FROM DUAL 取当前系统时间
Select trunc(sysdate) from dual 取当前日期
Select trunc(sysdate,’MM’) from dual 取当前月的第一天
Select trunc(sysdate,’YYYY’) from dual取当年的元旦
Select to_char(sysdate,’ss’) from dual取当前时间秒部分
Select to_char(sysdate,’mi’) from dual取当前时间分钟部分
Select to_char(sysdate,’HH24’) ...