What does prompt,set feedback in Oracle Export data mean?

Source: Internet
Author: User

Export the data in the database as an SQL statement:

Prompt importingTableOutpadm. CCPC_STROKE_CCPCNCZHZSCPGB ...SetFeedbackoffSetDefineoffInsert  into Outpadm. CCPC_STROKE_CCPCNCZHZSCPGB (master_patient_id, Master_bring_count, Master_ccpc_type, JLSJ, AGEREGION, RDB_SCPG_MRS, Fm_gxy, Peiou_gxy, Xdjm_gxy, Zn_gxy, FM_TNB, PEIOU_TNB, XDJM_TNB, ZN_TNB, Fm_gxz, Peiou_gxz, Xdjm_gxz, ZN_GXZ, FM_XZJB, PE IOU_XZJB, XDJM_XZJB, ZN_XZJB, Fm_jdmxz, Peiou_jdmxz, Xdjm_jdmxz, Zn_jdmxz, Fm_xy, Peiou_xy, Xdjm_xy, ZN_XY, FM_DQMZZZ, PEI Ou_dqmzzz, Xdjm_dqmzzz, zn_dqmzzz, Hz_jy_bool, Js_jy_bool, Hj_jy_bool, Jy_bsd_bxjy, JY_BSD_BZCYHC, JY_BSD_BZRHJY, JY_ Bsd_rygmxy, Hz_ys_bool, Js_ys_bool, Hj_ys_bool, Ys_bsd_bljyszzy, Ys_bsd_ws, Ys_bsd_wfzjzbys, HZ_YD_BOOL, JS_YD_BOOL, HJ _yd_bool, Yd_bsd_bxyd, YD_BSD_WC, Yd_bsd_bzrhyd, Yd_bsd_myyd, Hzys_status, Ys_bsys, Ys_lzys, YS_BLZYS, YS_PS, YS_DYDZYS, Ys_tnbys, YS_HYGGYSWT, YS_GWXYZYSWJXGWT, Shhl_bool, SHHL_BSDYY_WASFSPB, shhl_bsdyy_kqhlwls, SHHL_BSDYY_FSDDZC, SHHL_ BSDYY_QTRHYYZGBZDZDWT, Jsxl_bool, Jsxl_bsdyy_ybhxw, JSXL_BSDYY_YYHGT, JSXL_BSDYY_SWZC, JSXL_BSDYY_QXYC, JTZC_BOOL, Jtzc_bsdyy_wzgz, Jtzc_bsdyy_yzgzdbnsrzggz,JTZC_BSDYY_YJTWT, Jtzc_bsdyy_jszgyyd, Gagls, TBSJ) Values('123456',1,'Stroke', To_date ('19-09-2016','dd-mm-yyyy'),'cy70',1,'is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','is a','don't want to quit','do not know the harm of smoking','I don't know how to quit smoking','ruyi Buy Cigarettes','Patient Diet','Family Diet','Environmental Food','not knowing the value of diet is important','PU Food','unable to prepare their own diet','Patient Movement','Family Movement','Environmental Movement','don't want to exercise','Bed','I don't know how to exercise','No, no movement .','Patient awareness is clear','Nasal Feeding Diet','Liquid Diet','semi-liquid diet','PU Food','Low-salt low-fat diet','Diabetic Diet','Have a tube-and-tube diet problem','high risk factor diet non-sex related problems','Life Care Appropriate','to roll back on time','Oral care for the implementation','Fall in a falling bed','any other hesitation caused by the problem of neglect','Mental Psychology','Instrumentation and Behavior','Language and communication','normal thinking .','emotional abnormalities','Family Support','no care.','with care, but.','have a family problem','Low Family Care willingness','Case Management Division', To_date ('20-09-2016','dd-mm-yyyy') );p rompt done.
View Code

---------------------------
prompt
Display the following prompt, equivalent to the general operating system command echo, output the following information importing table T_test
Set Feedback off

1. Set Feedback

There are three ways of doing this:

Set feedback on

Set Feedback off

Set Feedback n

By default, when a SQL is issued, Oracle gives a feedback, such as when creating a table, if successful, the command line returns a similar:table created feedback, or when a PL/SQL succeeds, the command line returns:pl/ SQL procedure successfully completed . When running many statements in a script, feedback is generally set to off.

Set Feedback N: When an SQL statement returns n or more than n rows of records, there will be feedback, for example: Set feedback 5, when the return record equals or more than 5 rows will have a similar 8 rows selected. Feedback. If the return row is less than 5, there is no feedback.

Set Define Off

The default "&" in Sql*plus represents an alternative variable, that is, Sql*plus will ask you to enter an alternate value whenever the symbol appears in the command. This means that you cannot enter a string containing the symbol into a database or assign to a variable, such as the string "Sql&plus" system will be understood as a string beginning with "SQL", it will prompt you to enter the value of the alternative variable Plus, if you enter ABC, then the final string into " Sqlabc ".
Set define off this function, "&" as a normal character, as in the above example, the final character is "Sql&plus"

Set define off override variable function
Set define on to open alternate variable function
Set define $ (not alphanumeric and whitespace) will override the default variable marker & for "$" the original & flag will be inserted as a normal character, and the following character will be a variable that will prompt you for input.

What does prompt,set feedback in Oracle Export data mean?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.