A. Hmelnov, Gennadiy M. Ruzhnikov, Tianjiao Li, Huan Xu
{"title":"一种从数据库中将复杂的主-详细表层次结构的信息导出到单一平面表形式的方法","authors":"A. Hmelnov, Gennadiy M. Ruzhnikov, Tianjiao Li, Huan Xu","doi":"10.47350/AICTS.2020.08","DOIUrl":null,"url":null,"abstract":"When developing a database client application it is usually required to implement a capability to export information from database tables into some simple data-exchange representations of tables like the CSV (Comma-Separated Values) format. It is very straightforward to implement the export for a single database table. But some information about the records of a master table may be represented by the records from, sometimes, several detail tables, so the resulting CSV table would be incomplete without this information. We develop AIS (automated information systems) using declarative specifications of database applications (SDA). The AIS’es are implemented using general algorithms, which are directed by the specifications. In this article we’ll consider the approach to generation of flat tables from the master-detail groups of tables, which allows users to represent compactly the data from a hierarchy of tables related by the master-detail relationships and to select conveniently which kind of information to include into the resulting table.","PeriodicalId":395296,"journal":{"name":"International Workshop on Advanced Information and Computation Technologies and Systems","volume":"100 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-05-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An approach to information export from database for complex master-detail table hierarchies into a single flat table form\",\"authors\":\"A. Hmelnov, Gennadiy M. Ruzhnikov, Tianjiao Li, Huan Xu\",\"doi\":\"10.47350/AICTS.2020.08\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"When developing a database client application it is usually required to implement a capability to export information from database tables into some simple data-exchange representations of tables like the CSV (Comma-Separated Values) format. It is very straightforward to implement the export for a single database table. But some information about the records of a master table may be represented by the records from, sometimes, several detail tables, so the resulting CSV table would be incomplete without this information. We develop AIS (automated information systems) using declarative specifications of database applications (SDA). The AIS’es are implemented using general algorithms, which are directed by the specifications. In this article we’ll consider the approach to generation of flat tables from the master-detail groups of tables, which allows users to represent compactly the data from a hierarchy of tables related by the master-detail relationships and to select conveniently which kind of information to include into the resulting table.\",\"PeriodicalId\":395296,\"journal\":{\"name\":\"International Workshop on Advanced Information and Computation Technologies and Systems\",\"volume\":\"100 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-05-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Workshop on Advanced Information and Computation Technologies and Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.47350/AICTS.2020.08\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Workshop on Advanced Information and Computation Technologies and Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.47350/AICTS.2020.08","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
An approach to information export from database for complex master-detail table hierarchies into a single flat table form
When developing a database client application it is usually required to implement a capability to export information from database tables into some simple data-exchange representations of tables like the CSV (Comma-Separated Values) format. It is very straightforward to implement the export for a single database table. But some information about the records of a master table may be represented by the records from, sometimes, several detail tables, so the resulting CSV table would be incomplete without this information. We develop AIS (automated information systems) using declarative specifications of database applications (SDA). The AIS’es are implemented using general algorithms, which are directed by the specifications. In this article we’ll consider the approach to generation of flat tables from the master-detail groups of tables, which allows users to represent compactly the data from a hierarchy of tables related by the master-detail relationships and to select conveniently which kind of information to include into the resulting table.