更新时间:2023-01-01 11:01:59
当然有可能,因为SQL
轻轻提供DDL
语句,例如,参见***的数据定义语言 [ ^ ]。
参见此处 [ ^
是。一些示例:
创建SQL Server数据库使用C# [ ^ ]
SMO - 管理你的SQL Server! [ ^ ]
Google可以为您提供更多帮助......
Please help.
I want to create a ms access database through query.
Is it possible?
Database Name=emplyee
e.g. Create database employee
And I want to use that query in coding of C# Windows application to create a new database, programmatically, on a button click.
Of course it is possible, sinceSQL
gently providesDDL
statements, see, for instance "Data definition language" at Wikipedia[^].
See here[^]
Yes. Some samples:
Create an SQL Server Database Using C#[^]
SMO - Manage your SQL Server![^]
Google can help you more...