表
a = { }
b = { x = 1, ["hello, "] = "world!" }
a.astring = "ni, hao!"
a[1] = 100
a["a table"] = b
function foo()
end
function bar()
end
a[foo] = bar
--分别穷举表a和b
for k, v in pairs(a) do
print(k, "=>",...
分类:
其他好文 时间:
2014-07-22 23:00:33
阅读次数:
261
问题描述最近在用LINQ to Entities,看看下面的代码//获取分页数据 var
admins = from aa in db.VAccountAdmins select aa; //处理过滤规则 if (null !=
filterRules) ...
分类:
其他好文 时间:
2014-05-12 16:40:23
阅读次数:
306
目录1)基本2)数学函数3)rownum4)分页5)时间处理6)字符函数7)to_number8)聚合函数9)学生选课10)图书馆借阅基本--新建表:create
table table1( id varchar(300) primary key, name varchar(200) not nul...
分类:
数据库 时间:
2014-05-12 16:11:47
阅读次数:
590
Sudoku
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 13023
Accepted: 6455
Special Judge
Description
Sudoku is a very simple task. A square table with 9...
分类:
其他好文 时间:
2014-05-03 00:31:30
阅读次数:
400
----本文大纲简介资源配置拓扑图实现过程====================一、简介MMM
即Master-Master Replication Manager for
MySQL(mysql主主复制管理器)关于mysql主主复制配置的监控、故障转移和管理的一套可伸缩的脚本套件(在任何时候只有...
分类:
数据库 时间:
2014-05-02 15:53:39
阅读次数:
471
Problem
A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has converted all of their properties to co...
分类:
其他好文 时间:
2014-05-02 10:30:59
阅读次数:
375
SELECT*FROM表名称LIMITM,N
。其中的m表示从第几条开始,0表示第一条;n表示一共显示几条。mysql_num_rows:取得结果行的数目。table中奇数行变色或偶数行变色:tr:nth_child(odd或even){里面写入颜色};其中odd表示奇数行,even表示偶数行。
分类:
数据库 时间:
2014-05-02 09:17:24
阅读次数:
330
oracle db打one-off-patch 一例...
分类:
数据库 时间:
2014-05-02 06:45:41
阅读次数:
399
Steps:
1. backup database DBmirror on SQL1
2. backup database log
3. copy db and log backup files to SQL2
4. restore db with norecovery
5. restore log with norecovery
6. create endpoints on both...
分类:
数据库 时间:
2014-04-30 22:15:38
阅读次数:
414