Description: Delphi: Delphi source code to dynamically create sql2000 database, data tables, generate sql file in sql2000 green version of the test. Note: Enterprise Manager generated sql, need to create a txt file, the contents copied, otherwise you will be prompted the first sentence is wrong, go to remove. Realization of ideas: first fill the database connection information, this goes without saying it, and then create a dataset component, specify the connection to the data set Connection1 Query1, call the function, create a database, where the function is called CreateNewDB fact here is basically to create work has been completed a.
To Search:
File list (Check if you may need any files):
Code\delphi\pudn\upandload\DATA\Delphi_803600\Delphi_803600\代码动态创建sql2000数据库 和表通过.sql文件生成\a.txt
....\......\....\.........\....\.............\.............\..............................................\createDB.txt
....\......\....\.........\....\.............\.............\rd.txt
....\......\....\.........\....\.............\.............\代码动态创建sql2000数据库 和表通过.sql文件生成\configini.ini
....\......\....\.........\....\.............\.............\..............................................\f
....\......\....\.........\....\.............\.............\..............................................\Udatabaselogin.~ddp
....\......\....\.........\....\.............\.............\..............................................\server.cfg
....\......\....\.........\....\.............\.............\..............................................\Udatabaselogin.dcu
....\......\....\.........\....\.............\.............\..............................................\Udatabaselogin.ddp
....\......\....\.........\....\.............\.............\..............................................\Udatabaselogin.dfm
....\......\....\.........\....\.............\.............\..............................................\server.dof
....\......\....\.........\....\.............\.............\..............................................\server.dpr
....\......\....\.........\....\.............\.............\..............................................\Udatabaselogin.pas
....\......\....\.........\....\.............\.............\..............................................\server.res
....\......\....\.........\....\.............\.............\..............................................\a.sql
....\......\....\.........\....\.............\.............\..............................................\createDB.sql
....\......\....\.........\....\.............\.............\代码动态创建sql2000数据库 和表通过.sql文件生成