如何在c#.net中编写sql daatabase文件的脚本? [英] How to script the sql daatabase file in c#.net?
本文介绍了如何在c#.net中编写sql daatabase文件的脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在开发Windows应用程序,并且在其中我将sqlexpress用作数据库,并且我想从旧数据库中获取值并插入到新数据库中,为此,我想获取旧数据库的脚本,并且我知道如何以服务器数据库的脚本,但对于sqlexpress,我不知道.因此,请为此提供一些源代码来帮助我.
谢谢.
Hi everybody,
I am developing a windows application and in that i used sqlexpress as database, and i want to take the values from the older database and inserted into the new database, for that i want to take the script of older database, and i know how to take the script of of server database, but for sqlexpress, i dont know. So please help me by giving some source code for this.
Thanking you.
推荐答案
不确定是否可以在SQL Express中执行此操作,但请参见 ^ ].
Not sure if you can do this in SQL Express, but see here[^].
谢谢您的回复,但是我想要制作脚本的源代码,但是您已经通过使用向导给出了,所以请给我此代码.
谢谢
Thank you for your reply, but i want the source code for making the script but you have given that by using the wizard, so kindly give me the code for this.
Thanking you
这篇关于如何在c#.net中编写sql daatabase文件的脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文