Converting imagebyte to string

  • I have created 1 table name staffidentity where i have passing fingerprint images.

    i have converted imagebyte value to string value.but while executing its showing error.

    i have written the following query.

    set @sqlquery = 'Update StaffIdentities set ' + @FingerPrintNumber + '= '+ convert(nvarchar(4000),@FingerPrintImage) + ' where StaffId = ' + @StaffId

    Anyone plz tell me how to convert imagebyte value to string.

    it will be a gr8 help for me.

    Advance thanks:-)

  • Are you using SQL 2000 or SQL 2008? (seeing as you posted in both forums)

    What's the error that you're getting?

    What is the data type of @FingerPrintNumber?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply