日期:2014-05-17 浏览次数:20451 次
CREATE PROCEDURE Uploadfile
@fileName nvarchar(MAX),
@fileSize int,
@fileType varchar(10),
@fileTime datetime,
@fileContent varbinary(MAX),
@filePath nvarchar(MAX)
AS
INSERT file(fileName, fileSize, fileType, fileType, fileTime, fileContent, filePath)
VALUES(@fileName, @fileSize, @fileType, @fileType, @fileTime, @fileContent, @filePath)
GO