For more information about the use of ORACLE time functions (SYSDATE), oraclesysdate
Addition
Select sysdate, add_months (sysdate, 12) from dual; -- add 1 year select sysdate, add_months (sysdate, 1) from dual; -- add January select sysdate, to_char (sysdate + 7, 'yyyy-mm-dd HH24: MI: ss') from dual; -- add select sysdate, to_char (sysdate + 1, 'yyyy-mm-dd HH24: MI: SS ') from dual; -- add 1 day select sys
important way to debug a PHP program is to view log information. If you can easily control the log information level and log information display content, will bring more convenience to the program debugging. The following functions can be easily implemented with this function.
$ss _log_level = 0;
$ss _log_filename =/tmp/ss-log;
$
Written in front of the words: How to understand T-SQL in the merge statement, basically the merge statement to talk about, in the back of the article, thrown a few knots, at that time did not want to understand how to use the text expression, this article to answer a few knot, but also a "unrestrained" text, Let's see.= = = Text Start = =First Look at table one (student_target) and Table II (Student_source) below.First, when matched part Execute the following SQL statement:MERGE into Student_t
How to understand the merge statement in T-SQL (II)Written in front of the words: How to understand T-SQL in the merge statement, basically the merge statement to talk about, in the back of the article, thrown a few knots, at that time did not want to understand how to use the text expression, this article to answer a few knot, but also a "unrestrained" text, Let's see.= = = Text Start = =First Look at table one (student_target) and Table II (Student_source) below.First, when matched part Execu
is None.
key specifies a function of one argument that's used to extract a comparison key from each list element: Key=str.lowe R. The default value is None (compare the elements directly).
Reverse is a Boolean value. If set to True, then the list elements is sorted as if each comparison were reversed.
#String sorting is used in dictionary order, not alphabetical order"""Sorted () sorted by dictionary order"""Lis = [‘A‘,‘C‘,‘Z‘,‘E','T','C','b','A','good','
* dblWidth, 0)) / 12, 2)End If' How far OFF? (would be less THAN 1)Dim Erroramt as Double = 0Erroramt = Dblwidth-z' CALCULATE AMOUNT to TACK ONTO the ORIGINAL AMOUNT to RESULT in the CLOSEST POSSIBLE SETTINGDim Adjamt as Double = 0If (Dblwidth >= (1 + 2/3)) Then adjAmt = (Math.Round(7 * errorAmt - 7 / 256, 0)) / 7Else adjAmt = ((Math.Round(12 * errorAmt - 12 / 256, 0)) / 12) + (2 / 12)End If' RETURN A scaled-value that should RESULT in the NEAREST
default value isNone.
Key specifies a function of one argument that is used to extract a comparison key from each list element:Key = str. lower. The default value isNone(Compare the elements directly ).
Reverse is a boolean value. If setTrue, Then the list elements are sorted as if each comparison were reversed.
# String sorting uses the Lexicographic Order instead of the alphabetic order "" sorted () "" lis = ['A', 'C', 'z ', 'E', 't', 'C', 'B', 'A', 'A', 'good', '
None .
Key specifies a function of one argument that's used to extract a comparison key from each list element: key= Str.lower . The default value is None (compare the elements directly).
Reverse is a Boolean value. If set to True , then the list elements is sorted as if each comparison were reversed.
#字符串排序使用是字典序, rather than alphabetical order "" "sorted () sorted by dictionary order" "" lis = [' A ', ' C ', ' Z ', ' E ', ' T ', ' C ', ' B ', ' A ', ' good ', '
= 0012FAF0
0012F6D8 0012F7E4 | Buffer = 0012F7E4
0012F6DC 0012 FAEC \ pBufSize = 0012 FAEC
0012F6E0 505C3A43
At this time, it is the best time to return to the program's airspace, Alt + F9 returned to the program's airspace.
00472CCC |. 85C0 test eax, eax
Next, F8 goes down in one step.
00472F34 |. 68 94C48200 push dumped.0082C494; ASCII "hello"
00472F39 |. E8 BEA31B00 call dumped.0062D2FC
00472F3E |. 83C4 08 add esp, 8
00472F41 |. FF75 0C push dword ptr s
foreground Process Group
1. view the process status
1.1 Use the ps command
[Root @ localhost] # ps-a-o PID, ppid, stat, command-u Oracle
PID ppid STAT command
637 1 ss oraclexezf (local = No)
729 1 ss oraclexezf (local = No)
1144 1103 S + TOP
1230 1 ss oraclexezf (local = No)
1289 1145 S + vmstat 10
1699 1 ss oraclexe
Spring4.0.6 latest stable version new feature learning, annotation automatic scan bean, automatic injection bean (2)
The new features of Spring4.0 have been introduced in the previous chapter. Including jdk8 support, Groovy Bean Definition DSL support, core container function improvement, Web development improvement, testing framework improvement, and so on. This section describes the automatic scanning function of spring and bean filtering and other features.
Let's look at the code.
Package co
judgment
URL and URI is actually a thing, if we do not mention the URI more, then let's talk about URL processing: If, as we did in the beginning, we manually, or through the regular analysis of each URL, we have to consider the various structure of the URL, such as the following examples:
Path?ss=1#arch
http://freebuf.com/geek
ss=1
path/me
javascript:void (0)
/freebuf.com/s/s/s /
sssfadea://ssss.ss
a = strlen (str); // a = 10; >>>> strlen calculates the length of the string, ending with 0x00 as the string.Int B = sizeof (str); // while B = 20; >>> sizeof calculates the memory space occupied by the allocated array str [20, the stored content is not changed.The above is the result of processing the static array. If it is a pointer, the result will be different.Char * ss = "0123456789 ";Sizeof (ss) Resu
;>> strlen calculates the length of the string, ending with the end character 0x00. Int B = sizeof (STR); // while B = 20; >>> sizeof calculates the memory space occupied by the allocated array STR [20, the stored content is not changed. The above is the result of processing the static array. If it is a pointer, the result is different: char * Ss = "0123456789"; sizeof (SS) result 4:
ss_as_string ($GLOBALS);
3. Functions to control log information
Another important way to debug a PHP program is to view log information. If you can easily control the log information level and log information display content, will bring more convenience to the program debugging. The following functions can be easily implemented with this function.
$ss _log_level = 0;
$ss _log_filename =/tmp/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.