开发者

How do I automatically validate stored procedures against the database schema

A few years ago I came across a T-SQL technique to validate a stored procedure in SQL Server, but I cannot fi开发者_StackOverflownd it again


Can probably script the stored procedure calls out with SET NOEXEC ON, so it doesn't actually run anything... This would allow you to catch a lot of basic errors (invalid objects, missing fields, etc.)

Is that along the lines of what you were talking about?

If so, there's a CLR mentioned in SQL Mag that seems to do what you're looking for.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜