Linux&MySQL&PHP&Nginx&Apache&MSSQL&Shell
发布时间:2012-12-06 13:44:23
SQL:点击(此处)折叠或打开select row_number() over(partition by name order by col desc) ,* from table;函数“row_number”必须有使用 ORDER BY 的 OVER 子句,按照字段col来排列自动取值partition by name order b.........【阅读全文】
发布时间:2012-11-29 11:08:11
1:配置数据库邮件http://www.soaspx.com/dotnet/sql/mssql/sql2008/sqlserver2008_20100109_2287.html2:配置好之后就可以发送邮件了发送邮件是以msdb下面是存储过程sp_send_dbmail来发送的点击(此处)折叠或打开use msdbGoDECL.........【阅读全文】
发布时间:2013-11-11 16:32:25
点击(此处)折叠或打开/* Microsoft SQL Server Integration Services Script Component* Write scripts using Microsoft Visual C# 2008.* ScriptMain is the entry point class of the script.*/using System;using Sy.........【阅读全文】
发布时间:2013-11-08 18:06:14
点击(此处)折叠或打开;with #t as (select '张三' 姓名, '语文' 科目, 74 成绩 unionselect '张三' , '数学' , 83 unionselect '张三' , '物理' , 93 unionselect '李四' , '语文' , 74 unionselect '李四' , '数学' , 84 union.........【阅读全文】