Table building statement generation method and device, equipment and storage medium
The invention provides a table building statement generation method and device, equipment and a storage medium. The method comprises the steps of acquiring a first table building statement of a firstdata table and the number of sub-tables input by a user; modifying the table name of the first data t...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a table building statement generation method and device, equipment and a storage medium. The method comprises the steps of acquiring a first table building statement of a firstdata table and the number of sub-tables input by a user; modifying the table name of the first data table in the first table building statement through a preset regular expression to generate second table building statements of which the quantity is the quantity of the sub-tables, each second table building statement being used for generating a sub-table of the first data table; and outputting each second table building statement. According to the method, the table names in the table building statements can be matched and replaced through the regular expression, so that the table building statements of the sub-tables of the data table are automatically and efficiently generated, and the generation efficiency of the table building statements is improved.
本发明提供一种建表语句生成方法、装置、设备及存储介质,该方法包括:获取第一数据表的第一建表语句和用户输入的分表数量;通过预 |
---|