ä½ å
ççä½ é£ä¸¤ä¸ªå段æ¯dateåè¿æ¯varcharå
dateåçè¯
select discharge_date_time-admission_date_time from transfer
å符åçè¯
select to_date(discharge_date_time,'yyyy-mm-dd')-to_date(admission_date_time,'yyyy-mm-dd') from transfer
åä¸ä¸ªåå¨çæ
åµæ¯ï¼å¦æä½ æ¥æä¸å
å«æ¶åç§ï¼ç»æå¯è½æ¯å°æ°
åä¸ä¸ªçæ
åµæ¯ï¼ä¸»è¦çä½ å符åå¨çæ ¼å¼
å¦ææ¯2013-08-01å°±ç¨ä¸è¾¹çï¼è¦æ¯20130801ï¼é£ä¹yyyy-mm-ddå°±å¾æ¹æyyyymmdd,å¦æ带æ¶é´çè¯é£å°±å¦è¯´å§
温馨提示:内容为网友见解,仅供参考