×ðÁú¿­Ê±

oracleÔõÑùÉó²é´æ´¢Àú³ÌÄÚÈÝ

ÔÚ oracle Êý¾Ý¿âÖÐÉó²é´æ´¢Àú³ÌµÄÄÚÈÝ£¬¿ÉÒÔͨ¹ý£º1. ÅþÁ¬µ½Êý¾Ý¿â£»2. Ö´ÐÐ select text from user_source where name = ”; ÅÌÎÊ¡£Ê¾Àý£ºÈôÒªÉó²é my_procedure µÄÔ´´úÂ룬ִÐÐ select text from user_source where name = ‘my_procedure’;¡£

ÔõÑùÉó²é Oracle ´æ´¢Àú³ÌµÄÄÚÈÝ

ÔÚ Oracle Êý¾Ý¿âÖÐÉó²é´æ´¢Àú³ÌµÄÄÚÈÝ¿ÉÒÔͨ¹ýÒÔÏ°취£º

ÅþÁ¬µ½Êý¾Ý¿â£ºÊ¹ÓÃÄúϲ»¶µÄ SQL ¿Í»§¶Ë£¬ÀýÈç SQL*Plus¡¢Oracle SQL Developer »ò DBeaver£¬ÅþÁ¬µ½ÒªÉó²é´æ´¢Àú³ÌµÄÊý¾Ý¿â¡£

»ñÈ¡´æ´¢Àú³ÌµÄÔ´´úÂ룺ִÐÐÒÔÏÂÅÌÎÊÒÔ»ñÈ¡´æ´¢Àú³ÌµÄÔ´´úÂ룺

SELECT text
FROM user_source
WHERE name = '';

µÇ¼ºó¸´ÖÆ

ÆäÖÐÊÇÄúÒªÉó²éÔ´´úÂëµÄ´æ´¢Àú³ÌµÄÃû³Æ¡£

¼ì²éÊä³ö£ºÅÌÎÊЧ¹û½«ÏÔʾ´æ´¢Àú³ÌµÄÔ´´úÂë¡£

ʾÀý

ÀýÈ磬ҪÉó²éÃûΪ my_procedure µÄ´æ´¢Àú³ÌµÄÔ´´úÂ룬ÇëÖ´ÐÐÒÔÏÂÅÌÎÊ£º

SELECT text
FROM user_source
WHERE name = 'my_procedure';

µÇ¼ºó¸´ÖÆ

Õ⽫·µ»Ø my_procedure ´æ´¢Àú³ÌµÄÔ´´úÂ룬ÆäÖаüÀ¨½¨Éè´æ´¢Àú³ÌµÄ SQL Óï¾ä¡£

ÒÔÉϾÍÊÇoracleÔõÑùÉó²é´æ´¢Àú³ÌÄÚÈݵÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±ÊµÊ±ÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
¡¾ÍøÕ¾µØͼ¡¿¡¾sitemap¡¿