- 博客(0)
- 资源 (5)
空空如也
数据库置疑恢复
--a.将smlog_log.ldf文件备份到其它目录下;
--b.将源目录下的smlog_log.ldf文件改名为smlog_log_bak.ldf;
--c.执行以下语句修改数据库的状态
2014-09-22
SQLlike实现方法
SQL like子句的另一种实现方法
下面两种方法也可实现模糊查询:
select from table where patindex "%字符%" a >0
select from table where charindex "字符" a >0
2014-09-22
sql字段类型
SQL SERVER提供的说明
bit:0或1的整型数字
int:从 2^31 2 147 483 648 到2^31 2 147 483 647 的整型数字
smallint:从 2^15 32 768 到2^15 32 767 的整型数字
tinyint:从0到255的整型数字
2014-09-22
SQL农历万年历
SQL农历万年历 txt
创建基础数据表
if object id "SolarData" is not null
drop table SolarData
go
create table SolarData
yearid int not null
data char 7 not null
dataint int not null
2014-09-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人