desktop_task_schedule/code/db/建表/车非每日保费临时表.sql

19 lines
562 B
MySQL
Raw Permalink Normal View History

2023-05-09 12:24:37 +00:00
drop table <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD>ձ<EFBFBD><EFBFBD><EFBFBD>_T;
create global temporary table <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD>ձ<EFBFBD><EFBFBD><EFBFBD>_T
(
ǩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> DATE not null,
<EFBFBD>·<EFBFBD> VARCHAR2(10) not null,
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> VARCHAR2(100) not null,
<EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD><EFBFBD><EFBFBD> varchar2(100) not null,
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>n VARCHAR2(100) not null,
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>n VARCHAR2(100),
<EFBFBD><EFBFBD>ϯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> VARCHAR2(20),
<EFBFBD><EFBFBD>ϯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> VARCHAR2(30),
<EFBFBD><EFBFBD>ϯ<EFBFBD>Ŷ<EFBFBD> VARCHAR2(100),
<EFBFBD><EFBFBD><EFBFBD>ո<EFBFBD><EFBFBD>˿ͻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> NUMBER(16,2),
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ںϱ<EFBFBD><EFBFBD><EFBFBD> NUMBER(16,2)
)
on commit preserve rows;
-- Grant/Revoke object privileges
grant select, insert, delete, alter on <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD>ձ<EFBFBD><EFBFBD><EFBFBD>_T to DATACENTER;