摘要
针对暴雨基础数据库,详细描述了在VC++中利用ADO接口对SQL Server 2000数据库进行编程的步骤和方法,同时结合暴雨基础数据库的实际应用情况,给出了气象数据批量录入的程序。此外,还利用SQL Server 2000中的存储功能编程实现了暴雨过程累积降水量的实时自动计算,并利用数据库中的表建立索引等方法实现数据库的性能优化,从而提高了整个系统的效率。
For the basic database of the heavy rain, the programme steps and methods to SQL Server 2000 database are described in detail by using the interface of ADO in the VC++. Meanwhile, according the actual application status of the heavy rain database, the program of batch meteorology data input are provided in this article. Moreover, some methods to optimize the capability of database, such as making use of the function of SQL server procedure to realize the real time auto-calculate of cumulative rainfall, and establishing index by utilizing the table of database to improve the efficiency of the whole system.
出处
《暴雨灾害》
2008年第4期363-366,共4页
Torrential Rain and Disasters
基金
科技部社会公益研究专项"基于GIS的暴雨诱发地质灾害分析预警系统"(2004DIB3J117)资助