[ת]Oracle,sql serverµÄ¿ÕÖµ(null)ÅжÏ
sql server
Ìæ»»null:isnull(arg,value)
Èç:select isnull(price,0.0) from orders ,Èç¹ûpriceΪnullµÄ»°£¬ÓÃ0.0Ìæ»»
Óënull±È½Ï: is not null£¬is null
Èç select * from orders where price is null ,priceµÈÓÚnull
Èç: select * from orders where price is not null , price²»µÈÓÚnull
Oracle
Ìæ»»null: nvl(arg,value)
Èç: select nvl(price,0.0) form orders
Óënull±È½Ï: is not null£¬is null
Èç select * from orders where price is null ,priceµÈÓÚnull
Èç: select * from orders where price is not null , price²»µÈÓÚnull
Ïà¹ØÎĵµ£º
SVRMGR> select * from dba_jobs;
³õʼ»¯Ïà¹Ø²ÎÊýjob_queue_processes
alter system set job_queue_processes=39 scope=spfile;//×î´óÖµ²»Äܳ¬¹ý1000 ;job_queue_interval = 10 //µ÷¶È×÷ҵˢÐÂÆµÂÊÃëΪµ¥Î»
DBA_JOBS describes all jobs in the database.
USER_JOBS describes all jobs owned by the c ......
ʹÓÃÊý¾Ý¿âÊÓͼͨ³£³öÓÚÒÔÏÂÁ½¸öÄ¿µÄ£º1¡£½µµÍ²Ù×÷¸´ÔÓ¶È£»ÊÓͼÊÇÔ¤±àÒëµÄ²éѯ²Ù×÷£¬Ò»´Î¶¨Ò壬֮ºó¿É¿ìËÙµ÷Óã»2¡£Ìá¸ßϵͳ°²È«¡£ÊÓͼ×÷ΪÊý¾Ý¿â¶ÔÏ󣬿ÉÒÔ½«ÆäȨÏÞ¶ÀÁ¢³öÀ´¸³¸øÓû§£¬¿É±ÜÃâÓû§¶Ô»ù±íµÄäĿΣÏÕ²Ù×÷£¬Í¬Ê±Ò²¿ÉÆÁ±ÎÒ»²¿·Ö˽ÃܵÄÊôÐÔÁС£
¶¨ÒåÓï¾ä£º
CREATE
[OR REPLACE
]
[FORCE
|NOFORCE
......
µ±ÔËÐÐsqlplus.shµÄʱºò±¨³ö£º
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found
ºÜÆæ¹Ö
nls_lang.shµÄ114ÐÐǰºóÊÇÕâÑùµÄ
if [[ -n "$LC_ALL" ]]; then
locale=$LC_ALL
elif [[ -n "$LANG" ]]; then
locale=$LANG
else
locale=
fi
[[ÓдíÎ󣿲»¿ ......