scottsanpedro
Member
- Joined
- Jan 24, 2009
- Messages
- 21
- Programming Experience
- 1-3
Hi all. I hope you will be able to help me out.
I have a system running off a SQLExpress database on a clickonce type application.
As well as updating the application I want to be able to check a version number on the DB and then run a .sql script for updating Stored Procedures or anything really.
Is there a way to add a .sql script or maybe just a .txt file which could then be read and executed via ExecuteStoreCommand.
If I put a .txt into a folder called Scripts, how do I feed that into the ExecuteStoreCommand command?
Thanks in advance
Scott
I have a system running off a SQLExpress database on a clickonce type application.
As well as updating the application I want to be able to check a version number on the DB and then run a .sql script for updating Stored Procedures or anything really.
Is there a way to add a .sql script or maybe just a .txt file which could then be read and executed via ExecuteStoreCommand.
If I put a .txt into a folder called Scripts, how do I feed that into the ExecuteStoreCommand command?
Thanks in advance
Scott