File stream is a new datatype introduced in SQL Server 2008 to leverage the functionality of storing the data into the database.
Below is the syntax to create a table in the database,
CREATE TABLE [dbo].[DOC_details2](
[Id] [int] IDENTITY(1,1) NOT NULL,
[F_Data] [varbinary](max) FILESTREAM NOT NULL,
[F_Name] [nvarchar](1000) NULL,
[F_Date] [datetime] NULL,
[RowGuid] [uniqueidentifier] ROWGUIDCOL NOT NULL
[Id] [int] IDENTITY(1,1) NOT NULL,
[F_Data] [varbinary](max) FILESTREAM NOT NULL,
[F_Name] [nvarchar](1000) NULL,
[F_Date] [datetime] NULL,
[RowGuid] [uniqueidentifier] ROWGUIDCOL NOT NULL
)

Join the conversation! Your thoughts help the community grow.