锘??xml version="1.0" encoding="utf-8" standalone="yes"?>97成人在线,国产激情一区二区三区四区,91精品国产91久久久久久最新毛片http://www.aygfsteel.com/buaalijie/archive/2006/05/04/44557.html鍠滄?zhèn)﹀ぉ澶╂敹鑾?/dc:creator>鍠滄?zhèn)﹀ぉ澶╂敹鑾?/author>Thu, 04 May 2006 13:45:00 GMThttp://www.aygfsteel.com/buaalijie/archive/2006/05/04/44557.htmlhttp://www.aygfsteel.com/buaalijie/comments/44557.htmlhttp://www.aygfsteel.com/buaalijie/archive/2006/05/04/44557.html#Feedback0http://www.aygfsteel.com/buaalijie/comments/commentRss/44557.htmlhttp://www.aygfsteel.com/buaalijie/services/trackbacks/44557.html緋葷粺鐜錛?
1銆佹搷浣滅郴緇燂細(xì)Windows 2000
2銆佹暟鎹簱錛氥Oracle 8i R2 (8.1.6) for NT 浼佷笟鐗?br />3銆佸畨瑁呰礬寰勶細(xì)C:\ORACLE

璇存槑錛?

榛樿瀹夎瀹孫racle鍚庯紝鍒濆鑰呭簲璇ヤ簡瑙g殑涓浜汼QL璇彞

1銆佽繛鎺?br />SQL*Plus system/manager

2銆佹樉紺哄綋鍓嶈繛鎺ョ敤鎴?br />SQL> show user

3銆佹煡鐪嬬郴緇熸嫢鏈夊摢浜涚敤鎴?br />SQL> select * from all_users;

4銆佹柊寤虹敤鎴峰茍鎺堟潈
SQL> create user a identified by a;錛堥粯璁ゅ緩鍦⊿YSTEM琛ㄧ┖闂翠笅錛?br />SQL> grant connect,resource to a;

5銆佽繛鎺ュ埌鏂扮敤鎴?br />SQL> conn a/a

6銆佹煡璇㈠綋鍓嶇敤鎴蜂笅鎵鏈夊璞?br />SQL> select * from tab;

7銆佸緩绔嬬涓涓〃
SQL> create table a(a number);

8銆佹煡璇㈣〃緇撴瀯
SQL> desc a

9銆佹彃鍏ユ柊璁板綍
SQL> insert into a values(1);

10銆佹煡璇㈣褰?br />SQL> select * from a;

11銆佹洿鏀硅褰?br />SQL> update a set a=2;

12銆佸垹闄よ褰?br />SQL> delete from a;

13銆佸洖婊?br />SQL> roll;
SQL> rollback;

14銆佹彁浜?br />SQL> commit;



杞歡鐜錛?
1銆乄indows 98 絎簩鐗?br />2銆丱racle鏁版嵁搴撶増鏈負(fù)錛歅ersonal Oracle7 Release 7.3.4.0.0
3銆丱racle瀹夎璺緞涓猴細(xì)C:\ORAWIN95

鍛戒護鍒楄〃錛?
鍋囪褰撳墠鎵ц鍛戒護涓猴細(xì)select * from tab;

(a)ppend銆銆銆銆 娣誨姞鏂囨湰鍒扮紦鍐插尯褰撳墠琛屽熬銆銆銆銆a聽 order by tname銆緇撴灉錛歴elect * from tab order by tname;
銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆銆錛堟敞錛歛鍚庨潰璺?涓┖鏍鹼級
(c)hange/old/new 鍦ㄥ綋鍓嶈鐢ㄦ柊鐨勬枃鏈浛鎹㈡棫鐨勬枃鏈c/*/tname銆銆銆銆銆緇撴灉錛歴elect tname from tab;
(c)hange/text銆銆浠庡綋鍓嶈鍒犻櫎鏂囨湰銆銆銆銆銆銆銆銆c/tab銆銆銆銆銆銆銆緇撴灉錛歴elect tname from ;
del銆銆銆銆銆銆銆鍒犻櫎褰撳墠琛?br />del n銆銆銆銆銆銆鍒犻櫎絎琻琛?br />(i)nput 鏂囨湰銆銆 鍦ㄥ綋鍓嶈涔嬪悗娣誨姞涓琛?br />(l)ist銆銆銆銆銆 鏄劇ず緙撳啿鍖轟腑鎵鏈夎
(l)ist n銆銆銆銆 鏄劇ず緙撳啿鍖轟腑絎?n 琛?br />(l)ist m n銆銆銆 鏄劇ず緙撳啿鍖轟腑 m 鍒?n 琛?br />run銆銆銆銆銆銆銆鎵ц褰撳墠緙撳啿鍖虹殑鍛戒護
/銆銆銆銆銆銆銆銆鎵ц褰撳墠緙撳啿鍖虹殑鍛戒護
r銆銆銆銆銆銆銆銆鎵ц褰撳墠緙撳啿鍖虹殑鍛戒護
@鏂囦歡鍚嶃銆銆銆銆榪愯璋冨叆鍐呭瓨鐨剆ql鏂囦歡錛屽錛?/p>

SQL> edit s<鍥炶濺>
濡傛灉褰撳墠鐩綍涓嬩笉瀛樺湪s.sql鏂囦歡錛屽垯緋葷粺鑷姩鐢熸垚s.sql鏂囦歡錛?br />鍦ㄥ叾涓緭鍏モ渟elect * from tab;鈥濓紝瀛樼洏閫鍑恒?/p>

SQL> @s<鍥炶濺>
緋葷粺浼?xì)鑷姩鏌ヨ褰撳墠鐢ㄦ埛涓嬬殑鎵鏈夎〃銆佽鍥俱佸悓涔夎瘝銆?/p>

@@鏂囦歡鍚嶃銆銆銆 鍦?sql鏂囦歡涓皟鐢ㄤ護涓涓?sql鏂囦歡鏃朵嬌鐢?/p>

save 鏂囦歡鍚嶃銆銆灝嗙紦鍐插尯鐨勫懡浠や互鏂囦歡鏂瑰紡瀛樼洏錛岀己鐪佹枃浠舵墿灞曞悕涓?sql
get 鏂囦歡鍚嶃銆銆 璋冨叆瀛樼洏鐨剆ql鏂囦歡
start 鏂囦歡鍚嶃銆 榪愯璋冨叆鍐呭瓨鐨剆ql鏂囦歡

spool 鏂囦歡鍚嶃銆 鎶婅繖涔嬪悗鐨勫悇縐嶆搷浣滃強鎵ц緇撴灉鈥滃亣鑴辨満鈥濆嵆瀛樼洏鍒扮鐩樻枃浠朵笂錛岄粯璁ゆ枃浠舵墿灞曞悕涓?lst
spool銆銆銆銆銆銆鏄劇ず褰撳墠鐨勨滃亣鑴辨満鈥濈姸鎬?br />spool off銆銆銆銆鍋滄杈撳嚭

渚嬶細(xì)
SQL> spool a
SQL> spool
姝e亣鑴辨満鍒?A.LST
SQL> spool off
SQL> spool
褰撳墠鏃犲亣鑴辨満


exit銆銆銆銆銆銆 閫鍑篠QL*PLUS
desc 琛ㄥ悕銆銆銆銆鏄劇ず琛ㄧ殑緇撴瀯
show user銆銆銆銆鏄劇ず褰撳墠榪炴帴鐢ㄦ埛
show error銆銆銆 鏄劇ず閿欒
show all銆銆銆銆 鏄劇ず鎵鏈?8涓郴緇熷彉閲忓?br />edit銆銆銆銆銆銆 鎵撳紑榛樿緙栬緫鍣紝W(xué)indows緋葷粺涓粯璁ゆ槸notepad.exe錛屾妸緙撳啿鍖轟腑鏈鍚庝竴鏉QL璇彞璋冨叆afiedt.buf鏂囦歡涓繘琛岀紪杈?br />edit 鏂囦歡鍚嶃銆銆鎶婂綋鍓嶇洰褰曚腑鎸囧畾鐨?sql鏂囦歡璋冨叆緙栬緫鍣ㄨ繘琛岀紪杈?/p>

clear screen銆銆 娓呯┖褰撳墠灞忓箷鏄劇ず



]]>
Java榪炴帴鏁版嵁搴撳疄渚?杞創(chuàng))http://www.aygfsteel.com/buaalijie/archive/2006/05/04/44545.html鍠滄?zhèn)﹀ぉ澶╂敹鑾?/dc:creator>鍠滄?zhèn)﹀ぉ澶╂敹鑾?/author>Thu, 04 May 2006 09:50:00 GMThttp://www.aygfsteel.com/buaalijie/archive/2006/05/04/44545.htmlhttp://www.aygfsteel.com/buaalijie/comments/44545.htmlhttp://www.aygfsteel.com/buaalijie/archive/2006/05/04/44545.html#Feedback0http://www.aygfsteel.com/buaalijie/comments/commentRss/44545.htmlhttp://www.aygfsteel.com/buaalijie/services/trackbacks/44545.htmlJava榪炴帴鏁版嵁搴撳疄渚?br />

姝ゆ枃涓殑浠g爜涓昏鍒楀嚭榪炴帴鏁版嵁搴撶殑鍏抽敭浠g爜錛屽叾浠栬闂暟鎹簱浠g爜鐪佺暐

1銆丱racle8/8i/9i鏁版嵁搴擄紙thin妯″紡錛?
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url="jdbc:oracle:thin:@localhost:1521:orcl";
//orcl涓烘暟鎹簱鐨凷ID
String user="test";
String password="test";
Connection conn= DriverManager.getConnection(url,user,password);

2銆丏B2鏁版嵁搴?
Class.forName("com.ibm.db2.jdbc.app.DB2Driver ").newInstance();
String url="jdbc:db2://localhost:5000/sample";
//sample涓轟綘鐨勬暟鎹簱鍚?
String user="admin";
String password="";
Connection conn= DriverManager.getConnection(url,user,password);

3銆丼ql Server7.0/2000鏁版嵁搴?
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
String url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=mydb";
//mydb涓烘暟鎹簱
String user="sa";
String password="";
Connection conn= DriverManager.getConnection(url,user,password);

4銆丼ybase鏁版嵁搴?
Class.forName("com.sybase.jdbc.SybDriver").newInstance();
String url =" jdbc:sybase:Tds:localhost:5007/myDB";
//myDB涓轟綘鐨勬暟鎹簱鍚?
Properties sysProps = System.getProperties();
SysProps.put("user","userid");
SysProps.put("password","user_password");
Connection conn= DriverManager.getConnection(url, SysProps);

5銆両nformix鏁版嵁搴?
Class.forName("com.informix.jdbc.IfxDriver").newInstance();
String url =
"jdbc:informix-sqli://123.45.67.89:1533/myDB:INFORMIXSERVER=myserver;
user=testuser;password=testpassword";
//myDB涓烘暟鎹簱鍚?
Connection conn= DriverManager.getConnection(url);

6銆丮ySQL鏁版嵁搴?
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
String url ="jdbc:mysql://localhost/myDB?user=soft&password=soft1234&useUnicode=true&characterEncoding=8859_1"
//myDB涓烘暟鎹簱鍚?
Connection conn= DriverManager.getConnection(url);

7銆丳ostgreSQL鏁版嵁搴?
Class.forName("org.postgresql.Driver").newInstance();
String url ="jdbc:postgresql://localhost/myDB"
//myDB涓烘暟鎹簱鍚?
String user="myuser";
String password="mypassword";
Connection conn= DriverManager.getConnection(url,user,password);


]]>
JDK鍙妕omcat鐨勫畨瑁呭強閰嶇疆銆傘傝瀹屽悗鍐欎笅銆?/title><link>http://www.aygfsteel.com/buaalijie/archive/2006/03/29/38104.html</link><dc:creator>鍠滄?zhèn)﹀ぉ澶╂敹鑾?/dc:creator><author>鍠滄?zhèn)﹀ぉ澶╂敹鑾?/author><pubDate>Wed, 29 Mar 2006 10:07:00 GMT</pubDate><guid>http://www.aygfsteel.com/buaalijie/archive/2006/03/29/38104.html</guid><wfw:comment>http://www.aygfsteel.com/buaalijie/comments/38104.html</wfw:comment><comments>http://www.aygfsteel.com/buaalijie/archive/2006/03/29/38104.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/buaalijie/comments/commentRss/38104.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/buaalijie/services/trackbacks/38104.html</trackback:ping><description><![CDATA[ <p>棣栧厛瀹夎JDK1.5<br />鐒跺悗鍙抽敭鈥滄垜鐨勭數(shù)鑴戔濃滃睘鎬р?br />閫夋嫨 鈥滈珮綰р?br />鐐瑰嚮鈥滅幆澧冨彉閲忊?br />鍦ㄢ滅郴緇熷彉閲忊濅腑淇敼鈥減ath鈥濆彉閲忥紝鍦ㄥ悗闈㈠姞鍏モ?c:/java/bin鈥濆叾涓璫:/java涓轟綘瑁呯殑JDk鐨勮礬寰勩?br />鍦ㄢ滅郴緇熷彉閲忊濅腑娣誨姞鈥淐LASSPATH鈥濆彉閲忥紝鍦ㄥ悗闈㈠姞鍏モ渃:/java/lib/tools.jar;c:/java/lib/dt.jar;.鈥?br />鐒跺悗紜畾銆?br />JDK鐜鍙橀噺璁劇疆瀹?br />鏈鍚庤涓妕omcat</p> <p> <br />鍦╰omcat鐨勫畨瑁呯洰褰曚笅鎵懼埌鈥渃onf鈥濇枃浠跺す銆傛墦寮閲岄潰鐨勬枃浠垛渟erver.XMl鈥濆湪鏂囦歡灝鵑儴鐨?br />鈥?/p> <p>聽聽聽聽聽 </Host></p> <p>聽聽聽 </Engine></p> <p>聽 </Service></p> <p></Server></p> <p>鈥?br />涔嬪墠鍔犲叆涓琛屸?lt;Context path="/web" docBase="web" debug="0" reloadable="true">鈥濅唬鐮?/p> <p>鍏朵腑錛?path=聽 琛ㄧず鏂囦歡鐨剋eb璁塊棶璺緞錛宒ocBase=聽 琛ㄧず緗戠珯鏂囦歡鐨勫瓨鏀捐礬寰勩傚涓婃墍紺鴻〃紺篸ocBase="web"鏄寚瀛樻斁鍦╰omcat瀹夎鐩綍涓嬬殑webapps鐩綍涓嬬殑web鏂囦歡澶逛笅銆傝闂礬寰勬槸<a href="http://localhost:8080/web">http://localhost:8080/web</a></p> <p>濡傛灉浣犵殑緗戠珯鏂囦歡瀛樻斁璺緞涓嶅湪tomcat瀹夎鐩綍涓嬬殑webapps鐩綍涓嬶紝鍒欒鍐欎笂鍏ㄩ儴璺緞錛屼緥濡傦細(xì)鈥渄ocBase="d:/web"鈥?/p> <img src ="http://www.aygfsteel.com/buaalijie/aggbug/38104.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/buaalijie/" target="_blank">鍠滄?zhèn)﹀ぉ澶╂敹鑾?/a> 2006-03-29 18:07 <a href="http://www.aygfsteel.com/buaalijie/archive/2006/03/29/38104.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瀛楃涓插彉澶у啓鎴栧皬鍐欑殑鏂規(guī)硶http://www.aygfsteel.com/buaalijie/archive/2006/03/23/37016.html鍠滄?zhèn)﹀ぉ澶╂敹鑾?/dc:creator>鍠滄?zhèn)﹀ぉ澶╂敹鑾?/author>Thu, 23 Mar 2006 03:55:00 GMThttp://www.aygfsteel.com/buaalijie/archive/2006/03/23/37016.htmlhttp://www.aygfsteel.com/buaalijie/comments/37016.htmlhttp://www.aygfsteel.com/buaalijie/archive/2006/03/23/37016.html#Feedback0http://www.aygfsteel.com/buaalijie/comments/commentRss/37016.htmlhttp://www.aygfsteel.com/buaalijie/services/trackbacks/37016.htmlString text="ABCdef";
text=text.toLowerCase();//瀛楃涓插彉灝忓啓
text=text.toUpperCase();//瀛楃涓插彉澶у啓

瀛楃澶у啓,灝忓啓鐨勬柟娉?
char ch="A";
ch=Character.toLowerCase(ch);//瀛楃鍙樺皬鍐?
ch=Character.toUpperCase(ch);//瀛楃鍙樺ぇ鍐?

boolean b=Character.isLowerCase(ch);//鍒ゆ柇瀛楃ch鏄惁灝忓啓
boolean b=Character.isUpperCase(ch);//鍒ゆ柇瀛楃ch鏄惁澶у啓
boolean b=Character.isLetter(ch);//鍒ゆ柇瀛楃ch鏄惁瀛楃
boolean b=Character.isDigit(ch);//鍒ゆ柇瀛楃ch鏄惁0-9鐨勬暟瀛?


]]>
主站蜘蛛池模板: 宜兰县| 泰和县| 乌兰察布市| 桐梓县| 慈溪市| 大英县| 曲阜市| 凯里市| 彩票| 平凉市| 和静县| 凉山| 玉溪市| 石渠县| 宜昌市| 辽源市| 乌鲁木齐市| 阳城县| 永胜县| 宜黄县| 图木舒克市| 万州区| 盘山县| 都匀市| 阿尔山市| 余江县| 织金县| 建昌县| 河源市| 香港 | 海伦市| 海口市| 太谷县| 深圳市| 石景山区| 新建县| 长垣县| 宜城市| 垫江县| 靖西县| 徐闻县|