- Where Developers Learn, Share, & Build Careers


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 12 जवाब

    नीचे दिया गया एक स्क्रिप्ट है एक्स आउटपुट की संख्या:

      #! / Bin / bash instant_client = "/ root / ora_client / instantclient_11_2" आउटपुट = '$ instant_client / sqlplus -s HRUSER / HRUSER @ TOMLWF & lt; & lt; EOF सेट लाइन से सेट फीडबैक सेट करें 10000 सेट पेजेज़ 10000 चयन गिनती (1) ऑनबोर्डिंग कैंडिडेट्स से, उम्मीदवार सी में जहां o.candidateid = c.candidateid और o.JOININGSTATUS = '0091' और to_date (o.joiningdate) = to_date (sysdate) 5); EOF exit` echo $ आउटपुट आउटपुट: cand1 cand2 cand3 cand62   

    अपेक्षित आउटपुट:

      cand1, cand2, cand3, cand62    

    यदि आपको रिक्त स्थान की आवश्यकता नहीं है:

      ... | पेस्ट-डी, -स -   

    यदि आपको रिक्त स्थान की आवश्यकता है:

      ... | पेस्ट-डी, -स - | Sed 's /, /, / g'    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -