_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › FileTable
|
|
[edit]
1 FileStream れ #誤 File Stream Access襯 谿瑚.
use master go exec sp_configure 'filestream access level', 2 go reconfigure go alter database AdventureWorksLT2008 add filegroup [fg_filestream] contains filestream go alter database AdventureWorksLT2008 add file ( name = 'file_tream_01' , filename = 'c:\filestream' ) to filegroup [fg_filestream] go ALTER DATABASE AdventureWorksLT2008 SET FILESTREAM ( NON_TRANSACTED_ACCESS = FULL , DIRECTORY_NAME = N'File_Dir') WITH NO_WAIT go [edit]
2 FileTable #use AdventureWorksLT2008; create table dbo.file_table_sample as filetable with ( filetable_directory = 'file_table_sample' , filetable_collate_filename = database_default ) [edit]
3 一危 襦 # 蠏碁殊 豺襯 谿場覲碁.
螳 ろ語 殊企豌 襦 .
\\localhost\sql2011_ctp3\File_Dir\file_table_sample 蟆暑襦 殊 copy螻 select 企慨覃..
select name, file_stream.GetFileNamespacePath(), is_directory from dbo.file_table_sample select FileTableRootPath() + file_stream.GetFileNamespacePath() AS FilePath from dbo.file_table_sample
鏤
|
企 蠍 企. 願 一一 譟危讌 狩 覲旧企. (ろ) |