当前位置:
代码迷
>>
ASP
>> MSSQL中text字段用connection.execute取出后为什么不能用replace,该怎么处理
详细解决方案
MSSQL中text字段用connection.execute取出后为什么不能用replace,该怎么处理
热度:
194
发布时间:
2012-02-16 21:30:36.0
MSSQL中text字段用connection.execute取出后为什么不能用replace
数据库为MSSQL,键值不是保留字。类型为text,用connection.execute取出来后用replace替换里面某些内容就不显示不出来,用recordset取出来就可以用replace替换,这是为什么?请高手指点。谢谢。
------解决方案--------------------
是怎么替换的??connection.execute得到的记录集Rs.RecodCount=-1
相关解决方案
大神们开始觅错啦!org.hibernate.exception.SQLGrammarException: could not execute query
小白Could not execute JDBC batch update解决办法
不走"<script type='text/javascript'>"标签咋回事
JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
JSP 页面乱码 页面起首已设置 contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
java.lang.UnsupportedOperationException: The user must supply a JDBC connection,该怎么处理
input type=text 替空时 ,为什么不为null
<script type="javascript/text">的有关问题
ASP上Set GetSession("conn")=server.CreateObject("adodb.connection")
对 java.sql.Connection 的commit方法理解有关问题
小弟我在网下找的图片验证码,小弟我这个页面的值<input type="text">如何传不到Servlet里面去,请高手瞧瞧
struts2中 super,super.execute();是什么意思,如何理解
运用HttpURLConnection抓取google搜索结果,总是报错:java.net.SocketException: Connection reset
<html:text>property的有关问题
关于<html:text>相关的有关问题
iReport中应用JavaBean作为Table的数据源:The supplied java.sql.Connection object is nul
jsp <input text> post提交到action 中文乱码,该如何处理
jsp页面未加载完毕被关闭,抛java.net.SocketException: Connection reset by peer: socket write,该如何处理
<input text>怎么禁止键盘输入但允许控件输入
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error,该如何解决
org.hibernate.exception.SQLGrammarException: could not execute query有关问题求解
关于HttpURLConnection:Connection timed out: connect 有关问题
Connection aborted by peer 错误,求高手
Software caused connection abort: socket write error解决方案
connection as SYS should be as SYSDBA or SYSOPER解决办法
"kkkwsss"string.replace('w','');为什么会出错?该如何解决
java.sql.SQLException: Io 错误: Connection refused
java.net.ConnectException: Connection refused,该怎么处理
can't connection db:java.sql.SQLException: Io 错误? The Network Adapter could not
急 java中如何解决java.net.SocketException: Connection reset