Home > Back-end >  Questions about multiple TXT file query
Questions about multiple TXT file query

Time:10-02

Program automatically into a TXT file each month, for example 201403. TXT, 201404. TXT, 201405. TXT, these text files in a folder, now I want to query, how to put these documents together, I want to query data of April to may, for example, or data from march to may, is there any good way to feel more troublesome,

CodePudding user response:

The string can be used more than less than more

CodePudding user response:

Have any master to help have a look

CodePudding user response:

Write a method to traverse the filename, directory to write a method to collect inside the contents of the specified file, again later just want to check how to check

CodePudding user response:

See what format, can be a multiple text synthesis, a BAT file online, synthesize a see you how to query the want what kind of result, can use the memory table

CodePudding user response:

Since is monthly portfolio generated file name, it should be easy to realize the query, query in the program, to document traversal, according to the file name to isolate, compare the query conditions at the same time, to meet the requirements of the file,

CodePudding user response:

Each file query is ok,

CodePudding user response:

Build a table, use append command will gradually add the TXT file, do a form you can realize query
  • Related