yushff

code the world。

导航

2010年10月31日

摘要: 不同的ContentType 会影响客户端所看到的效果.默认的ContentType为 text/html 也就是网页格式.代码如:<% response.ContentType ="text/html" %> <!--#i nclude virtual="/ContentType.html" -->显示的为网页,而<% response.ContentType ="... 阅读全文

posted @ 2010-10-31 15:45 yushff 阅读(214) 评论(0) 推荐(0)

摘要: Oracle数据库中char(),varchar2(),nvarchar2()三种数据类型的区别1. char()类型: (1)如果在数据库中定义的长度为10位,而我实际入力的数据长度不足10位,系统会在入力数据的后面用空字符串补足10位。(2)一个全角认作2位长度。2. varchar2()类型:(1) 不足数据库规定长度,不会补足长度。(2) 一个全角认作2位长度。3. nvarchar2()... 阅读全文

posted @ 2010-10-31 11:26 yushff 阅读(602) 评论(0) 推荐(0)