คำถามติดแท็ก oracle-database

3
Shell Script - ข้อผิดพลาดทางไวยากรณ์ใกล้โทเค็น `else 'ที่ไม่คาดคิด
ด้วยเชลล์สคริปต์ต่อไปนี้ทำไมฉันถึงได้รับข้อผิดพลาด syntax error near unexpected token `else' เชลล์สคริปต์ echo "please enter username" read user_name echo "please enter password" read -s pass echo ${ORACLE_SID} SID=${ORACLE_SID} if ["${ORACLE_SID}" != 'Test'] then sqlplus -s -l $USER_NAME/$PASS@$SID <<EOF copy from scott/tiger@orcl insert EMP using select * from EMP exit EOF else echo "Cannot copy" …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.