G
Guest
During the development of a database the columns of the tables may change along the way, such as adding new ones, dropping some, changing their data types, etc. If stored procedures are created as the project progresses, they can easily become out-of-sync with the database schema. I know I can use SQL Server Enterprise Manager to edit and save stored procedures with the native editor. If the stored procedure contains errors, a message will be displayed when I try to save it because SQL Server invokes a method that validates the stored procedure when I click the editor's OK/APPLY buttons.
Is there a way I can invoke that SQL Server method, from an application such as Visual Basic .Net ? I would like to perform batch-validation against all stored procedures in the database. I do not want to edit each single stored procedure to see if it contains an error. Thanks in advance for any suggestions.
Is there a way I can invoke that SQL Server method, from an application such as Visual Basic .Net ? I would like to perform batch-validation against all stored procedures in the database. I do not want to edit each single stored procedure to see if it contains an error. Thanks in advance for any suggestions.