摘要: 在用NHibernate1.2.0.GA版本中自带的NHibernate.Examples-2.0下的QuickStart测试连接Oracle数据库时,一直提示:System.Data.OracleClient.OracleException : ORA-12704: character set mismatch,但如果改成连接SqlServer数据库,一切OK。阅读全文
posted @ 2007-07-30 17:23 FrankFei 阅读(900) 评论(1) 编辑
|
|||
|
摘要: 在用NHibernate1.2.0.GA版本中自带的NHibernate.Examples-2.0下的QuickStart测试连接Oracle数据库时,一直提示:System.Data.OracleClient.OracleException : ORA-12704: character set mismatch,但如果改成连接SqlServer数据库,一切OK。阅读全文 posted @ 2007-07-30 17:23 FrankFei 阅读(900) 评论(1) 编辑 摘要: 最近在工作中使用到了GridView这个控件,很好用,可当绑定数据量较大时,就会有性能问题,经过分析,找到了一种可以解决这个问题的方法,其实质是下面的SQL(Oracle)语句:
select a.*
from (select rownum as row_id, b.*
from (select * from table_name order by column_name asc) b) a
where a.row_id between record_begin_index and record_end_index
阅读全文 posted @ 2007-07-30 16:45 FrankFei 阅读(1460) 评论(2) 编辑 |
|||