摘要: --自动创建了target_table表,并复制source_table表的数据到target_table select name,age into target_table from source_table ---复制source_table表中的数据到target_table表 insert into target_table(name,age) select name,age from ... 阅读全文
posted @ 2015-01-19 16:38 Vincent-Li 阅读(332) 评论(0) 推荐(0)
摘要: 1.数据库链接类 2.执行查询 3.执行结果 阅读全文
posted @ 2014-06-24 17:13 Vincent-Li 阅读(3289) 评论(0) 推荐(1)
摘要: RegExp对象 方法 描述 exec 检索字符中是正则表达式的匹配,返回找到的值,并确定其位置 test 检索字符中指定的值,返回true或false test()方法 语法: 正则表达式对象实例.test(字符串) 例: var str="my name"; var reg=/name/; va 阅读全文
posted @ 2013-04-03 14:32 Vincent-Li 阅读(173) 评论(0) 推荐(0)
摘要: 在国际化资源文件中加入: format.money={0,number,0.00} jsp页面用struts标签: <s:text name="format.money"> <s:param name="value" value="priceName" /> </s:text> 输出格式:0.00 阅读全文
posted @ 2013-03-16 16:07 Vincent-Li 阅读(170) 评论(0) 推荐(0)