← Tutti gli articoli
SQL Server 2008 - The FILESTREAM attribute.
04 July 2012 ·
Troubleshooting · Article ·
508 visite
Function PathName is only valid on columns with the FILESTREAM attribute.
When you create the field of your table remember the FILESTREAM attribute:
- CREATE TABLE [dbo].[Files](
- [FileId] [int] NOT NULL,
- [ImportId] [int] NOT NULL,
- [Filename] [nvarchar](255) NOT NULL,
- [FileGuid] [uniqueidentifier] ROWGUIDCOL NOT NULL,
- [FileContent] [varbinary](max) FILESTREAM NOT NULL
- )