Osama Soliman بتاريخ: 27 سبتمبر 2004 تقديم بلاغ مشاركة بتاريخ: 27 سبتمبر 2004 الاخ الاعزاء :السلام عليكم ورحمة الله وبركاتهنحتاج فى كثير من الأحيان خصوصاً عن بدء انشاء النظام أو عند نقله من مكان لاخرالى التعامل مع ملفات الاوامر Scripts وفيما يلى بعض الأوامر للتعامل مع هذه الملفات : Using Script FilesSQL*Plus provides commands to save the SQL buffer to a file, as well as torun SQL statements from a file. SQL statements saved in a file are called ascript file.You can work with script files as follows: To save the SQL buffer to an operating system file, use the commandSAVE filename. If you do not provide an extension, the saved file willhave an extension of .sql. By default, the SAVE command will not overwrite an existing file. Ifyou wish to overwrite an existing file, you need to use the keywordREPLACE. To add the buffer to the end of an existing file, use the SAVE filenameAPPEND command. You can edit the saved file using the EDIT filename command. You can bring the contents of a script file to the SQL buffer using theGET filename command. If you wish to run a script file, use the command START filename.You can also run a script file using @filename. An @@filename used inside a script file looks for the filename in thedirectory where the parent script file is saved and executes it. اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
ألماس بتاريخ: 27 سبتمبر 2004 تقديم بلاغ مشاركة بتاريخ: 27 سبتمبر 2004 الله يجزاك الف خير اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Recommended Posts
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.