เลยเอามาลงไว้เผื่อช่วยคนอื่นไม่ัมั้ง
ปกติิเมื่อเราใช้ command db2look แล้ว redirect output ที่ได้ไปเก็บไว้ใน file
เราก็จะได้ DDL file (Data Definition Language) ขึ้นมา แล้วตอนเอากลับมารันล่ะ
ทำไง
เราสามารถใช้ command
db2 -tvf
เพื่อ execute DDL file หรือ sql file ได้ครับ
No comments:
Post a Comment