![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
招聘
iteye_19891
这个作者很懒,什么都没留下…
展开
-
根据输入日期值输出所在季度起始日期(2008.4.8笔试)
[code="java"] /** * 根据输入日期值输出所在季度起始日期 */ public class Test { public static void main(String[] args) { // TODO 自动生成方法存根 String[] a = getQuarterDate("20070818"); for (String s : a) { ...2008-04-08 19:21:36 · 139 阅读 · 0 评论 -
SQL:根据第二张表字段值更新第一张表字段值(2008.4.11笔试)
[code="sql"] truncate table tab1 create table tab1 ( a int primary key not null identity(1,1), b varchar(10), c varchar(10), d float, e float, f float ) go insert into tab1...2008-04-11 23:06:33 · 219 阅读 · 0 评论 -
模糊查询使用对索引的影响(2008.4.11面试)
like使用了前%,这种会造成全表scan,即使你在where条件后设置了索引列的查询条件。所以建议在like时只使用后%。 ---------------------- 如果想 like '1234%' 则直接用index, like '%1234' 则用反向索引, like '%123%' 则没什么办法,只能是全表扫描。 ---------------------- 由于数据库索引...2008-04-12 11:06:56 · 551 阅读 · 0 评论 -
复合主键外连接(2008.4.25笔试)
[code="sql"] --测试数据 if exists(select [id] from sysobjects where name='student') drop table student go create table student ( sname varchar(20) not null, sclass varchar(20) not null ) go...2008-04-25 21:27:19 · 128 阅读 · 0 评论 -
<button>和<input type="submit">区别(2008.4.8笔试)
[url]http://blog.csdn.net/qianling3439/archive/2007/12/07/1922165.aspx[/url] [url]http://topic.csdn.net/t/20060729/17/4914018.html[/url] [url]http://www.memoon.cn/news_view.asp?id=7429[/url]2008-06-05 09:51:38 · 66 阅读 · 0 评论