Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在尝试使用PRINT或非致命的 RAISEERROR 在我的事务运行时打印消息,但在事务结束之前它们不会打印。有没有办法从交易中实际打印消息?
PRINT
我想你会发现它的缓冲阻止了消息的打印。
尝试:
raiserror ('hello', 0, 0) with nowait