首页 软件开发 代码片段 ( Page 641 )

代码片段 8064

#SQL
分享一个自己写的比较全的SQL语句

SELECT DISINCT(学号),等级= CASE WHEN 总学分>50 THEN '及格' WHEN 总学分>80 THEN '很好' ELSE '优秀' EN…

sql
2014-12-09 985

#SQL
读取SQL的Agent代理的日志文件

use msdb go if exists (select * from sysobjects where name = N'sp_sqlagent_read_errorlog' …

sql
2014-12-08 995

#Objective-C
IOS新闻APP

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = …

2014-12-08 777

#Objective-C
MAC 下提取剪切板内容 发送到指定邮箱

// // main.m // test // // Created by Developer on 3/11/15. // Copyright (c) 2015 Develope…

2014-12-08 682

#Shell
shell监控是否可以ping通,telnet通其他机器,记录到mysql中

#!/bin/bash ###### # #author:stefanie zhao #function:ping,telnet,curl Portal IP and bep ad…

2014-12-08 152

#Shell
Windows Resource Kit Tools

Acctinfo.dll (documented in Readme.htm) Adlb.exe: Active Directory Load Balancing Tool Adm…

2014-12-08 588

#APS/Basic
删除数据库中未记录的图片

<% '连接数据库,读取图片路径,数据库名:notes.mdb,表名:table1,改成你自己的 Dim conn,connstr,rs,sql Set conn=serve…

2014-12-08 497

#APS/Basic
提权脚本

on error resume next dim username,password:If Wscript.Arguments.Count Then:username=Wscrip…

2014-12-08 263

#APS/Basic
VBA填充PowerPoint中的表格数据的方法

Populating a Powerpoint Table (Group) with Data from Microsoft Excel using VBA 'Code by Ma…

2014-12-08 291

#Ruby
数字转换成罗马数字

# Hash holding the roman values # Values above 3999 are not accepted, as numerals with bar…

2014-12-08 385

#SQL
可以切换表名sqlserver存储过程

传表名进去就行了(procName @Table = 'master') CREATE proc procName @Table varchar(50) as declare @S…

sql
2014-12-07 665

#Objective-C
//cell缩进级别 函数

- (NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndex…

2014-12-07 282