Controlling file extension when inserting data into SQL Filestream column?

筅森魡賤 提交于 2019-12-13 02:33:33

问题


I have a SQL Server Express database with a 10gig limit, so I'm trying to save space by moving a big text column over to a FileStream type.

I created a new database, set up FileStreaming as well as the FileStream column and set it up as a full text index.

Then I tried inserting data into the new database from my other database (insert column to column). The resulting FileStream files are being created with no file extension (which I guess is to be expected).

I think this is causing my full text lookup (i.e. WHERE CONTAINS(Note,'search term')) to fail.

Is there any way that you can specify the default file extension when inserting data into a FileStream column? Or am I going to have to create a program to create temporary text files and insert them that way (I really hope not!!).

Thank you!

来源:https://stackoverflow.com/questions/26432735/controlling-file-extension-when-inserting-data-into-sql-filestream-column

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!