Insert file contents into MySQL table's column

后端 未结 2 861
谎友^
谎友^ 2020-12-14 08:01

I know there\'s the LOAD DATA INFILE statement, which allows me to INSERT structured data into a table.

What I\'m curious about, is whether it is possib

2条回答
  •  抹茶落季
    2020-12-14 08:40

    edit: I understood you wrong, sorry, Daniel Vassallo has the right answer. May this is useful anyway

    I think you are looking for BLOB or TEXT, see docs. If you want to store file date inside the datebase, these are what you are possibly looking for

提交回复
热议问题