开发者

How to attach a database using sp_attach_db in vc++ application using ADO

I need to install SQL server using ADO in VC++ application, fortunately it is done. Then I need to attach a precreated Database using ADO to the instence of the installed SQL server 2005 Express using ADO through m开发者_开发问答y VC++ application.How do I go about this? Can any one please help me with the code!!!!!!!


You need to get the database file(s) on the to server running your SQL Server instance.

As far as I know, you can't do that through ADO. You may need to copy it over a network, through FTP, or some equivilent non-sql mechanism.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜