为什么要避免动态SQL查询?有什么建议可以去除不良部分并使用它们吗? [英] Why to avoid dynamic SQL queries ? any suggestion to remove there bad part and to use these?

查看:91
本文介绍了为什么要避免动态SQL查询?有什么建议可以去除不良部分并使用它们吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能否请您指导我为什么建议避免使用动态SQL?有什么方法可以继续使用动态SQL并避免发生坏情况?

Can you please guide me why dynamic SQL is suggested to avoid ? Is there any way that I can keep on using dynamic SQL and avoid its bad things ?

推荐答案

http://www.sommarskog.se/dynamic_sql.html

如果您不了解其中的所有内容,请返回并提出问题,但是在不了解本文的情况下,请勿使用动态SQl。

If you don't understand everything in this, come back and ask a question, but under no circustances should you use dynamic SQl until you understand this article.

这篇关于为什么要避免动态SQL查询?有什么建议可以去除不良部分并使用它们吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆