08 2011 档案

摘要:http://www.csulb.edu/~txie/PINYIN/pinyin.htm<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta content="text/html; char 阅读全文
posted @ 2011-08-29 19:40 ®Geovin Du Dream Park™ 阅读(402) 评论(0) 推荐(0) 编辑
摘要:---ntext數據類型字符替換 ---2011-08-21 塗聚文 深圳大運會期間,政府貼出"溫馨提示",交通管制,世界之窗周邊不充許到陽台觀看,出入憑居住證,不是身份證create table tt( sid INT IDENTITY(1,1), cont ntext )goinsert into tt(cont) values(N'fd sad fdsa 塗聚文工團 締友計算機信息技術有限公司 可能性 桔柑 ')goupdate tt set cont='fd sad fdsa 塗聚文工團 可能性 締友計算機信息技術有限公司 桔柑 ' 阅读全文
posted @ 2011-08-21 09:01 ®Geovin Du Dream Park™ 阅读(345) 评论(0) 推荐(0) 编辑
摘要:---兩個時間之差的合計DECLARE @I INTSET @I = DATEDIFF(ms,GETDATE()-RAND()*24,GETDATE())SELECT convert(varchar(10), @I/86400000) + ' Days ' + convert(varchar(10), (@I%86400000)/3600000) + ' Hours '+ convert(varchar(10), (@I%3600000)/60000) + ' Mins '+ convert(varchar(10), (@I%60000)/100 阅读全文
posted @ 2011-08-20 18:07 ®Geovin Du Dream Park™ 阅读(329) 评论(0) 推荐(0) 编辑
摘要:http://technet.microsoft.com/en-us/library/aa259215%28SQL.80%29.aspxhttp://www.sqlusa.com/bestpractices/setdefaultlanguage/http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=59051http://msdn.microsoft.com/en-us/library/ms187335.aspxhttp://msdn.microsoft.com/en-us/library/aa259642%28v=sql.80%29.aspx-- 阅读全文
posted @ 2011-08-18 13:12 ®Geovin Du Dream Park™ 阅读(2561) 评论(0) 推荐(1) 编辑
摘要:--SQL Server 2000-----Calendar Table Geovin Du 涂聚文declare @start datetime,@end datetimeset @start = '2006-01-01'set @end = '2006-05-02'declare @no_of_Days intset @no_of_days = datediff(dd,@start,@end) + 1set rowcount @no_of_daysselect identity(int,0,1) as dy into #temp from sysobject 阅读全文
posted @ 2011-08-18 12:33 ®Geovin Du Dream Park™ 阅读(399) 评论(0) 推荐(0) 编辑
摘要:--返回第幾周DECLARE @Dt datetimeSELECT @Dt='2008-02-21'SELECT DATEPART( wk, @Dt)SELECT DATEPART( wk, GETDATE())SELECT DATEPART(weekday, GETDATE())SELECT * FROM WorkAttendanceReportSELECT [dbo].[GetWeekName] (WorkAttendanceDatetime) FROM WorkAttendanceReport---WorkAttendanceDatetimedeclare @Date s 阅读全文
posted @ 2011-08-15 18:42 ®Geovin Du Dream Park™ 阅读(2597) 评论(3) 推荐(0) 编辑
摘要:---得到遲到多少時間或沒有遲到 Geovin Du 塗聚文declare cursor_select cursor for select WorkingHoursTime,WorkingHoursUidKey FROM WorkingHoursSetdeclare @ntime smalldatetime,@uidkey Uniqueidentifier,@timeint int,@empoyee Uniqueidentifier,@WorkAttendanceUid Uniqueidentifier--set @uidkey='E0ABDEC2-4BC9-49CB-85EE-E6E 阅读全文
posted @ 2011-08-10 12:37 ®Geovin Du Dream Park™ 阅读(861) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示