码迷,mamicode.com
首页 >  
搜索关键字:declare    ( 3361个结果
访问注解(annotation)的几种常见方法
java的注解处理器类主要是AnnotatedElement接口的实现类实现,为位于java.lang.reflect包下。由下面的class源码可知AnnotatedElement接口是所有元素的父接口,这时我们通过反射获得一个类的AnnotatedElement对象后,就可以通过下面表格的几个方 ...
分类:其他好文   时间:2019-02-16 18:18:27    阅读次数:212
[shell] if语句用法
bash中如何实现条件判断?条件测试类型: 整数测试 字符测试 文件测试 一、条件测试的表达式: [ expression ] 括号两端必须要有空格 [[ expression ]] 括号两端必须要有空格 test expression组合测试条件: -a: and -o: or !: 非 二、整数 ...
分类:系统相关   时间:2019-02-13 12:50:57    阅读次数:188
sql server获取时间的分量
-- 取出当前时间的分量DECLARE @mm int = datepart(mm,getdate()); -- 月DECLARE @dw int = datepart(dw,getdate()); -- 星期几DECLARE @dd int = datepart(dd,getdate()); -- ...
分类:数据库   时间:2019-02-12 13:25:30    阅读次数:212
GDI+_SavePic
1 Option Explicit 2 3 Private Const UnitPixel As Long = 2 4 Private Const EncoderQuality As String = "{1D5BE4B5-FA4A-452D-9CDD-5DB35105E7EB}" 5 6 Priv... ...
分类:其他好文   时间:2019-02-06 13:23:17    阅读次数:195
[TypeScript] Type Definitions and Modules
For example you are building your own module, the same as Lodash: my-lodash.d.ts Normally you can install @types for popluar 3rd-party libs, if you ha ...
分类:其他好文   时间:2019-02-06 09:35:41    阅读次数:193
SQLServer查询当前数据库所有索引,并使用游标删除相关索引
--查询现有所有数据库表的索引情况 Select indexs.Tab_Name As [表名],indexs.Index_Name As [索引名] ,indexs.[Co_Names] As [索引列], Ind_Attribute.is_primary_key As [是否主键],Ind_At ...
分类:数据库   时间:2019-02-03 00:53:28    阅读次数:365
Abstract Data Types in C
Interface declares operations, not data structure Implementation is hidden from client (encapsulation) Use features of programming language to ensure ...
分类:其他好文   时间:2019-01-28 14:10:07    阅读次数:201
9、修改主键
1、oracle主键修改的思路是:先判断主键是否存在,如果存在则先删除后新建,如果不存在,则直接新建,如下: 注意: declare与alter之间要有反斜杠/,否则报错; 主键如果不存在的话,ALTER TABLE TEST_CLASS DROP PRIMARY KEY;是会报错的,因此必须先判断 ...
分类:其他好文   时间:2019-01-28 12:03:35    阅读次数:132
mybatis--动态代理实现
如果我们要使用MyBatis进行数据库操作的话,大致要做两件事情: 定义dao接口文件 在dao接口中定义需要进行的数据库操作方法。 创建映射文件 当有了dao接口后,还需要为该接口创建映射文件。映射文件中定义了一系列SQL语句,这些SQL语句和dao接口一一对应。 MyBatis在初始化的时候会 ...
分类:其他好文   时间:2019-01-27 22:02:30    阅读次数:167
Webpack - 把json文件打包进js文件
把html文件打包进index.js 1 新建文件 typings.d.ts declare module "*.html" { const content: string; export default content; } 2 在build/webpack.base.js 里新增配置: { te ...
分类:Web程序   时间:2019-01-27 21:45:15    阅读次数:345
3361条   上一页 1 ... 46 47 48 49 50 ... 337 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!