Store
이 스크립트 함수는
Syntax:
Store [ fieldlist from] table into filename [ format-spec ];
이 문은 명시적으로 명명된
또한 이 문은 하나의 데이터 테이블에서만 필드를 내보낼 수 있습니다. 여러 테이블의 필드를 내보내는 경우 내보낼 데이터 테이블을 만들려면 스크립트에서 미리 명시적
텍스트 값은
Arguments:
인수 | 설명 |
---|---|
fieldlist::= ( * | field ) { , field } ) | 선택할 필드의 목록입니다. 필드 목록에 *를 사용하면 모든 필드를 지정할 수 있습니다. field::= fieldname [as aliasname ] fieldname은 table의 필드 이름과 동일한 텍스트입니다. (필드 이름에 공백 또는 기타 비표준 문자가 포함된 경우 큰따옴표 또는 대괄호로 묶어야 합니다.) aliasname은 생성된 |
table | 데이터 소스로 사용하기 위해 이미 로드된 테이블을 나타내는 스크립트 레이블입니다. |
filename | 기존 폴더 데이터 연결에 대한 유효한 경로가 포함된 대상 파일의 이름입니다. Windows Example: 'lib://Table Files/target.qvd' 레거시 스크립팅 모드에서는 다음 경로 형식도 지원됩니다.
Kubernetes Example: [lib://MyDataFiles/xyz.qvd] |
서식 사양은 텍스트 파일의 경우 txt, qvd 파일의 경우 |
Windows
Examples:
Store mytable into xyz.qvd (qvd);
Store * from mytable into 'lib://FolderConnection/myfile.qvd';
Store Name, RegNo from mytable into xyz.qvd;
Store Name as a, RegNo as b from mytable into 'lib://FolderConnection/myfile.qvd';
store mytable into myfile.txt (txt);
store * from mytable into 'lib://FolderConnection/myfile.qvd';
Kubernetes
Examples:
Store mytable into [lib://MyDataFiles/xyz.qvd];
Store * from mytable into [lib://MyDataFiles/myfile.qvd];
Store Name, RegNo from mytable into [lib://MyDataFiles/xyz.qvd];
Store Name as a, RegNo as b from mytable into [lib://MyDataFiles/myfile.qvd];
store mytable into [lib://MyDataFiles/myfile.txt];
store * from mytable into [lib://MyDataFiles/myfile.csv];