Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C#.net(デスクトップアプリ)でodbcを使用して、MS Accessからの日時を「md-yyyy」にフォーマットする必要があります。「テーブルから Format([Date],'Md-yyyy') を選択」が機能しません。
ありがとう、カナヤ
私はこれを単純化しすぎているかもしれませんが:
m-d-yyyy
日/月は最大2桁である可能性があるため、機能しません。必要なものは次のとおりです。
mm-dd-yyyy
試す
Select convert(char, [Date], 101)