`
wencan83
  • 浏览: 42231 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论
文章列表
DECLARE --定义局部变量   d date; BEGIN   d:=TO_DATE('2008-01-22 21:22:23','YYYY-MM-DD HH24:MI:SS');   DBMS_OUTPUT.put_line(TO_CHAR(d,'YYYY"年"'));    DBMS_OUTPUT.put_line(TO_CHAR(d,'YYYY"年"MM"月"'));   DBMS_OUTPUT.put_line(TO_CHAR(d,'YYYY"年"MM"月"DD&quo ...
SYS用户在CMD下以DBA身份登陆: 在CMD中打sqlplus /nolog 然后再 conn / as sysdba //创建临时表空间     create temporary tablespace user_temp   tempfile 'D:\oracle\oradata\Oracle9i\user_temp.dbf'  size 50m   autoextend on   next 50m maxsize 20480m   extent management local;     //创建数据表空间   create tab ...
showCollapseFade("","",530,280,url,"path");
//滚动屏幕中固定图片var top=82;function leftAdvScroll(){  //document.getElementById("leftAdv").style.pixelTop=document.body.offsetHeight+document.body.scrollTop-document.getElementById ("leftAdv").offsetHeight;  document.getElementById("leftAdv").style.pixelTop=top+document.body ...
Properties props = new Properties();        props.setProperty("mail.transport.protocol", "smtp");        props.setProperty("mail.smtp.auth", "true");        props.setProperty("mail.host", "smtp.163.com");        Session session = Session ...
Properties props = new Properties();        props.setProperty("mail.smtp.auth", "true");        props.setProperty("mail.transport.protocol", "smtp");
/**  * 人民币大写转换小写  *   * @param money  */ public static long convertUpperToNum(String money) {  long result = 0l;  /**   * 先分割出各级别(亿、万、个)   */  String yi = money.indexOf("亿") != -1 ? money.substring(0, money    .indexOf("亿") + 1) : ""; // 亿  if (!"".equals(yi)) ...
/**  * 人民币小写转大写  *   * @param money  * @return  */ public static String convertUpper(long money) {  StringBuffer result = new StringBuffer();  int index = 1; // 数位  long num = 0; // 数位的值  while (money > 0) {   num = money % 10;   result = positionValue(index, num).append(result);   money = money / ...
var txtValue = document.getElementById(txtId).value; txtValue = txtValue.replace(/\/\*((\n|\r|.)*?)\*\//mg, ""); //去掉多行注释/*..*/ txtValue = txtValue.replace(/(\s+)\/\/(.*)\n/g,""); //去掉单行注释//(前面有空格的注释) txtValue = txtValue.replace(/;\/\/(.*)\n/g,";"); //去掉 ...
Global site tag (gtag.js) - Google Analytics