update dbo.Account  
set descrpt='网址: <a href="window.location.href=''www.bai.com''"> </a>' 

解决方案 »

  1.   

    如果把单引号换成双引号
    update Account set descript='网址:<a href="javascript:window.location.href="www.bai.com"">百度</a>'
    那么,该超链接则不可用了,将鼠标移上“百度”,超链接为:javascript:window.location.href=
      

  2.   

    如果SQL语句是应用于ASP.Net中插入某个表的记录,给某个字段插值,用户第三方控件FreeTextBox,该段超连接包含在值中,位置不详,怎么用参数
      

  3.   

    update 表名 set descrpt='网址: <a href="window.location.href=''www.bai.com''"> </a>'
      

  4.   

    update 表名 
    set descrpt='网址: <a href="window.location.href=''www.bai.com''"> </a>'select descrpt='网址: <a href="window.location.href=''www.bai.com''"> </a>'
    /*
    descrpt
    --------------------------------------------------------
    网址: <a href="window.location.href='www.bai.com'"> </a>
    */