[VB.NET]oracle中date字段如何查询
2008-12-29 11:00
537 查看
<script type="text/javascript"><!--
google_ad_client = "pub-8333940862668978";
/* 728x90, 创建于 08-11-30 */
google_ad_slot = "4485230109";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
oracle中date字段如何查询
oralce数据库中的一个表,其中一个字段类型是date类型,在vb。net中如何用sql语句查询某一些日期的数据
例如sqlselectcommand.commandtext= select * from tablename where dateitem > ,后面应该怎么加?
__________________________________________________________________________
select * from tablename where dateitem > 2007-04-10
__________________________________________________________________________
或者这样:
sqlselectcommand.commandtext= select * from tablename where dateitem > ‘ +变量+“’”
__________________________________________________________________________
oracle数据库 那时间数据 不应该那样写 之前要进行类型转化
__________________________________________________________________________
看下 感觉楼上两位的写法应该不行 楼主试了 好不用不?》
__________________________________________________________________________
相关文章推荐
- 如何定义Oracle外部表中的DATE类型字段? (AnySQL.net)
- 如何定义Oracle外部表中的DATE类型字段? (AnySQL.net)
- 如何在Oracle中查询Date类型字段的数据
- Oracle查询date类型字段
- 如何查询Oracle,Sql Server,MySQL 中的数据库名称、数据表名称、字段名称
- 如何将oracle date类型的字段,显示为格式 yyyy-mm-dd hh:mm:ss
- [VB.NET]如何获取某个字段 数据的种类(ADO.NET+ACCESS)
- Oracle中如何查询CLOB字段类型的内容
- Oracle中如何查询CLOB字段类型的内容
- 如何向 Oracle 表中的 Date 字段插入日期及时间
- 在vb.net中如何判断字段为null
- [VB.NET]求助!如何判断数据库里某个字段是否为空!~~~
- ORACLE中如何查询“表”的主键字段?
- 如何向 Oracle 表中的 Date 字段插入日期及时间
- 在vb.net中如何判断字段为null
- 如何oracle 某一用户授予查询另一个用户某张表的权限,以及更新另一用户表中某些字段
- (转载)VB 查询Oracle中blob类型字段,并且把blob中的图片以流的方式显示在Image上
- [VB.NET]如何向数据库字段中写入文件?
- [VB.NET]在vb.net中如何获取sql数据库中表的字段数?
- oracle如何通过sql查询VARCHAR2字段含有的单引号?