Use SQL INSERT to create directories using FileTable

Is there a way to create directories in FileTable without using the I / O APIs? Is it as simple as creating an SQL INSERT statement?

This is my first experience with SQL Server 2012, and I am not familiar with the limitations of FileTable from within SQL Server.

+4
source share
1 answer

The following worked for me. Hope this helps someone else.

 INSERT INTO FileTable0 (name,is_directory,is_archive) VALUES ('Directory', 1, 0); 
+5
source

Source: https://habr.com/ru/post/1411125/


All Articles