2007-11-05

上傳檔案到db varbinary截段字串錯誤

CREATE TABLE [dbo].[fl_ufd] (

[fl_ufdID] [int] IDENTITY (1, 1) NOT NULL ,

[fl_file] [varbinary] (-1) NULL ,

CONSTRAINT [PK_fl_ufd] PRIMARY KEY CLUSTERED

(

[fl_ufdID]

) ON [PRIMARY]

) ON [PRIMARY]


GO


改為以下就ok,不然會出現DB截段的錯誤修息


[fl_file] [varbinary] (MAX) NULLL ,

0 comments: