ºÐ×Ó±êÇ©ºÍÊôÐÔ¶ÔÕÕ
CSSÓï·¨£¨²»Çø·Ö´óСд£© JavaScriptÓï·¨£¨Çø·Ö´óСд£©
border border
border-bottom borderBottom
border-bottom-color borderBottomColor
border-bottom-style borderBottomStyle
border-bottom-width borderBottomWidth
border-color borderColor
border-left borderLeft
border-left ......
ÍøÉÏÕýÔò±í´ïʽµÄ½Ì³Ì¹»¶àÁË£¬µ«ÓÉÓÚjavascriptµÄÀúÊ·±È½ÏÓÆ¾Ã£¬Ò²±È½Ï¹ÅÀÏ£¬Òò´ËÓÐÐí¶àÌØÐÔÊDz»Ö§³ÖµÄ¡£ÎÒÃÇÏÈ´Ó×î¼òµ¥µØËµÆð£¬ÎÄÕÂËùÑÝʾµÄÕýÔò»ù±¾¶¼ÊÇperl·½Ê½¡£
Ôª×Ö·û
( [ { \ ^ $ | ) ? * + .
Ô¤¶¨ÒåµÄÌØÊâ×Ö·û
.table1 {
border:1px solid #666;border-collapse:collapse;width:700px
}
.table1 th ,.table1 td{
border:1px solid #666;
}
×Ö·ûÕýÔòÃèÊö
\t/\t/ÖÆ±í·û
\n/\n/ÖÆ±í·û
\r/\r/»Ø³µ·û
\f/\f/»»Ò³·û
\a/\a/alert×Ö·û
\e/\e/escape×Ö·û
\cX/\cX/ÓëXÏà¶ÔÓ¦µÄ¿ØÖÆ×Ö·û
\b/\b/Óë»ØÍË×Ö·û
\v/\v/´¹Ö±ÖƱí·û
\0/\0/¿Õ×Ö·û
×Ö·ûÀà
¼òµ¥Àà
ÔÔòÉÏÕýÔòµÄÒ»¸ö×Ö·û¶ÔÓ¦Ò»¸ö ......
MySQLµÄID·Ç³£·½±ã¶¨Ò壬ֻҪָ¶¨Æä×ֶεÄ×Ô¶¯ÔöÁ¿ÊôÐÔ¼´¿É¡£
µ«ÊÇOracle²»ÐУ¬ÐèÒª¶¨ÒåsequenceºÍtriggedr£¬µ±È»trigger¿ÉÒÔ²»¶¨Ò壬µ«ÊDz»·½±ã¡£
±í¶¨ÒåÈçÏ£º
CREATE TABLE GAME
(
ID
INTEGER NOT NULL,
GAME_DATE
DATE NOT NULL,
START_TIME DATE,
END_TIME DATE,
GAME_RULE_ID INTEGER
)
ÎÒÏë²åÈëʱ²»±ØÖ¸³öId
INSERT INTO game(game_date, start_time, Game_rule_id)
VALUES (to_date(‘2003/05/03′, ‘yyyy/mm/dd’), to_date(‘21:02:44′,
‘hh24 ......
Oracle µÄ¹ÜÀí¿ÉÒÔͨ¹ýOEM»òÕßÃüÁîÐнӿڡ£ Oracle ClusterwareµÄÃüÁ¿ÉÒÔ·ÖΪÒÔÏÂ4ÖÖ£º
½Úµã²ã£ºosnodes
ÍøÂç²ã£ºoifcfg
¼¯Èº²ã£ºcrsctl, ocrcheck,ocrdump,ocrconfig
Ó¦Óò㣺srvctl,onsctl,crs_stat
ÏÂÃæ·Ö±ðÀ´½éÉÜÕâЩÃüÁî¡£
Ò»£® ½Úµã²ã
Ö»ÓÐÒ»¸öÃüÁ¡¡osnodes£¬ Õâ¸öÃüÁîÓÃÀ´ÏÔʾ¼¯ÈºµãÁÐ±í£¬¿ÉÓõIJÎÊýÈçÏ£¬ÕâЩ²ÎÊý¿ÉÒÔ»ìºÏʹÓá£
[root@raw1 bin]# ./olsnodes --help
Usage: olsnodes [-n] [-p] [-i] [<node> | -l] [-g] [-v]
where
-n print node number with the node name
-p print private interconnect name with the node name
&nbs ......
ORACLE 10 ѧϰ±Ê¼ÇÃüÁîµÚÒ»¿Î¡£
1.
sqlplus /nolog
connect /as sysdba
alter user scott account unlock;
alter user scott identified by manager;
2.
grant select on dept to nmerp;
revoke select on dept to nmerp;
select * from scott.dept
create table abc(a varchar2(10),b char(10));
alter table abc add c number;
3.
select length('abcdef') from dual;
select trim( 'abc' ) from dual;
select substr('abcdefg',2,3) from dual;
4.
sysdate/current_date/next_day
max/min/sum/count/avg
user/decode
5.
select a.dname,b.ename,b.sal,b.comm,b.job
from dept a right join emp b
on a.deptno=b.deptno and a.deptno=10;
6.
select ename,to_char(hiredate,'YYYY-MM-DD') from emp;
7.
select max(sal),min(sal) from emp;
select avg(sal),sum(sal) from emp;
select variance(sal),stddev(sal) from emp; (·½²îºÍ±ê×¼²î)
select deptno,avg(sal),max(sal) from emp group by deptno;
select deptno,job,avg(sal),max(sal) from emp group by deptno,job;
select deptno,avg(sal),max(sal ......
Âß¼ÉÏ£º
Single column µ¥ÐÐË÷Òý
Concatenated ¶àÐÐË÷Òý
Unique ΨһË÷Òý
NonUnique ·ÇΨһË÷Òý
Function-basedº¯ÊýË÷Òý
Domain ÓòË÷Òý
ÎïÀíÉÏ£º
Partitioned ·ÖÇøË÷Òý
NonPartitioned ·Ç·ÖÇøË÷Òý
B-tree£º
Normal Õý³£ÐÍBÊ÷
Rever Key ·´×ªÐÍBÊ÷
Bitmap λͼË÷Òý
Ë÷Òý½á¹¹£º
B-tree£º
ÊʺÏÓë´óÁ¿µÄÔö¡¢É¾¡¢¸Ä£¨OLTP£©£»
²»ÄÜÓðüº¬OR²Ù×÷·ûµÄ²éѯ£»
Êʺϸ߻ùÊýµÄÁУ¨Î¨Ò»Öµ¶à£©
µäÐ͵ÄÊ÷×´½á¹¹£»
ÿ¸ö½áµã¶¼ÊÇÊý¾Ý¿é£»
´ó¶à¶¼ÊÇÎïÀíÉÏÒ»²ã¡¢Á½²ã»òÈý²ã²»¶¨£¬Âß¼ÉÏÈý²ã£»
Ò¶×Ó¿éÊý¾ÝÊÇÅÅÐòµÄ£¬´Ó×óÏòÓÒµÝÔö£»
ÔÚ·ÖÖ§¿éºÍ¸ù¿éÖзŵÄÊÇË÷ÒýµÄ·¶Î§£»
Bitmap:
ÊʺÏÓë¾ö²ßÖ§³Öϵͳ£»
×öUPDATE´ú¼Û·Ç³£¸ß£»
·Ç³£ÊʺÏOR²Ù×÷·ûµÄ²éѯ£»
»ùÊý±È½ÏÉÙµÄʱºò²ÅÄܽ¨Î»Í¼Ë÷Òý£»
Ê÷Ðͽṹ£º
Ë÷ÒýÍ·
¿ªÊ¼ROWID£¬½áÊøROWID£¨ÏÈÁгöË÷ÒýµÄ×î´ó·¶Î§£©
BITMAP
ÿһ¸öBIT¶ÔÓ¦×ÅÒ»¸öROWID£¬ËüµÄÖµÊÇ1»¹ÊÇ0£¬Èç¹ûÊÇ1£¬±íʾ×ÅBIT¶ÔÓ¦µÄROWIDÓÐÖµ£»
B*treeË÷ÒýµÄ»°Í¨³£ÔÚ·ÃÎÊСÊý¾ÝÁ¿µÄÇé¿öϱȽÏÊÊÓ㬱ÈÈçÄã·ÃÎʲ»³¬¹ý±íÖÐÊý¾ÝµÄ5%£¬µ±È»ÕâÖ»ÊǸöÏà¶ÔµÄ±ÈÂÊ£¬ÊÊÓÃÓÚÒ»°ãµÄÇé¿ö¡£bitmapµÄ»°ÔÚÊý¾Ý²Ö¿âÖÐʹÓý϶࣬ÓÃÓڵͻùÊýÁУ¬±ÈÈçÐÔ±ðÖ®ÀàÖØ¸´ÖµºÜ¶àµÄ×ֶΣ¬» ......