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.
我编写了以下 SQL 查询以使字段长度为 40,
但我收到一个错误
to_char('IST'||' '||to_char(to_date(sysdate), 'mmyyyy'),40) des
使用 RPAD 功能:
RPAD('IST'||' '||to_char(to_date(sysdate), 'mmyyyy'),40)