地址:http://www.cnblogs.com/huangfr/archive/2012/03/28/2420780.html[Guid] [uniqueidentifier] NOT NULL CONSTRAINT [DF_Table_Guid_Guid] DEFAULT (newid())....
分类:
数据库 时间:
2015-07-20 16:14:31
阅读次数:
142
1、存储过程中不使用外部参数。 存储过程:SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO-- =============================================-- Author: HF_Ultrastrong-- Create.....
分类:
数据库 时间:
2015-07-19 23:36:00
阅读次数:
264
SqlDataAdapter与SqlConnection和SqlCommand一起使用,以便在连接到 SQL Server 数据库时提高性能。SqlDataAdapter的这一实现自动打开和关闭SqlConnection(如果它尚未打开)。在必须为两个或更多SqlDataAdapter对象调用Fil...
分类:
数据库 时间:
2015-07-19 23:31:33
阅读次数:
219
ALTER FUNCTION [dbo].[GetAge] ( @birthday DATETIME )RETURNS NVARCHAR(20)AS BEGIN DECLARE @startDatetime DATETIME SET @startDatetim...
分类:
数据库 时间:
2015-07-17 11:25:27
阅读次数:
183
由于公司业务的发展MSSQL已处于瓶颈。因为没钱买牛逼服务器只能靠软件来实现最大优化了。原来的系统架构如下图:现在准备把读写数据库和只读数据换成Nosql数据库。最终选择了Mongodb. 下面开始了Mongodb的学习。1. Mongodb下载:https://www.mongodb.org/do...
分类:
数据库 时间:
2015-07-16 18:17:18
阅读次数:
225
asp环境搭建asp+mssql+IISasp+access+IISIIS6.0(windows2003)7.X(7.0、7.5)(windows2008、win7)php环境搭建php+mysql+aphceJSP环境搭建jsp+mysql+tomcatjsp+oracle+tomcatjsp+mssql+tomcatjsp+db2+tomcat
分类:
Web程序 时间:
2015-07-15 15:16:50
阅读次数:
137
MSSQL Server类型DbType类型C#类型MySql类型DbType类型C#类型bitBooleanboolbit(1)BooleanbooltinyintBytebytebitUInt64ulongsmallintInt16shorttinyint(1)Booleanboo...
分类:
数据库 时间:
2015-07-14 19:39:26
阅读次数:
152
在mssql中大家都知道可以使用pivot来统计数据,实现像excel的透视表功能一、MSsqlserver中我们通常的用法1、Sqlserver数据库测试---创建测试表Create table s( [name] nvarchar(50), book nvarchar(50), ...
分类:
数据库 时间:
2015-07-14 15:07:43
阅读次数:
168
判断注入点:1、数字型http://www.targer.com/article.aspx?id=1http://www.targer.com/article.aspx?id=1'http://www.targer.com/article.aspx?id=1 and 1=1http://www.ta...
分类:
数据库 时间:
2015-07-13 17:33:27
阅读次数:
215
直接上代码varsql=require('mssql');varconfig={user:'sa',password:'123456',server:'127.0.0.1',//Youcanuse'localhost\\instance'toconnecttonamedinstancedatabas...
分类:
Web程序 时间:
2015-07-10 18:51:28
阅读次数:
551