SQL 转义字符 单引号

SET @sql = CONCAT(‘select * from table’,’ where in_time < ‘,’\”,iv_end_time,’\”,’ and in_time > ‘,’\”,iv_start_time,’\”,’ order by ”批次” limit ‘,iv_page_index,’,’,iv_page_size);


‘ \’ ‘ 解析为’

‘ \” ‘ 解析为”

    原文作者:jonnyha
    原文地址: https://blog.csdn.net/jonnyha/article/details/78217665
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞