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
Given amxnmatrix, if an element is 0, set its
entire row and column to 0. Do it in place.click to show follow up.Follow up:Did
you use extra space?A s...
分类:
其他好文 时间:
2014-05-12 08:22:51
阅读次数:
255
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=2459
明天省赛,所以今天做几道所谓水题,可惜这个题因为输出写错WA了很久,,,
如果直接枚举矩阵所有的位置是否改变,那么时间复杂度是承受不住的
这道题让我学到的,就是:
...
分类:
其他好文 时间:
2014-05-12 07:10:08
阅读次数:
374
1.给root账户授权所有sql权限
grant all privileges on *.* to root@"%" identified by ".";flush privileges;
2.建立bat批处理文件
@echo off
set path=%path%;D:\Program Files\MySQL\MySQL Server 5.5\bin
set y=%date:~0,4%
s...
分类:
数据库 时间:
2014-05-11 03:11:33
阅读次数:
406
数据库中的grant权限赋予和系统中的权限管理是两码事。grant一般是赋给个人的,对全部或单个数据库的增删改查等权限,不多说。权限管理系统
在数据库中建表,存角色,权限,不同的菜单,在java层面上写代码控制的。用filter或if等都能控制。参考资料:grant:http://www.cnblo...
分类:
数据库 时间:
2014-05-11 00:08:14
阅读次数:
407
1. 定义js类 js并不是一种面向对向的语言, 没有提供对类的支持,
因此我们不能像在传统的语言里那样 用class来定义类, 但我们可以利用js的闭包封装机制来实现js类, 我们来封装一个简的Shape类. 代码如下:
function ShapeBase() { this.show = fun...
分类:
Web程序 时间:
2014-05-10 06:11:24
阅读次数:
282
1 class SuperClass{ 2 3 public SuperClass() { 4
System.out.println("superclass "); 5 show(); 6 } 7 public void show() { 8
System.out...
分类:
编程语言 时间:
2014-05-10 05:47:03
阅读次数:
299
链接:http://soj.me/show_problem.php?pid=1735&cid=
Description
Let me introduce an easy method of encryption to you.
Suppose there’re N bytes (1 byte = 8 bits) data that are to be encrypted and ...
分类:
其他好文 时间:
2014-05-09 22:46:01
阅读次数:
498
use databases 显示所有数据库 use schame 使用数据库 show tables
显示当前数据库中的所有表 describe table 显示表结果 其他一些基本操作:例如更新,插入,查询,删除。
参考资料:http://wenku.baidu.com/link...
分类:
数据库 时间:
2014-05-09 19:20:41
阅读次数:
363
本篇介绍angular控制视图的显示和隐藏:通过给元素添加ng-show属性或者ng-hide属性来控制视图的显示或隐藏:ng-show:
绑定的数据值为true时,显示元素,值为false时,隐藏元素ng-hide:
绑定的数据值为true时,隐藏元素,值为false时,显示元素(其实只要用到其中...
分类:
其他好文 时间:
2014-05-08 23:03:29
阅读次数:
332