|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Sunday, September 09, 2012 1:43 PM
Points: 1,
Visits: 13
|
|
Hi,
What I have to do is creating a SQL image DB but instead of inserting the images themselves into it I have to refer the image location (the images are stored on the local disc). Does anybody know how this can be done?
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: 2 days ago @ 8:31 AM
Points: 3,129,
Visits: 4,312
|
|
Enable FILESTREAM in your database; Ensure your column is of VARBINARY(MAX) datatype, with FILESTREAM storage type, e.g.
CREATE TABLE Archive.dbo.Records ( [Id] [uniqueidentifier] ROWGUIDCOL NOT NULL UNIQUE, [SerialNumber] INTEGER UNIQUE, [Chart] VARBINARY(MAX) FILESTREAM NULL ) GO
____________________________________________ Space, the final frontier? not any more... All limits henceforth are self-imposed. “libera tute vulgaris ex”
|
|
|
|