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.
我有 2 列在访问中保存为字符串日期 yyyymmdd。我将表链接到 oracle 数据库,需要在插入时隐藏列,使其看起来像 yyyy/mm/dd。
我在尝试:
INSERT INTO TEST (DATE) Values (20110818, To_DATE("YYYY/MM/DD")) FROM TEST_DATE
我想将插入时的整个列从访问转换为 oracle
Try like this
INSERT INTO TEST (DATE) SELECT TO_DATE('20110818','YYYYMMDD') FROM TEST_DATE