当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·在客户端脚本中怎么合并表格    »显示摘要«
    摘要: 我在客户端用vbscript动态的增加表格的行数, document.all("mytable").insertrow() document.all("mytable").rows(curindex).insertcell() 但不知道增加单元格怎么合并,就和html 中的 colspan=n 一样的效果 ......
    摘要: 如题 ......


如何成批替换某个字段的值/在线等待

select   news_title   from   tbl_news   where   news_title   like   %/?%  
  请问如何用T-sql成批替换掉news_title里的“?”  
  在线等待中。。。  
 

NO.1   作者: psxfghost

update   tbl_news   set   news_title=replace(news_title,?,!)  
  将?替换成!

NO.2   作者: happydreamer

replace(news_title   ,?,   )

NO.3   作者: tj_dns

update   tabl_news   set   news_title   =   replace(news_title,   ?,   )  
  or  
  select   replace(news_title,   ?,   )   from   tbl_news   where   news_title   like   %/?%

NO.4   作者: sm8848

replace(news_title   ,?,   )  
   
  同意  
 

NO.5   作者: psxfghost

如果要将?去掉,就如下:  
  update   tbl_news   set   news_title=replace(news_title,?,)  
 


 ·菜鸟送分    »显示摘要«
    摘要: 偶是菜鸟,想找点有关sqlserver视图的教程看看 在线教程,电子书籍,都可以, 那位dx能帮偶贴个地址? 感激不尽 ps:别说在google上搜 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE