0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Access/SQL INT/日付データの小数点を切り捨てる

Posted at

INT/日付データの小数点を切り捨てる

日付データの小数点(時間の部分)を切り捨て日付のみにする
INT(カラム)

qiita.rb
SELECT カラム1, IIf(([日付カラム1])='',Null,CDate(([日付カラム1]))) As Expr1, IIf(([日付カラム2])='',Null,CDate(INT([日付カラム2]))) As Expr2

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?