2017年2月17日

MYSQL的基本语法

摘要: 1、默认约束 区别:mysql里面DEFAULT关键字后面是不用加括号的 复制代码 代码如下: --sqlserver CREATE TABLE emp ( id INT DEFAULT(12) ) --mysql CREATE TABLE emp ( id INT DEFAULT 12 ) 2、设 阅读全文

posted @ 2017-02-17 11:06 守望星空 阅读(334) 评论(0) 推荐(0) 编辑

如何实现SQL Server临时表的创建?

摘要: 以下的文章主要是对SQL Server临时表的创建的实际操作步骤,以及在实际操作中我们要用到的实际应用代码的介绍,我在一个信誉度很好的网站找到一个关于其相关内容今天拿出来供大家分享。 SQL SERVER临时表的使用 http://www.cnblogs.com/shineqiujuan/archi 阅读全文

posted @ 2017-02-17 11:05 守望星空 阅读(63919) 评论(3) 推荐(1) 编辑

计算时间 相加,相减 的方法,TimeSpan 数据转换

摘要: #region Time calculation method public static string DelayTypeTime_1(DateTime ArrivalTime_1, DateTime DepartureTime_1, TimeSpan DesignatedTime_1) { if (ArrivalTime_1 < D... 阅读全文

posted @ 2017-02-17 11:03 守望星空 阅读(435) 评论(0) 推荐(0) 编辑

sql server 拆分字符串,拆分两次(:和;)

摘要: declare @DisciplineID int declare @paramStringVal nvarchar(1000) declare @NPNT nvarchar(100) declare @DisciplineMapping nvarchar(100) declare @UEIDCount int declare @NPNTDisciplin... 阅读全文

posted @ 2017-02-17 11:03 守望星空 阅读(379) 评论(0) 推荐(0) 编辑

2016年4月21日

SQL group by分组查询(转)

摘要: 转 原文:http://www.studyofnet.com/news/247.html 阅读全文

posted @ 2016-04-21 17:25 守望星空 阅读(812) 评论(0) 推荐(0) 编辑

2016年3月16日

转: sqlserver常用sql语句,更改字段,建立唯一键,多个字段去重复等

摘要: 原文: http://blog.csdn.net/smartsmile2012/article/details/44100955 阅读全文

posted @ 2016-03-16 10:36 守望星空 阅读(644) 评论(0) 推荐(0) 编辑

2015年12月16日

asp.net,CSS设置<TableListView>的title居左,居左,居上

摘要: 居左DIV.TableTitleStyle TABLE.grid TH{ text-align:left;}引用 <cc1:TableListView ID="ItemCrossReferenceTableListView" runat="server" AllowData... 阅读全文

posted @ 2015-12-16 17:10 守望星空 阅读(278) 评论(0) 推荐(0) 编辑

2015年12月1日

linq to sql ,将var 类型转为 IList 类型

摘要: public void SOHSelecting(int startRowIndex, int maximumRows, string sortExpression, string location) { int totalCount = 0; ... 阅读全文

posted @ 2015-12-01 14:41 守望星空 阅读(343) 评论(0) 推荐(0) 编辑

2015年10月8日

Open XML的上传、下载 、删除 ......文件路径

摘要: /// /// Get download site, if download tempfolder not existed, create it first /// /// the template file path /// download path private string GetDownloadFi... 阅读全文

posted @ 2015-10-08 13:59 守望星空 阅读(196) 评论(0) 推荐(0) 编辑

2015年9月9日

C#操作office进行Excel图表创建,保存本地,word获取

摘要: 1,新建C#控制台应用程序(Excel创建图表)using System;using System.Collections.Generic;using System.Linq;using System.Text;//解决方案中 添加引用 Execl(COM组件)using MSExcel = Mic... 阅读全文

posted @ 2015-09-09 10:36 守望星空 阅读(1056) 评论(0) 推荐(0) 编辑

导航