Here is the simplest test with Excel data.
1 Save Excel data as T.txt file, note file suffix named. txt
1 jhchen 11/07/2005 20:04:00 2005-11-7 20:04
2 jhchen 11/07/2005 20:04:00 2005-11-7 20:04
3 Jhchen 11/07/2005 20:04:00 2005-11-7 20:04
2)Sql> CREATE TABLE T_load (
ID number,
Name VARCHAR2 (10),
DAT1 date,
Dat2 date,
DAT3 Date
);
Table created.
3 Control file T.ctl as follows
Original post http://hi.baidu.com/rich0411/blog/item/fa0c61ee3a68502e2df534bc.html
The so-called data movement in DB2 includes:
1. Import Data)
2. Data Export (Export)
3. Load)
Both import and load use DB2 commands to save data
Load data [low_priority] [local] infile 'file_name.txt '[Replace | ignore] into Table tbl_name[Fields[Terminated by '\ T'][Optionally] enclosed by ''][Escaped by '\'][Lines terminated by '\ n'][Ignore number lines][(Col_name,...)]
Load daThe TA infile statement reads a table from a text file at a high speed. If you specify the local keyword, read the file from th
Imagine a scenario under high concurrency: Suppose we store name=aty in the cache and set the expiration time. When the cache expires, there are exactly 10 client-initiated requests that need to read the value of name. Using the guava cache ensures that only one thread is allowed to load data (such as from a database), while other threads wait for the thread to return results. This avoids a large number of
Recently the app is almost finished, but a lot of list loading, news consulting and other data has been requested from the network, slow, affecting the user experience, so thinking to use the cache to load some update requirements not too high data
First, make a tool class that saves the cache
Import Java.io.File;
Import java.io.IOException;
Import Android
//Click Plus minus sign also load child layer data}};Normal async should use Ztree async, but I used to always hint: The requested resource does not support the HTTP method "GET", in fact, I have changed to post has not found a solution, had to use callback to write their own methodfunction Showchild (event, Treeid, TreeNode, Clickflag) {var treeobj = $.fn.ztree.getztreeobj (Treeid);Delete the child nodes o
A deadlock on an online project report that briefly describes the cause, treatment scheme, and related points.
1. Background
This is a project similar to data analysis, which is imported into a InnoDB table entirely through the load data statement. To facilitate the description, the table structure is simplified as follows:
Create table TB (ID int prima
//uses Ajax to load the data dictionary, generating select//parameter 1: Data dictionary type (DICT_TYPE_CODE)//Parameter 2: Put down the selected tag id//parameter 3: When generating the drop-down, the Name property value of the Select tag//Parameter 4: When a echo is required, select which Optionfunction loadselect (Typecode,positionid, Selectname,selectedid) {
DataTables is a jquery form plug-in. It is a highly flexible tool that allows you to add advanced interactivity to any HTML table.
Main function
Paging, Instant Search and sorting
Supports almost any data source: DOM, JavaScript, Ajax, and server processing
Supports different themes DataTables, JQuery UI, Bootstrap, Foundation
All kinds of extensions: Editor, Tabletools, Fixedcolumns ...
A rich variety of option and powerful APIs
Support Intern
When you use Ajax to get data asynchronously in a project, sometimes the page always appears blank because of data problems or network problems, and now it is used to load pictures to transition this state:
Data is displayed in load state
The above is a small
;
Color: #666;
tips.loading {
/*background-color:transparent;*/
background-color: #dadada;
}
Third, the template version of the reference (as this example in the data display style are consistent, here I quote template arttemplate) off
1. Remember to first introduce this template version of the JS package;2. The module to define the template to have an ID, there are settings type;
Four, JS control the effect of waterf
Http://blog.csdn.net/adparking/article/details/7098221
Load data [low_priority] [local] infile 'file_name.txt '[Replace | ignore]
Into Table tbl_name[Fields[Terminated by '\ T'][Optionally] enclosed by ''][Escaped by '\'][Lines terminated by '\ n'][Ignore number lines][(Col_name,...)]
The load data infile statement rea
, "OrderId": 17},
{"Id": "" IDs ":", "name": "Xinjiang", "state": "Closed", "_parentid": 2, "orderId": 18},
{"Id": "IDs": "Name": "Yunnan", "state": "Closed", "_parentid": 2, "orderId": 19}]}
The above data does not have a root node, so the page is out of nothing ... My data only parentid this thing, so the page is blank.
The problem has been fixed, but new problems have arisen. The beginning of my ap
The following example is just for a simple record of how to use the Angularjs to implement scrolling load data, or specifically to look at:
Controller of the JavaScript section
App.controller (' Analysizerctrl ', [' $scope ', ' $timeout ', ' $window ', function ($scope, $timeout, $window) {$
Scope.showdata = false;
$scope. Isloadingpig = false;
$scope. Isloadinguj = false;
$scope. Isloadingboxsummary
If:CREATE TABLE test_table (ID int, name varchar (128);If the order is as follows:Load data infile ' a.txt ' into table ' test_table ' fields enclosed by ' "' terminated by ', 'If the column values are as follows:"1", "ABC" 123 "ABC"Such a value can still be handled correctly. After import, the column value is: 1 ABC "123" ABCIf the column values are as follows:"1", "abc",123 "ABC"will not be handled correctly. You must use special characters to separ
Tags: div time tee done Lin min One bin uptime#!/bin/BashEcho "'> ~/getload/1minute.txtEcho "'> ~/getload/5minute.txtEcho "'> ~/getload/15minute.txt#get load Average Dataoneminute=`Uptime|awk '{print $8}'' Fiveminute=`Uptime|awk '{print $9}'' Fifteenminute=`Uptime|awk '{print $}'' SECONDS=0# Echo${oneminute:0:4} while[$SECONDS-le - ] DoEcho${oneminute:0:4} >> ~/getload/1minute.txtEcho${fiveminute:0:4} >> ~/getload/5minute.txtEcho${fifteenminute} >> ~/
Introduction to Ajax
Ajax, "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML), refers to a web development technology that creates interactive Web applications.
AJAX = Asynchronous JavaScript and XML (a subset of standard generic markup languages).
AJAX is a technique for creating fast-moving web pages.
AJAX enables asynchronous updating of Web pages by making a small amount of data exchange in the background with the server. This
1.LOAD DATA INFILE is used to write the contents of a text file to the MySQL table at high speed , and SELECT ... the action of into FILE is corresponding, an import, an export. Use LOAD DATA INFILE requires MySQL Read access to the file to be imported , with the following syntax:LOAD
Label: I. What is covered in this article (Contents)
What is covered in this article (Contents)
Background (contexts)
Architecture Principles (Architecture)
Test environment (Environment)
Installing Moebius (Install)
Moebius Test (testing)
Load Balancing test (load balancing testing)
High-availability Testing (Failover testing)
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.