Have to save image in the database

  • Hi All

    I have to save a bmp image in the database and then it would be used by the application.

    I have taken the datatype as image and using the textcopy utility to save it but it is not happening.

    Can anybody help me out as it is really urgent...

     

     

  • Hello Arun Kumar,

    Have you gone through the BOL (SQL Books Online) topic "TextCopy - Handling text and image data". if you click on samples, there are examples provided.

    Hope this might help you.

    Thanks and have a nice day!!!

     


    Lucky

  • Hi Lucky

    Well yes I have gone thru it and am doing exactly the same. Everything goes amoothly and no error comes but still the image is not getting saved in the database.

  • Could you please provide your table definition (the create table statement) and the exact textcopy command line parameters you are using...  Textcopy won't create new rows in a table - you will need to have existing rows that get updated...

Viewing 4 posts - 1 through 3 (of 3 total)

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