![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DB
文章平均质量分 61
hty68024352
这个作者很懒,什么都没留下…
展开
-
SQLServer存储过程
--有输入参数的存储过程-- create proc GetComment (@commentid int) as select * from Comment where CommentID=@commentid --有输入与输出参数的存储过程-- create proc GetCommentCount @newsid int, @count int output ...原创 2011-09-28 20:50:15 · 347 阅读 · 0 评论 -
mongodb介绍
简介 MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据 存储解决方案。特点 它的特点是高性能、易部署、易使用,存储数据非常方便。主要功能特性有: *面向集合存储,易存储对象类型的数据。 *模式自由。 *支持动态查询。 *支持完全索引,包含内部对象。 *支持查询。 *支持复制和故障恢复。...原创 2011-03-15 21:05:52 · 62 阅读 · 0 评论 -
sql server日期时间函数 datetime
Sql Server中的日期与时间函数 1. 当前系统日期、时间 select getdate() 2. dateadd 在向指定日期加上一段时间的基础上,返回新的 datetime 值 例如:向日期加上2天 select dateadd(day,2,'2004-10-15') --返回:2004-10-17 00:00:00.000 3...原创 2011-10-18 15:17:24 · 965 阅读 · 0 评论 -
SQL去掉identity约束
需要执行insert的时候,可以设置成 set identity_insert table名 on 执行完后 set identity_insert table名 off原创 2011-08-10 11:07:45 · 564 阅读 · 0 评论 -
SQL server attche数据文件失败
1. 关于下面的错误 The file "G:\..........\abc.mdf" is compressed but does not reside in a read-only database or filegroup. The file must be decompressed. Could not open new database 'Dotnet67'. CREATE ...原创 2011-11-25 10:49:43 · 325 阅读 · 0 评论