Êý¾Ý±íday_energyµ±Ç°ÎªÔ·ÖÇø±í£¬·ÖÇøÐÅÏ¢ÈçÏ£ºDE_200912,DE_201001,DE_201002.....,Ô·ÖÇø±í³öÏÖËٶȲéѯÂý£¬Òò´Ëͨ¹ý½¨Á¢ÈÕ·ÖÇø±í½øÐиÄÉÆ¡£
²ð·ÖÔ·ÖÇø±íµÄÓï¾äΪ£º
alter table day_energy split partition de_201001 at('20100102') into (partition de_20100101,partition de_20100102)
·ÖÎö£º
alter table ±íÃû split partition ·ÖÇøÃû at (·Ö¸îÈÕÆÚ) into (зÖÇø1£¬Ð·ÖÇø2)£»
Èç¹û¼òµ¥µÄ·ÖÇø1¸öÔÂµÄ±í£¬±È½Ï¼òµ¥£¬µ«ÊÇÈç¹ûÒª²ð·ÖÒ»ÄêµÄ±í£¬ÄǾÍÌ«¸´ÔÓÁË¡£ÎªÁ˼òµ¥ÊµÏÖËùÒÔ¾Íͨ¹ýÒÔÏÂÕâ¸ö¹ý³Ì½øÐÐÅúÁ¿²ð·Ö£º
-- czc ²ð·Ö·ÖÇø±í
--½«Ô·ÖÇø±í²ð·Ö³ÉÈÕ·ÖÇø±í
declare
v_tbl varchar2(56);
v_partion varchar2(56);
datetime date;
v_sql varchar2(1024);
v_dt0 varchar2(8);
v_dt1 varchar2(8);
begin
datetime:=to_date('2010-11-1','yyyy-MM-dd');
v_tbl:='day_energy';
while to_char(datetime,'yyyyMMdd')!='20110101' loop
if t ......
ÔÎijö×Ô£ºhttp://tenn.javaeye.com/blog/99339
ÔÚOracle
ÖУ¬Òª°´Ìض¨Ìõ¼þ²éѯǰNÌõ¼Ç¼£¬Óøörownum
¾Í¸ã¶¨ÁË¡£
select * from emp where rownum
<= 5
¶øÇÒÊéÉÏÒ²¸æ½ë£¬²»ÄܶÔrownum
ÓÃ">"£¬ÕâÒ²¾ÍÒâζ×Å£¬Èç¹ûÄãÏëÓÃ
select * from emp where rownum
> 5
ÔòÊÇʧ°ÜµÄ¡£ÒªÖªµÀΪʲô»áʧ°Ü£¬ÔòÐèÒªÁ˽ârownum
±³ºóµÄ»úÖÆ£º
1 Oracle
executes your query.
2 Oracle
fetches the first row and calls it row number 1.
3 Have we gotten past row number meets the criteria? If no, then Oracle
discards the row, If yes, thenOracle
return the row.
4 Oracle
fetches the next row and advances the row number (to 2, and then to 3, and then to 4, and so forth).
5 Go to step 3.
Á˽âÁËÔÀí£¬¾ÍÖªµÀrownum
>²»»á³É¹¦£¬ÒòΪÔÚµÚÈý²½µÄʱºò²éѯ³öµÄÐÐÒѾ±»¶ªÆú£¬µÚËIJ½²é³öÀ´µÄrownum
ÈÔÈ»ÊÇ1,ÕâÑùÓÀÔ¶Ò²²»»á³É¹¦¡£
ͬÑùµÀÀí£¬rownum
Èç¹ûµ¥¶ÀÓÃ=,Ò²Ö»ÓÐÔÚrownum
=1ʱ²ÅÓÐÓá£
¶ÔÓÚrownum
À´ËµËüÊÇora ......
$(function(){
new AjaxUpload('file1', {
action: 'uploadpic.asp',
name: 'form1',
data:{act:'uploadfile',FormName:'form1'},
autoSubmit:false,
responseType:'json',
onSubmit:function(file,ext){
if (!(ext && /^(jpg|png|gif)$/i.test(ext))){
alert('ÇëÄúÉÏ´«jpg|png|gif¸ñʽµÄͼƬ!');
return false;
}
else{
$('#esave').show();
}
},
onComplete:function(file,response){
$('#esave').hide();
$('#pic').val(response.imgfile);
}
});
}); ......
The XHTML Mobile Profile document type is an XHTML document type based upon the module framework and the
modules defined by [XHTMLMod].
The XHTML Mobile Profile document type is defined as a strict superset of [XHTMLBasic]. XHTML Mobile Profile
consists of the XHTML modules specified in this section. All XHTML modules are defined in [XHTMLMod].
xhtml basic
Module
Element
Structure
body, head, html, title
Text
abbr, acronym, address,
blockquote, br, cite, code,
dfn, div, em, h1, h2, h3, h4, h5,
h6, kbd, p, pre, q, samp, span,
strong, var
Hypertext
a
List
dl, dt, dd, ol, ul, li
Basic Forms
form, input, label, select,
option, textarea
Basic Tables
caption, table, td, th, tr
Image
img
Object
object, param
Metainformation
meta
Link
link
Base
base
Additional XHTML Modules
Module
Elements/Attributes
Forms (partial)
fieldset, optgroup
Legacy (partial)
start attribute on ol, value
attribute on l ......
ÔÚÊÖ»úÓ²¼þ¸ßËÙÉý¼¶µÄ½ñÌ죬ԽÀ´Ô½¶àµÄÍøÕ¾ÒѾ´Ó´«Í³µÄwebÕ¾µã·¢Õ¹µ½ÓÚwebºÍwapΪһÌåµÄÈ«·½Î»Õ¾µãÁË¡£¸ù¾Ý×îÐÂͳ¼Æ£¬ÖйúĿǰwap
Óû§×ÜÊýÒѽӽü2ÒÚÈËÁË£¬¾ßÓжÀÁ¢ÓòÃûµÄwapÕ¾µãµÄÊýÁ¿Ô¼Îª50Íò¸ö¡£
ÎÒÃÇÖÚ¶àµÄwapÕ¾³¤½ô½ôµÄץסÁËÕâ¸ö»úÓö£¬ÖÚ¶àµÄwapÕ¾µãÒ²ÓÌÈçÓêºó´ºËñ°ãðÁ˳öÀ´¡£ºÜ¶à¸ÕÈëÐеÄwapÕ¾³¤¾ÍÎÊ£¬Ôõô²ÅÄܰÑwapÕ¾µã×ö
ºÃÄØ£¬ÈçºÎ²ÅÄÜÖªµÀÎÒµÄÕ¾µãµ½µ×Êܲ»ÊÜ´ó¼Ò»¶ÓÄØ¡£ÏÂÃæÎÒ¾ÍËæ±ã˵˵ÎÒµÄÒ»µã¾Ñ飺
Ê×ÏÈ£¬Òª³ÖÐø¸üÐÂÄãµÄwapÍøÕ¾µÄÄÚÈÝ£¬Í¬Ê±Í¨¹ý½»»»ÓÑÇéÁ´½ÓµÄ·½Ê½À´Ôö¼ÓËÑË÷ÒýÇæÊÕ¼µÄ¿ÉÄÜÐÔ¡£¶ÔÓÚÒ»¸öÁ÷Á¿²»´óµÄÐÂÕ¾À´Ëµ£¬µ¼º½
ÍøÕ¾ÄܸøÄã´øÀ´µÄÁ÷Á¿Ô¶Ô¶³¬¹ýËÑË÷ÒýÇæÒÔ¼°ÆäËû·½·¨¡£
̸ÆðÓÑÇéÁ´½Ó£¬×îºÃÄÜÁ´½ÓһЩÁ÷Á¿±È×Ô¼º¸ßµÄ£¬ÓÐÖªÃû¶ÈµÄÍøÕ¾¡£ÔÙ´ÎÊǺÍ×Ô¼ºÄÚÈÝ»¥²¹µÄÍøÕ¾¡£È»ºóÔÙÊÇͬÀàÍøÕ¾£¬Í¬ÀàÍøÕ¾Òª±£Ö¤×Ô
¼ºÍøÕ¾µÄÄÚÈÝÖÊÁ¿ÒªÓÐÌØµã£¬²¢ÇÒ¿ÉÒÔÎüÒýÈË£¬Òª²»È»²»Èç²»Á´Í¬ÀàÍøÕ¾¡£ÍøÕ¾ÒªÇóÃÀ¹Û£¬ÌرðÊÇÉÌÒµÍøÕ¾£¬Ò»¶¨ÒªÊµÓõÚÒ»£¬¼¼ÊõÃÀ¹ÛµÈ´ÎÖ®¡£
Èç¹ûÄã² ......
ÔÚ¡¶Ëû¾ËÍøwapÁ÷Á¿Í³¼Æ·ÖÎöƽ̨¡·¿ª·¢ÖÐΪÁËÌá¸ßϵͳµÄÐÔÄÜ£¬ÎÒÃÇÀûÓÃCacheÀ´±£´æÊý¾Ý£¬ÀýÈç°ÑÓû§µÄһЩȨÏÞÐÅÏ¢·ÅÔÚCacheÖУ¬µ«ÕâÑù×ö»áÓÐЩÎÊÌ⣬ºÎʱÇå³ýCacheÓëÊý¾Ý±£³Öͬ²½£¬ÏÂÃæÎÒÔÚÏîÄ¿ÖÐʹÓÃCacheµÄÐĵã¬Óë´ó¼Ò·ÖÏí¡£
Ò»¡¢ÀûÓÃCacheDependencyÀà
¡¡¡¡ËüÔÚÃüÃû¿Õ¼äSystem.Web.CachingÖС£CacheDependencyÀà»áÓëÎļþÖ®¼ä½¨Á¢ÒÀ¸½ÐÔ¹ØÏµ¡£ÔÚÎļþ¸ü¸Äʱ£¬¸ÃCacheÏî»á×Ô¶¯ÒƳý¡£
·½·¨:
¡¡¡¡°ÑÓû§È¨ÏÞÐÅÏ¢±£Áô³ÉXMLÎļþ£¬µ±¹ÜÀíÔ±¸üÐÂÊý¾Ýʱ£¬Í¬Ê±¸üÐÂÕâ¸öXMLÎļþ¡£
´úÂ룺
//CahceֵΪXMLÎļþÄÚÈÝ
XmlDocument doc = Cache["user"] as XmlDocument;
if (doc == null)
{
doc = new XmlDocument();
string filePath = Server.MapPath("user.xml");
¡¡¡¡//½¨Á¢ÒÀÀµÏî
CacheDependency c = new CacheDependency(filePath);
doc.Load(filePath);
¡¡¡¡//½¨Á¢ÒÀÀµ¹ØÏµ
Cache ......