3.2MySQL data type 3.2.1 data type overview 3.2.2 Special Column types in Table definitions 3.2.3 default value of specified columns ----------------------------- 3.2.1 data type overview MySQL numeric types include integer, fixed point, floating
The display format of the same TIMESTAMP column is the same as that of the DATETIME column. In other words, the display width is fixed to 19 characters and the format is YYYY-MM-DDHH: MM: SS. Different ranges of datetime are retrieved and displayed
// By redice 2010.07.26// Redice@163.com
The MYSQL Learning Outline for the company intern summarizes the most useful knowledge points in project development and can be used as a MYSQL quick start tutorial.
1 MYSQL column (field) Data Type:
(1)
1. The data type of the number type indicates that the BIT [(M)] M in the integer data column indicates the number of digits in each column, ranging from 1 to 64. If M is omitted, the default value is an integer smaller than 1 tinyint. The signed
ASCII (str) returns the ASCII value of the first character of the string str (0 if str is an empty string) mysqlgt; selectASCII (
ASCII (str) returns the ASCII value of the first character of the string str (0 if str is an empty string) mysqlgt;
1. Create a data table IPStat to store user information
The user information stored in the IPStat table only includes the IP address (IP_Address), IP source (IP_Src), and logon time (IP_DateTime) of the logon user ), some table information is saved
Iis provides the appcmd command to configure iis through the command line
The default path of appcmd.exe is c: \ windows \ system32 \ inetsrv \.
To Recycle an application pool, use the following syntax:
Appcmd recycle apppool/apppool. name:
MySQL official documentation: http://dev.mysql.com/doc/refman/5.1/zh/data-types.html
The detailed descriptions below are not necessarily accurate and incomplete. Please include more or give your suggestions. I 'd like to hear from you.
Numeric
Datediff Function
ReturnVariant(Long) Indicates the number of time intervals between two specified days.
Syntax
Datediff (interval, date1, date2 [, firstdayofweek [, firstweekofyear])
Part
Description
Interval
Required.
1. Download JDK such as: jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe next .. Next, install the SDK.
2. configure system variables:
Right-click "my computer", select "properties", select "advanced", and click "environment variables"
In "
Incremental processing Overview:
In general, the cube will grow with the accumulation of time, so that if all data is processed each time, the processing time will gradually become longer. Therefore, for large-scale cubes, incremental processing
When receiving a requirement, you can use log4j to print logs at regular intervals. The requirement is described as follows: You must be able to print logs at regular intervals. Speaking of timing, I first thought of the dailyrollingfileappender
Parses the time types of MySql and Java. MySql time types include datejava. SQL. DateDatetimejava. SQL. TimestampTimestampjava. SQL. TimestampTimejava. SQL. TimestampTimejava. SQL. Date.
MySql has the corresponding time type in Java.Date java. SQL.
The following functions are my summary over the years. Some of them are constantly summed up at work, and some are collected through some network routines. I hope these functions will be helpful to you, thank you!
'Custom formatdatetime function
For more information, see the download file:/Files/bigmouthz/dnet's Data Warehouse isqlexecution program ( ).rarSome code is as follows:DBCore. DataBaseVisitor. AbsDBHelper dbhelper = null;
Private void bt_DBLink_Click (object sender, System.
CONVERTExplicitly converts a data type expression to another data type. Because some requirements often use different date formats, the following can be found inFormat the date in SQL Server.
SQL Server supports the data format in the Arabic style
SQL date
When processing a date, the most difficult task is to ensure that the format of the inserted Date matches the format of the date column in the database.
As long as the data contains only the date part, running the query will not cause
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.