若有一 string strA=tom’s要輸入資料庫
MS-SQL為strA=strA.replace(”‘”,”/’”)
斜線單引號
postgreSQL為strA=strA.replace(”‘”,”””)
兩單引號
可在前端或後端替換皆可
--
若有一 string strA=tom’s要輸入資料庫
MS-SQL為strA=strA.replace(”‘”,”/’”)
斜線單引號
postgreSQL為strA=strA.replace(”‘”,”””)
兩單引號
可在前端或後端替換皆可
--
請先 登入 以發表留言。