• Actually i got the following errors like

    Incorrect syntax near '@filename'.

    For inserting images in to database i used the following code

    BulkColumn from Openrowset( Bulk 'F:\Images\picture005.jpg', Single_Blob) as tt

    But i need to store lot image file from the folder, so for that i need to use filename variable inside the Openrowset. but it does not about to use variable inside that

    BulkColumn from Openrowset( Bulk 'F:\Images\'+@filename, Single_Blob) as tt