举个例子:select * from A where id=#id#
假设这条sql最终执行的语句为:select * from A where id=10000
请问在应用程序中如何获取到这样一条执行的完整 sql
代码中,好像取不到。只能通过日志打印SQL语句。http://blog.csdn.net/huzheaccp/article/details/7403573
日志可以打印出来。不过你要获取到这个干吗?