select cometime from files where cometime>'1900-7-23';

[复制链接]
查看11 | 回复2 | 2008-7-8 15:00:47 | 显示全部楼层 |阅读模式
select cometime from files where cometime>'1900-7-23';
报错:文字与格式字符串不匹配请高手到。。。。。。。

回复

使用道具 举报

千问 | 2008-7-8 15:00:47 | 显示全部楼层
cometime字段里的格式和你输入的'1900-7-23'不匹配吧
回复

使用道具 举报

千问 | 2008-7-8 15:00:47 | 显示全部楼层
数据库要是SQLSERVER查询式:slq="select cometime from files where > '1900-7-23'"数据库是ACCESS的查询式:sql="select cometime from files where > "1900-7-23""试一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行