SQL Server bcp command to export an image from table

bcp “select top 1 plot from Adventureworks2016.dbo.Plots” queryout “c:\tmp\image.jpg” -S localhost\AMT2016 -T

Leave a Reply

Your email address will not be published. Required fields are marked *