最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

sql server - Store calling parameters of a stored procedure in the log - Stack Overflow

programmeradmin3浏览0评论

During a long process in which many stored procedures are called with parameters, I want to store the names of these parameters and their values in a log table for debugging purposes.

My stored procedures have up to 7 parameters but some have none and some parameters have a default value.

I was thinking of a scalar function or a stored procedure to accomplish this. Is there a system table where this information is stored? Is there an easy way to do this?

发布评论

评论列表(0)

  1. 暂无评论