SQL
hs123
这个作者很懒,什么都没留下…
展开
-
安装SQL Server 200 ,出现错误提示:command line option syntax error,type command/? for help
当安装程序安装到:安装程序正在安装ms数据访问组件时,屏幕出现错误提示:command line option syntax error,type command/? for help然后点确定继续,结果到:安装程序正在安装HTML帮助时,屏幕又出现标题为html help 1.32 update错误警对话框提示:command line option syntax error,type comm原创 2007-08-10 17:46:00 · 3030 阅读 · 0 评论 -
SQL数据类型详解
(1)二进制数据类型 二进制数据包括 Binary、Varbinary 和 Image Binary 数据类型既可以是固定长度的(Binary),也可以是变长度的。 Binary[(n)] 是 n 位固定的二进制数据。其中,n 的取值范围是从 1 到 8000。其存储窨的大小是 n + 4 个字节。 Varbinary[(n)] 是 n 位变长度的二进制数据。其中,n 的取值范围是从原创 2007-09-01 17:31:00 · 569 阅读 · 0 评论 -
sqlserver2000数据库置疑的解决方法
sqlserver2000数据库置疑的解决方法 作者:未知 来源:月光软件站 加入时间:2005-2-28转载 2007-11-13 10:43:00 · 704 阅读 · 0 评论 -
Mysql的时间列 默认值为当前时间
用current_timestamp,不过这个默认值只用在timestamp的列,对datetime列无效 例子:create table tableName ( id int not null primary key auto_increment, name varchar(20) default chenlb, time timestamp default current_tim原创 2008-04-21 11:17:00 · 1851 阅读 · 1 评论 -
Mysql的时间列 默认值为当前时间
用current_timestamp,不过这个默认值只用在timestamp的列,对datetime列无效 例子:create table tableName ( id int not null primary key auto_increment, name varchar(20) default chenlb, time timestamp default current_tim原创 2008-04-21 11:17:00 · 4960 阅读 · 0 评论 -
ASP.NET中如何防范SQL注入式攻击
一、什么是SQL注入式攻击? 所谓SQL注入式攻击,就是攻击者把SQL命令插入到Web表单的输入域或页面请求的查询字符串,欺骗服务器执行恶意的SQL命令。在某些表单中,用户输入的内容直接用来构造(或者影响)动态SQL命令,或作为存储过程的输入参数,这类表单特别容易受到SQL注入式攻击。常见的SQL注入式攻击过程类如: ⑴ 某个ASP.NET Web应用有一个登录页面,这转载 2008-05-22 11:09:00 · 489 阅读 · 0 评论 -
事务处理
begin trandelete from student where c_id=1 if @@error>0 ROLLBACK TRANSACTIONdelete from class where c_id= 1 if @@error>0 ROLLBACK TRANSACTIONcommit tran原创 2008-08-21 14:02:00 · 440 阅读 · 0 评论