问题
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