若有一 string strA=tom’s要輸入資料庫

MS-SQL為strA=strA.replace(”‘”,”/’”)

斜線單引號

postgreSQL為strA=strA.replace(”‘”,”””)

兩單引號

arrow
arrow
    全站熱搜

    包爾伯 發表在 痞客邦 留言(0) 人氣()