Oracle中有sequence的功能,SQL
Server类似的功能使用Identity列实现,但是有很大的局限性。在2012中,微软终于增加了sequence 对象,功能和性能都有了很大的提高。sql
server 2012 序列配置属性1. 查询序列的下一个值select next value...
分类:
数据库 时间:
2014-05-08 19:35:44
阅读次数:
446
SELECT A.TABLE_NAME 表英文名, A.TAB_COMMENTS 表中文名,
A.COLUMN_ID 序号, A.COLUMN_NAME 英文名, A.COMMENTS 中文名, B.PRIMARY_KEY 主键,
substr(A.DATA_TYPE,1,instr(A.DATA_...
分类:
数据库 时间:
2014-05-08 19:25:11
阅读次数:
415
1.简单的下拉列表 1 2 3 4 名: 5 10 11 12
PS:黄色部分才是显示的内容,而不是value
分类:
Web程序 时间:
2014-05-08 19:06:01
阅读次数:
279
/**/跟空格的作用一样,有的时候可以过一些过滤爆库语句,修改红色部分的数字挨个猜出库/**/and/**/(select/**/top/**/1/**/isnull(cast([name]/**/as/**/nvarchar(500)),char(32))%2bchar(124)/**/from/...
分类:
数据库 时间:
2014-05-08 19:02:39
阅读次数:
336
一.查看MYSQL基本信息(库名,版本,用户)and 1=2 union select
1,2,3,database(),5,version(),6,user(),7..../*二.暴表and 1=2 union select
1,2,3,TABLE_NAME,4,5,6,7...... from ...
分类:
数据库 时间:
2014-05-08 19:00:07
阅读次数:
360
declare @id int,@value nvarchar(100);begin declare
c_test_main cursor fast_forward for select hps_hpId,hps_time from
hospitalPermSupp where hps_...
分类:
数据库 时间:
2014-05-08 14:39:27
阅读次数:
498
2520 is the smallest number that can be divided
by each of the numbers from 1 to 10 without any remainder.What is the smallest
positive number that is...
分类:
其他好文 时间:
2014-05-08 14:36:50
阅读次数:
248
对于开发来说重要的是按照规范进行开发。 昨天自己在进行开发测试的时候,编写mysql
的一个存储过程 ,代码是比较简单的 就是根据名称查询对应的数据并返回DELIMITER// CREATEPROCEDUREproc1(nameint)
BEGINselect * from table_name ....
分类:
数据库 时间:
2014-05-07 15:03:43
阅读次数:
356
SVN :This XML file does not appear to have any
style information associated with it. The document tree is shown
below.地址输入错误。尼玛。。。
分类:
移动开发 时间:
2014-05-07 15:01:54
阅读次数:
1113
这里演示如何在MVC
WEB应用程序如何上传图片到数据库以及如何在WEB页面上显示图片。数据库表对应整个Model类,不单图片数据一个字段,我们从数据表的定义开始:CREATE
TABLE [dbo].[Products] ( [ProductID] INT I...
分类:
数据库 时间:
2014-05-07 14:33:57
阅读次数:
468