Phone (01457) 858877 or email
SQL 2012 has 14 new functions, a new FileTable construct and new ways to sequence and fetch records - as this blog explains.
This is a big subject - my intention here is just to give an overview, and explain the concept involved.
From SQL Server 2008 you have been able to store files in SQL Server using something called FileStreams. You can now also create FileTables, which are tables which:
Here's the SQL to create a file table, at its most simple:
-- create a file table in current database
CREATE TABLE WolExcelFolder as FileTable
Here's what this would create:

Here I've expanded the file table created to show its columns. Most of the column meanings are easy enough to guess.
You can right-click on any file table to see its contents in Windows Explorer:

Just choose this option and - providing that you have sufficient permissions - you'll see any files stored in this file table.
You can also run the following SQL to see where this file table's files are stored:
-- show where this file table stores its files
SELECT FileTableRootPath('WolExcelFolder')
On my machine this returns:

The folder in which files are stored.
Typing the file path above into Windows Explorer and pressing Enter would therefore provide another way to get at the files stored in this file table.
Filetables integrate SQL Server with Windows Explorer - you can think of them as like ActiveDirectory, but easier to use.
SQL 2012 has 14 new functions, a new FileTable construct and new ways to sequence and fetch records - as this blog explains.
Comments on this blog
This blog has one comment: