34,838
社区成员




set @return_value =exec( [dbo].[InsertPicture]
@image_id = 100,
@image_type = N'3',
@image_code = N'90100',
@image_status = 1,
@image_path = N'c;\p1.gif' )
SELECT 'Return Value' = @return_value
SET @S =
N'INSERT INTO Tbl_Image
(Image_id,
Image_Type,
Image_Code,
Image_Status,
image_Image)
SELECT
@image_id as image_id,
@image_type as image_type,
@image_code as image_code,
@image_status as image_status,
@image_Image as image_Image
* FROM Openrowset (BULK' + @image_path + ',single_blob) as image_image'
EXEC(@S)