Home > database >  Can you put the file to import into the database, make its become a record?
Can you put the file to import into the database, make its become a record?

Time:10-05

I recently doing a file management system, want to use the database to manage a large number of documents, now the mainstream of the database to support the file (such as text files, pictures, etc.) into the Treasury? And we don't care about the contents of the file,

CodePudding user response:

Probably can
Dw_1. Importfile ()//check to help see
Dw_1. The update ()

CodePudding user response:

Support, support, of course, the corresponding blob, clolb and other types of field has this function

CodePudding user response:

Importfile () function is a special format, the content and data table text file to import into the data window similar to that of the corresponding data table,
And you said in the data in the table directly insert file is ok, just want to the upstairs said, with a blob variable holds, the corresponding in the SQL server should be long binary types, in oracle should be text or image type

CodePudding user response:

Can blob way, search the blob

CodePudding user response:

I was recently in doing this, as long as a thing can save, use FileRead, FileWrite to read and write

CodePudding user response:

As if it's not that simple, ha ha.
  • Related