postgres=# CREATE TABLE "PeisInterfaceLog" (
postgres(# "PeisInterfaceLogId" text,
postgres(# "PeisDepartmentId" text,
postgres(# "PeisDepartmentName" text,
postgres(# "PeisInterfaceSubjectType" text,
postgres(# "PeisInterfaceSubjectId" text,
postgres(# "PeisInterfaceNo" text,
postgres(# "PeisInterfaceName" text,
postgres(# "PeisInterfaceDirection" text,
postgres(# "PeisInterfaceCallAddress" text,
postgres(# "PeisInterfaceLogStartTime" timestamp ,
postgres(# "PeisInterfaceInputContent" json,
postgres(# "PeisInterfaceInputTranscodeContent" json,
postgres(# "PeisInterfaceOutContent" json,
postgres(# "PeisInterfaceOutTranscodeContent" json,
postgres(# "PeisInterfaceSuccessSign" int4,
postgres(# "PeisInterfaceLogStatusCode" text,
postgres(# "PeisInterfaceLogNote" text,
postgres(# "PeisInterfaceLogTimestamp" timestamp ,
postgres(# "PeisInterfaceLogInfo" text,
postgres(# "PeisPatientRegisterId" text
postgres(# );
CREATE TABLE
postgres=# \i /postgres/COPY/public_copy.sql
SET
COPY 722957
postgres=# select count (1) from "PeisInterfaceLog" ;
count
--------
722957
(1 row)
|