I am creating the following stored procedure (SP) from forms C# application:
string cmdText = @"CREATE PROCEDURE User_SelectOne as
SELECT * FROM Userinfo";
The ExecuteNonQuery command runs successfully and I am able to run and retrieve the SP results. However, if I open the MS Access database the newly created SP is not present. I have to create procedure every time I run the application, which means the SP object remains in working memory and not on disk. Is there a way to store the SPs created from code? The question described here does not describe the creation of the SP from C# and it does not demonstrate how to save the SP on the file.