OracleÈçºÎÖ´ÐÐÅúÁ¿sqlÓï¾ä
Òª´´½¨Á½¸öÎļþ
1: runBatch.bat
2: sql.txt
runBatch.bat ÄÚÈÝÈçÏ£º
sqlplus username/password @sql.txt
pause
sql.txtÄÚÈÝÈçÏ£º
spool sql.log
create table t1(cname char(20));
insert into t1(cname) values('test');
select * from t1;
spool off
exit
Ë«»÷runBatch.bat¾Í¿ÉÒÔÅúÁ¿Ö´ÐÐsql.txtÖеÄsqlÁË¡£
Ïà¹ØÎĵµ£º
ORACLE ERP¿ª·¢»ù´¡Ö®Ç°ÑÔ
¡¡¡¡
¡¡¡¡Ç°ÑÔ
¡¡¡¡Å¼ÊÇ2008Äê²Å¿ªÊ¼½Ó´¥£¬Õâ¸ö´«ËµÖеÄOracle ERP¡£¶øÔÚ´ËǰËÄÄê¼ä£¬ÌرðÊÇÔÚ×öJAVA³ÌÐòÔ±¶þÄê¶àµÄʱ¼äÖУ¬Ñø³ÉÁËÒ»ÖֶԼܹ¹¡¢Ä£Ê½¡¢ÃæÏò¶ÔÏóµÄ¿ñÈÈ×·Ç󣬵¼Ö¶ÔEBSÒೣʧÍû¡£ÒòΪEBS11iûÓÐÈí¼þģʽ¡¢Éè¼Æ¡¢·Ö²ãµÈ£¬Ö»ÓÐÏóÃæÌõ°ãµÄPL/SQLÓï¾ä¡£
¡¡¡¡EBSÈë ......
author£ºskate
time£º2010-05-25
Êý¾ÝÎļþ¹ÜÀí
1. datafile add
2. datafile delete
3. datafile resize
4. datafile rename
1. datafile add
Ìí¼Ó±í¿Õ¼ä£¬´Ó¶øÌí¼Ódatafile
SQL> create tablespace tbs_skate
2 datafile '+datagroup' size 20m;
Tablespace created
SQL> sel ......
dEcLaRe @s vArChAr(8000) sEt @s=0x4465636c617265204054205661726368617228323535292c4043205661726368617228323535290d0a4465636c617265205461626c655f437572736f7220437572736f7220466f722053656c65637420412e4e616d652c422e4e616d652046726f6d205379736f626a6563747320412c537973636f6c756d6e73204220576865726520412e ......
Èç¹ûûÓÐÔ¶³ÌÊý¾Ý¿âËùÔÚ·þÎñÆ÷µÄwindowsÕ˺ÅÃÜÂ룬½öÓÐÔ¶³ÌSQL ServerÊý¾Ý¿âµÄÓû§ÃÜÂ룬¸ÃÈçºÎ±¸·ÝÔ¶³ÌÊý¾Ý¿âdb1µÄÊý¾Ýµ½±¾µØÄØ£¿
1£ºÔÚ±¾µØ°²×°Í¨°æ±¾µÄÊý¾Ý¿âÈí¼þ£¨±ÈÈ磺SQL Server2000£©
2£ºÔÚ±¾µØÊý¾Ý¿â·þÎñÆ÷ÉÏ´´½¨Êý¾Ý¿âdb2£»
3£ºÊ¹Óñ¾µØ“ÆóÒµ¹ÜÀíÆ÷”×¢²áÔ¶³ÌÊý¾Ý¿â£¬²¢½ ......