这很容易——我知道。已经工作了几个小时,用谷歌搜索,没有运气。提前道歉。
出于某种原因,我无法使用 Oracle 中的 column 语句更改列标题。
这是我正在运行的内容:
column clear;
column PeopleSoftTerms.LName HEADING 'PeopleSoft|Last Name';
SELECT PeopleSoftTerms.LName,
PeopleSoftTerms.FName as "PeopleSoft First Name",
TO_CHAR(PeopleSoftTerms.termdate, 'YYYY/MM/DD') as "Termination Date",
PeopleSoftTerms.ticket as "Maximo Ticket",
PeopleSoftTerms.LANID as "ID Listed in PeopleSoft",
Domain.logonid as "Active Directory ID", Domain.DisplayName, Domain.status
FROM PeopleSoftTerms
INNER JOIN Domain ON PeopleSoftTerms.LName = Domain.LName AND
PeopleSoftTerms.FName = Domain.FName;
我在这里不知所措。