select * from ( select row_number() over(order
by BD008_001) as row ,* from ...
分类:
数据库 时间:
2014-05-09 16:56:57
阅读次数:
328
sql将一个表中的数据插入到另一个表中列名不一定要相同,只要你在HH中列出要插入列的列表跟select
from mm表中的选择的列的列表一一对应就可以了,当然两边的数据类型应该是兼容的。比如:insert into hh
(fielda,fieldb,fieldc) select fieldx.....
分类:
数据库 时间:
2014-05-09 16:49:15
阅读次数:
322
存储过程检测用户名是否重户create proc checklogin@username
nchar(20),@pwd nchar(20),@hasrow int outputasselect @hasrow=count(*) from users
where and GO存储过程写入数据crea....
分类:
Web程序 时间:
2014-05-09 16:40:52
阅读次数:
367
From:http://www.crifan.com/files/doc/docbook/linux_nand_driver/release/html/linux_nand_driver.html版本:v2.2CrifanLi摘要本文先解释了Nand
Flash相关的一些名词,再从Flash硬件机制...
分类:
系统相关 时间:
2014-05-09 16:36:30
阅读次数:
691
在oracle10g中,oracle默认将使用spfile启动数据库,如果spfile不存在,则就会出现上述错误。解决方法:将$ORACLE_BASE/admin/你的数据库名称/pfile/init.ora.628201264542(这串数字未必一样)
copy到$ORACLE_HOME/dbs目...
分类:
数据库 时间:
2014-05-09 16:26:52
阅读次数:
508
descdesc select * from legou_home_product_on
查看是否被索引;desc legou_home_product_on 查看表定义修改表名ALTER TABLE emp RENAME
emp2修改字段名MYSQL里修改字段名的...
分类:
数据库 时间:
2014-05-09 12:30:34
阅读次数:
375
通过CSS3的linear-gradient实现的.bg{width:300px;height:50px;background:#caca8c;background-image:-webkit-gradient(linear,50%0,0100%,from(transparent),color-st...
分类:
Web程序 时间:
2014-05-09 12:28:39
阅读次数:
4486
# --*-- coding: utf-8 --*--from
matplotlib.font_manager import FontPropertiesimport matplotlib.pyplot as pltfont
= FontProperties(fname=r"/usr/share/f...
分类:
其他好文 时间:
2014-05-09 11:51:09
阅读次数:
323
left join #左连接又叫外连接 left join
返回左表中所有记录和右表中连接字段相等的记录test_user表phpcvs表SQL: select * from test_user left join
phpcvs on test_user.id=phpcvs.id执行结果如下图:.....
分类:
数据库 时间:
2014-05-08 21:08:56
阅读次数:
445
Given a triangle, find the minimum path sum from
top to bottom. Each step you may move to adjacent numbers on the row below.For
example, given the fol...
分类:
其他好文 时间:
2014-05-08 21:08:25
阅读次数:
407