QPainter::begin: Paint device returned engine
== 0, type: 2QPainter::setCompositionMode: Painter not activeQPainter::end:
Painter not active, aborted一...
分类:
其他好文 时间:
2014-05-17 00:14:44
阅读次数:
479
一、sql事务1.什么是事务:事务是一个不可分割的工作逻辑单元,在数据库系统上执行并发操作时事务是做为最小的控制单元来使用的。他包含的所有数据库操作命令作为一个整体一起向系提交或撤消,这一组数据库操作命令要么都执行,要么都不执行。2.事务的语句开始事物:BEGIN
TRANSACTION提交事物:C...
分类:
数据库 时间:
2014-05-16 21:45:24
阅读次数:
383
--存储过程名和参数,参数中in表示传入参数,out标示传出参数,inout表示传入传出参数create
procedure p_procedurecode(in sumdate varchar(10)) begin declare v_sql
varchar(500); --需要...
分类:
数据库 时间:
2014-05-16 20:51:07
阅读次数:
486
在学javacc的时候,发现一个问题,见下:
Example.jj文件
PARSER_BEGIN(Example)
public class Example {
public static void main(String args[]) throws ParseException {
Example parser = new Example(System.in);
...
分类:
编程语言 时间:
2014-05-14 01:25:59
阅读次数:
367
Bob enjoys playing computer games, especially
strategic games, but sometimes he cannot find the solution fast enough and then
he is very sad. Now he h...
分类:
其他好文 时间:
2014-05-14 00:29:42
阅读次数:
251
create or replace function get_sal1(id
employees.employee_id%type) return number is sal employees.salary%type;begin sal
:= 0; select salary into s...
分类:
数据库 时间:
2014-05-13 19:41:58
阅读次数:
456
Problem Description
Acmers have been the Earth Protector against the evil enemy for a long time, now it’s your turn to protect our home.
There are 2 * n enemies in the map. Your task is to clear a...
分类:
其他好文 时间:
2014-05-13 11:29:40
阅读次数:
308
create table mytest(name varchar(20),password varchar(30));
create or replace procedure sp_pro2 is
begin
insert into mytest values('fc','123');
end;
查看错误信息
show error
如何调用...
分类:
数据库 时间:
2014-05-13 07:41:24
阅读次数:
464
this.Dispatcher.BeginInvoke(new Action(()=>
this.textBlock1.Text = DateTime.Now.ToString("HH:mm:ss fff"); }));
分类:
其他好文 时间:
2014-05-12 04:31:05
阅读次数:
251
题意:求1-n的n个数字中1出现的个数。
解法:数位dp,dp[pre][now][equa] 记录着第pre位为now,equa表示前边是否有降数字(即后边可不可以随意取,true为没降,true为已降);常规的记忆化搜索
代码:/******************************************************
* author:xiefubao
...
分类:
其他好文 时间:
2014-05-11 20:48:20
阅读次数:
279