首页 > 数据库技术 > 详细

SQL Server 2008 ---- filestream的启用

时间:2014-07-01 10:08:48      阅读:379      评论:0      收藏:0      [点我收藏+]

create database PhotoRepository on primary

(

name =N‘PhotoRepository‘,

filename = N‘E:\PhotoRepository.mdf‘,

size=5MB,

filegrowth=1024KB

),

filegroup FS_PhotoRepository contains filestream

(

name=‘FS_PhotoRepository‘,

filename=N‘E:\FileGroup\FileStream‘

)

log on

(

name=N‘PhotoRepository_log‘,

filename=N‘E:\PhotoRepository_log.ldf‘,

size=2048kB,

filegrowth=10%)

go

今天建表的时候用到了这个,正是因为filestream才有这编文章。

    总结:分两步走

1、配置数据库实例的filestream属性

2、提升filestream访问等级

EXEC sp_configure filestream_access_level, 2

RECONFIGURE


可以到这里看:http://zhidao.baidu.com/question/328126191.html?qbl=relate_question_0&word=%D3%A6%D3%C3%20FILESTREAM%20%CA%B1%B3%F6%CF%D6%CE%B4%D6%AA%B4%ED%CE%F3


本文出自 “蒋乐” 博客,请务必保留此出处http://6772017.blog.51cto.com/6762017/1432719

SQL Server 2008 ---- filestream的启用,布布扣,bubuko.com

SQL Server 2008 ---- filestream的启用

原文:http://6772017.blog.51cto.com/6762017/1432719

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!