懒码农。。。。。。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 34 下一页

2011年10月26日

摘要: 备份master 数据库backup database master to disk='F:\sqlserver_backup\master.bak' with init 阅读全文
posted @ 2011-10-26 13:40 阿彬 阅读(158) 评论(0) 推荐(0)

摘要: http://blog.csdn.net/sparkliang/article/details/5279393 阅读全文
posted @ 2011-10-26 13:16 阿彬 阅读(358) 评论(0) 推荐(0)

摘要: Select*Intonew_table_namefromold_table_name表的主键在新表不会声明出来之后跑游标进行删除操作delete fromnew_table_name WHERE CURRENT OF游标名,就会报“消息 16929,级别 16,状态 1 游标是只读的” ,参考:http://support.microsoft.com/kb/158773/zh-cn 阅读全文
posted @ 2011-10-26 11:08 阿彬 阅读(1559) 评论(0) 推荐(0)

摘要: http://technet.microsoft.com/zh-cn/library/ms180169(SQL.100).aspxdeclare 游标名 CURSOR scroll for select...open游标名fetch next from游标名into 变量名..while @@fetch_status=0begin...fetch next from游标名into 变量名..endclose 游标名deallocate 游标名 阅读全文
posted @ 2011-10-26 09:53 阿彬 阅读(229) 评论(0) 推荐(0)

2011年10月25日

摘要: 转自:http://hi.baidu.com/programmerboy/blog/item/79b47b1e9c4daffee0fe0ba8.html<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0></OBJECT> <input type=button name=button_print value="打印本单据" onclick="javascript:printit()&q 阅读全文
posted @ 2011-10-25 14:18 阿彬 阅读(1064) 评论(0) 推荐(0)

摘要: 强制IE8使用IE7 IE6模式来解析<meta http-equiv="X-UA-Compatible" content="IE=7"><meta http-equiv="X-UA-Compatible" content="IE=6">IE7 不支持这个标签 阅读全文
posted @ 2011-10-25 10:31 阿彬 阅读(173) 评论(0) 推荐(0)

2011年10月24日

摘要: log4j.properties================================================# Configure logging for testing: optionally with log filelog4j.rootLogger=WARN, stdout# log4j.rootLogger=WARN, stdout, logfilelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLay 阅读全文
posted @ 2011-10-24 17:09 阿彬 阅读(708) 评论(0) 推荐(0)

摘要: 转自:http://blog.csdn.net/gabriel80/article/details/2492608The prefix "tx" for element "tx:advice" is not bound这个错误的原因很简单是:我们在定义申明AOP的时候。。没有加载schema。具体表现如下:<beans><tx:advice id="txAdvice" transaction-manager="transactionManager"> <tx:attributes> 阅读全文
posted @ 2011-10-24 16:39 阿彬 阅读(2680) 评论(0) 推荐(0)

摘要: 添加hibernate之前先增加数据源 window -> open perspective -> myeclipse database explorer -> new -> ...applicationContext.xml class 'org.springframework.orm.hibernate3.LocalSessionFactoryBean'not foundbuild path -> Configure build path -> Add Library -> Myeclipse Libraries ->Spri 阅读全文
posted @ 2011-10-24 16:14 阿彬 阅读(223) 评论(0) 推荐(0)

摘要: excelHandle.WorkBooks.Open excelArr(tmpIndex).ShortPath Set wbSegFile = excelHandle.ActiveWorkbook Set sheetSegFile = excelHandle.WorkSheets(1) 'Set wbSegFile = excelHandle.Workbooks.Open excelArr(tmpIndex).ShortPath 'Set sheetSegFile = wbSegFile.Sheets(1)就算之前设置过excelHandle.Visible = False 程 阅读全文
posted @ 2011-10-24 13:41 阿彬 阅读(1432) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 34 下一页