- C# 移除JSON 某个key_如何快速定位 Redis 热 key?
weixin_39703773
C#移除JSON某个keycentosredis升级版本cppmap获取所有key
导读:在Redis中,热key指的是那些在一段时间内访问频次比较高的键值,具体到业务上,商品的限时抢购、瞬时的新闻热点或某个全局性的资源,都极有可能产生热点key。如何应对热点Key也是解决高并发的必备技能,本文作者条分缕析为你解答这个问题。作者简介:饿了么CI框架工具部缓存组韩亮背景在Redis中,热key指的是那些在一段时间内访问频次比较高的键值,具体到业务上,商品的限时抢购、瞬时的新闻热点或
- CI框架apache和nginx环境下面统一去掉路径URL后面的index.php
msnmessage
摘要codeigniter去除index.php(nginx,apache)通用方法APACHE:在apache下去掉url上的index.php折腾了好久,一直是访问css,js,图片文件youcan'taccessfilesonserver之类的错误提示,apached的配置上说的是把AllowOverridenone改成AllowOverrideAll,然后allowfromall,一直不生
- CI基本理解
playman
PHP的CI框架的基本理解控制层视图层模型层操作数据库AR操作CI学习访问url使用的是pathinfo入口文件.php/控制器/动作默认控制器是welcome默认动作是index控制器不需要加后缀。直接是类名.php文件名全部小写。例如:user.php所有的控制器,直接或间接继承自CI_Controller类以下划线开头的方法,不能够被请求。只有public的方法,才能作为动作视图层$this
- apache 2.49配置虚拟主机Forbidden You don't have permission to access / on this server
liushuiliangv
phpweb开发Apache虚拟主机
正常配置方法1.打开目录Apache的安装目录/conf/extra/,找到httpd-vhosts.conf文件;2.添加一段代码来指定某一域名的网站,如图我配置虚拟域名是:project.com,文件目录指向的是CI框架;
[email protected]"D:/AMP/Apache/htdocs/ci"ServerN
- 白水三佳电脑ERP部署
挪个窝
数据库
安装宝塔面板,有这个方便很多,可以省下3天的环境部署时间。移动端,先取移动版的压缩包,上传至服务器/www/wwwroot/目录下面,直接解压到当前目录后会生成/www/wwwroot/m/的目录,移动版就在这里面了。以下是简单安装介绍:进销存管理系统介绍进销存管理系统PC/手机端软件架构软件架构说明pc代表pc浏览器访问#pc端是基于ci框架开发最高支持php5.6高于这个版本会显示异常m代表手
- mysql导入csv数据慢_php查询返回数据过大 导入csv文件很慢
VDV空降兵费里
mysql导入csv数据慢
框架用的是ci,数据库是sqlsrv(sqlserver2008),sql查询返回的结果集有2万条数据,我在ci框架里面执行这个sql语句,网页一直在转圈,2万条数据要转30秒左右,但是我的sql语句在sqlserver2008R2里面执行是秒查,在ci里面用自带查询sql执行时间是200毫秒,,说明我的语句并不慢。个人觉得应该是返回数据太多导致慢的,返回的是2万条数据,20个字段左右,,因为我做
- 第三方登录(QQ登录)开发流程详解
weixin_30520015
php测试xhtml
近排由于工作的繁忙,已经一个星期没写博文做分享了,接下来我对网站接入第三方登录----QQ登录的实现逻辑做一个详细的讲解。对于整个流程的详细文档可以到QQ互联官网(http://wiki.connect.qq.com)查看,我这里就简单地进行描述,主要是分析代码的实现过程。我用的是CI框架(MVC模式),模板引擎用的是smarty。下图为整个接入流程:一、准备工作接入QQ登录前,网站需首先进行申请
- 记apache 出现No input file specified.问题解决方法
阿桂有点桂
phpphp
php5.5版本改为php5.6,CI框架的路由使用REWRITE模式之后,出现了Noinputfilespecified.错误php5.5程序对应的.htaccess(伪静态规则)配置:RewriteEngineOnRewriteCond%{REQUEST_FILENAME}-s[OR]RewriteCond%{REQUEST_FILENAME}-l[OR]RewriteCond%{REQUES
- Call to a member function num_rows() on boolean in ...
孤单的时候狗作陪
CodeIgniter框架php
最近使用ci框架,用的php版本也比较老了然后就各种报错,特此记录一下报错前写法:if($oResult->num_rows()>0)return$oResult->result_array();更改后写法if($oResult!==false&&$oResult->num_rows()>0)return$oResult->result_array();参考链接https://forum.code
- CI分页搜索实现
Continue_li
CI分页搜索实现分类:php学习笔记2013-10-2816:13992人阅读评论(2)收藏举报ci分页搜索ci条件搜索分页ci编写条件分页搜索ci编写条件搜索codeigniter条件搜索一、背景说明由于公司新启动了一个项目,在开发的前期,老大说这次用CI框架来做,于是就开始了各种研究。因为是管理系统的项目,所以会有很多的搜索分页实现,但是在用CI原生的分页时候发觉达不到效果。比如说,有些时候需
- CI 框架整合 Smarty 模版引擎
joker_牧羊人
(本地开发环境下进行:CI3.x+Smarty3.x)本地开发环境准备说明此处不做过多的说明,你可以下载一个本地集成开发环境(如:XAMPP或者wampserver)安装使用;本文档是基于MAC、XAMPP环境进行介绍。一、搭建CI框架环境1、下载CI3.x版本下载地址:https://codeigniter.org.cn/download2、解压、拷贝、初始访问解压文件,并将其中的文件夹appl
- 快速安装CI框架
大大老湿
1.登录CI官网下载最新稳定版本https://codeigniter.org.cn/2.解压下载的CI安装包,重命名解压包为项目名,如:CIDemo上传/部署CIDemo文件夹至服务器中如上传至服务器目录:/var/www/html/3.配置项目Web根目录$config['base_url'];修改配置文件/var/www/html/CIDemo/application/config/conf
- php ci 连接sqlserver,SQLServer数据库之php CI框架连SQLServer
者也唐家二少
phpci连接sqlserver
本文主要向大家介绍了SQLServer数据库之phpCI框架连SQLServer,通过具体的内容向大家展现,希望对大家学习SQLServer数据库有所帮助。1.为php添加sqlsrv扩展去微软官网https://www.microsoft.com/en-us/download/搜索php,点击MicrosoftDriversforPHPforSQLServer下载最新版的sqlsrvXX.exe
- linux电源管理--psci
小小小小小小小小熊
android/linux内核电源管理linux
1、PSCI主要功能介绍PSCI,是PowerStateCoordinationInterface的缩写,是由ARM定义的电源管理接口规范,ARM也提供了官方的设计文档《ArmPowerStateCoordinationInterfacePlatformDesignDocument》,全文有87页之多,由此可见PSCI框架的繁琐和复杂,感兴趣的同仁可以去ARM官方网站进行下载参阅。在本文中,我们仅
- PHP 常用框架
云三木
PHPphp开发语言mvc
目录前言一、CI(CodeIgniter)二、ThinkPHP三、Laravel四、Yii五、ZendFramework六、CakePHP七、Symfony总结前言目前在这个公司用的都是CI框架,在之前的公司也有用到过TP框架和Laravel框架,下面总结一下这三个框架区别。后面也找了一些PHP其他的常用框架。关于TP和Laravel的对比可以看看这里。一、CI(CodeIgniter)CI(Co
- 使用CI框架(CodeIgniter)开始一个HelloWorld
Jolin_Lv
CIPHPphpcodeigniter框架helloworld实例
参考文章:http://blog.csdn.net/faith306/article/details/20368793http://blog.csdn.net/jinxingfeng_cn/article/details/50732005参考文档:http://codeigniter.org.cn/user_guide/general/welcome.html1.CodeIgniter是一套给PH
- CodeIgniter:CI框架对数据库进行相关操作
染染有个小虎牙
相关函数:函数功能row()row_array()result()reault_array()下面是官方文档说明初始化数据库类下面的代码将根据你的数据库配置加载并初始化数据库类:$this->load->database();数据库类一旦载入,你就可以像下面介绍的那样使用它。注意:如果你所有的页面都需要连接数据库,你可以让其自动加载。参见数据库连接。多结果标准查询(对象形式)$query=$thi
- OpenWrt 专栏介绍00
逗倪豌儿
OpenWrtlinux网络协议
文章目录OpenWrt专栏介绍00专栏章节介绍关于联系方式OpenWrt专栏介绍00专栏章节介绍本专栏主要从开发者角度,一步步深入理解OpenWrt开发流程,本专栏包含以下章节,内如如下:01.OperWrt环境搭建02.OperWrt包管理系统03.OperWrt启动过程04.OpenWrt内核驱动模块05.OpenWrt制作软件包06.OpenWrtUCI框架07.OpenWrtUbus总线框
- 记录一次ci redis问题
wxy1
分享一个使用redis过程中遇到的问题1问题在ci框架('CI_VERSION','2.2.0')中使用redis缓存一个key-value格式的数据然后每次get同一个key获取的数据长度不一样(value的长度比较长)image.pngimage.png多次去get数据,都是这两种结果string(2913)就是丢失数据了。更换不同的redis服务以后同样会出现这个问题,基本可以排除是redi
- 如何快速定位 Redis 热 key?
weixin_48726650
分布式数据库redisjava大数据
导读:在Redis中,热key指的是那些在一段时间内访问频次比较高的键值,具体到业务上,商品的限时抢购、瞬时的新闻热点或某个全局性的资源,都极有可能产生热点key。如何应对热点Key也是解决高并发的必备技能,本文作者条分缕析为你解答这个问题。作者简介:饿了么CI框架工具部缓存组韩亮背景在Redis中,热key指的是那些在一段时间内访问频次比较高的键值,具体到业务上,商品的限时抢购、瞬时的新闻热点或
- docker创建LNMP镜像,并部署CI框架项目
足球小子_a272
看了差不多一周多的dockerfile制作镜像,各种网上搜的教程或者视频,对于docker命令已经很熟练,但是其中的docker思想还是混混沌沌,本篇dockerlnmp环境搭建和部署项目,是一遍一遍手巧摸索出来的,实际过程中我是把mysql单独拆分出来,独立制作了MYSQL镜像,然后启动容器,项目中数据库配置文件端口号和地址改下即可。1.拉取官方的centos:6.9作为基础镜像,dockerp
- CI框架使用总结
liuchungui
CI框架中:1、数据的where,增加or也是可以的2、设置config当中的log_threshold和log_path对错误日志进行设置,然后使用log_message进行日志打印,从而调试线上的内容。codeigniter-restserver中1、这个框架已经做好了数据格式的读取,读取时直接使用this->post();返回时,只要请求者将contentType和Accept指定对应的数据
- PHP之CI框架学习讲解
一、前言CodeIgniter是一个简单快速的PHPMVC框架。EllisLab的工作人员发布了CodeIgniter。CodeIgniter是一套小巧但功能强大的、给PHP网站开发者使用的Web应用程序开发框架和工具包。它为组织提供了足够的自由支持,允许开发人员更迅速地工作。二、CI的工作流程1.index.php作为前端控制器,初始化运行CodeIgniter所需要的基本资源。2.Router
- ci框架
降水
CodeIgniter是一个小巧但功能强大的PHP框架,当前下载包2.6M,作为一个简单而“优雅”的工具包,适合开发者们建立功能完善的Web应用程序。官方地址【CI3.1.5】:https://codeigniter.org.cn/CI4.x版本地址:https://codeigniter-chinese.github.io/codeigniter4-user-guide/index.html1C
- Ci框架简单使用说明(自己收藏使用)
靠还是你
转载地址:https://blog.csdn.net/admin_admin/article/details/51769805CodeIgniter框架1、回忆MVC1.1、M:模型,提供数据,保存数据1.2、V:视图,只负责显示,表单form1.3、C:控制器,协调模型和视图1.4、action:动作,是控制器中的方法,用于被浏览器请求2、CI中的MVCCI简介:CodeIgniter是一个轻量
- CI框架基础入门(三)
peterz博客
目录文件上传缩略图载入分页类验证码加密密钥session类登录验证拓展自定义公共类载入公共视图路由设置隐藏单入口index.php方法伪静态缓存开启生产模式(index.php单入口文件中)一、文件上传配置$config['upload_path']='./upload/';//文件上传的位置(这个是自建的)$config['allowed_types']='gif|jpg|png|jepg';/
- 用自己的mysql替代XAMPP自带的mysql的相关配置
O泪O
临近毕业答辩,毕设的实现终于被提上了日程了,要做一个网站,当然,第一步就是搭环境喽,我决定使用XAMPP+Aptana+CI框架来完成,终于我猜到了坑(PS:我使用的是MacOS)。问题描述:xampp自带的mysql不知道为什么,在图形界面怎么也启不来,好不容易用命令启动之后,又建立不了链接,多处求医无果之后,我决定放弃,使用自己的数据去替代它。配置好CI中database.php结果跑起来之后
- 基于 DHT 网络的磁力链接和BT种子的搜索引擎架构
justjavac
上周开发了一个磁力链接和BT种子的搜索引擎{Magnet&Torrent},本文简单介绍一下主要的系统功能和用到的技术。系统包括几个独立的部分:使用Python的Scrapy框架开发的网络爬虫,用来爬取磁力链接和种子;使用PHPCI框架开发的简易网站;搜索引擎目前直接使用的MySQL,将来可以考虑使用sphinx;中文分词。用PHP写了一个简陋版的基于逆向最大匹配算法的小类,词库呢,哈哈,直接使用
- php的ci框架 find_in_set数据库AR支持
yuf20
当mysql需要用到字段类型如type'1,2,3'、'2,4'时,当你要查找type=2所对应的内容,可以用mysql里面的函数fin_in_set(),如:SELECT*fromtestwhereFIND_IN_SET('2',type).find_in_set相对于like来说是精确匹配,find_in_set可以用leftjoin(可以走索引)等代替.这样的写法在遇到框架(如CI)时,可能
- 2018-03-25 hb
你怕是没被我胖虎打过
起床稍晚一些,飞了两把车,吃了个饭,再洗个衣服看会书就开始看算法。A协的训练赛改成组队形式了,但是我没有队伍,大概是凉了,被抛弃的感觉不是太好,不过问题不大,当务之急是调整好状态,增强自己的实力。todaytodolist1:算法2:熟悉CI框架3:《人间失格》与《如何有效阅读一本书》4:拿起手机的次数不超过五次5:洗被套枕套被单袜子6:跑步7:早睡…短期目标:算法入门熟悉CI框架有效地控制玩手机
- java线程的无限循环和退出
3213213333332132
java
最近想写一个游戏,然后碰到有关线程的问题,网上查了好多资料都没满足。
突然想起了前段时间看的有关线程的视频,于是信手拈来写了一个线程的代码片段。
希望帮助刚学java线程的童鞋
package thread;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date
- tomcat 容器
BlueSkator
tomcatWebservlet
Tomcat的组成部分 1、server
A Server element represents the entire Catalina servlet container. (Singleton) 2、service
service包括多个connector以及一个engine,其职责为处理由connector获得的客户请求。
3、connector
一个connector
- php递归,静态变量,匿名函数使用
dcj3sjt126com
PHP递归函数匿名函数静态变量引用传参
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Current To-Do List</title>
</head>
<body>
- 属性颜色字体变化
周华华
JavaScript
function changSize(className){
var diva=byId("fot")
diva.className=className;
}
</script>
<style type="text/css">
.max{
background: #900;
color:#039;
- 将properties内容放置到map中
g21121
properties
代码比较简单:
private static Map<Object, Object> map;
private static Properties p;
static {
//读取properties文件
InputStream is = XXX.class.getClassLoader().getResourceAsStream("xxx.properti
- [简单]拼接字符串
53873039oycg
字符串
工作中遇到需要从Map里面取值拼接字符串的情况,自己写了个,不是很好,欢迎提出更优雅的写法,代码如下:
import java.util.HashMap;
import java.uti
- Struts2学习
云端月影
最近开始关注struts2的新特性,从这个版本开始,Struts开始使用convention-plugin代替codebehind-plugin来实现struts的零配置。
配置文件精简了,的确是简便了开发过程,但是,我们熟悉的配置突然disappear了,真是一下很不适应。跟着潮流走吧,看看该怎样来搞定convention-plugin。
使用Convention插件,你需要将其JAR文件放
- Java新手入门的30个基本概念二
aijuans
java新手java 入门
基本概念: 1.OOP中唯一关系的是对象的接口是什么,就像计算机的销售商她不管电源内部结构是怎样的,他只关系能否给你提供电就行了,也就是只要知道can or not而不是how and why.所有的程序是由一定的属性和行为对象组成的,不同的对象的访问通过函数调用来完成,对象间所有的交流都是通过方法调用,通过对封装对象数据,很大限度上提高复用率。 2.OOP中最重要的思想是类,类是模板是蓝图,
- jedis 简单使用
antlove
javarediscachecommandjedis
jedis.RedisOperationCollection.java
package jedis;
import org.apache.log4j.Logger;
import redis.clients.jedis.Jedis;
import java.util.List;
import java.util.Map;
import java.util.Set;
pub
- PL/SQL的函数和包体的基础
百合不是茶
PL/SQL编程函数包体显示包的具体数据包
由于明天举要上课,所以刚刚将代码敲了一遍PL/SQL的函数和包体的实现(单例模式过几天好好的总结下再发出来);以便明天能更好的学习PL/SQL的循环,今天太累了,所以早点睡觉,明天继续PL/SQL总有一天我会将你永远的记载在心里,,,
函数;
函数:PL/SQL中的函数相当于java中的方法;函数有返回值
定义函数的
--输入姓名找到该姓名的年薪
create or re
- Mockito(二)--实例篇
bijian1013
持续集成mockito单元测试
学习了基本知识后,就可以实战了,Mockito的实际使用还是比较麻烦的。因为在实际使用中,最常遇到的就是需要模拟第三方类库的行为。
比如现在有一个类FTPFileTransfer,实现了向FTP传输文件的功能。这个类中使用了a
- 精通Oracle10编程SQL(7)编写控制结构
bijian1013
oracle数据库plsql
/*
*编写控制结构
*/
--条件分支语句
--简单条件判断
DECLARE
v_sal NUMBER(6,2);
BEGIN
select sal into v_sal from emp
where lower(ename)=lower('&name');
if v_sal<2000 then
update emp set
- 【Log4j二】Log4j属性文件配置详解
bit1129
log4j
如下是一个log4j.properties的配置
log4j.rootCategory=INFO, stdout , R
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appe
- java集合排序笔记
白糖_
java
public class CollectionDemo implements Serializable,Comparable<CollectionDemo>{
private static final long serialVersionUID = -2958090810811192128L;
private int id;
private String nam
- java导致linux负载过高的定位方法
ronin47
定位java进程ID
可以使用top或ps -ef |grep java
![图片描述][1]
根据进程ID找到最消耗资源的java pid
比如第一步找到的进程ID为5431
执行
top -p 5431 -H
![图片描述][2]
打印java栈信息
$ jstack -l 5431 > 5431.log
在栈信息中定位具体问题
将消耗资源的Java PID转
- 给定能随机生成整数1到5的函数,写出能随机生成整数1到7的函数
bylijinnan
函数
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class RandNFromRand5 {
/**
题目:给定能随机生成整数1到5的函数,写出能随机生成整数1到7的函数。
解法1:
f(k) = (x0-1)*5^0+(x1-
- PL/SQL Developer保存布局
Kai_Ge
近日由于项目需要,数据库从DB2迁移到ORCAL,因此数据库连接客户端选择了PL/SQL Developer。由于软件运用不熟悉,造成了很多麻烦,最主要的就是进入后,左边列表有很多选项,自己删除了一些选项卡,布局很满意了,下次进入后又恢复了以前的布局,很是苦恼。在众多PL/SQL Developer使用技巧中找到如下这段:
&n
- [未来战士计划]超能查派[剧透,慎入]
comsci
计划
非常好看,超能查派,这部电影......为我们这些热爱人工智能的工程技术人员提供一些参考意见和思想........
虽然电影里面的人物形象不是非常的可爱....但是非常的贴近现实生活....
&nbs
- Google Map API V2
dai_lm
google map
以后如果要开发包含google map的程序就更麻烦咯
http://www.cnblogs.com/mengdd/archive/2013/01/01/2841390.html
找到篇不错的文章,大家可以参考一下
http://blog.sina.com.cn/s/blog_c2839d410101jahv.html
1. 创建Android工程
由于v2的key需要G
- java数据计算层的几种解决方法2
datamachine
javasql集算器
2、SQL
SQL/SP/JDBC在这里属于一类,这是老牌的数据计算层,性能和灵活性是它的优势。但随着新情况的不断出现,单纯用SQL已经难以满足需求,比如: JAVA开发规模的扩大,数据量的剧增,复杂计算问题的涌现。虽然SQL得高分的指标不多,但都是权重最高的。
成熟度:5星。最成熟的。
- Linux下Telnet的安装与运行
dcj3sjt126com
linuxtelnet
Linux下Telnet的安装与运行 linux默认是使用SSH服务的 而不安装telnet服务 如果要使用telnet 就必须先安装相应的软件包 即使安装了软件包 默认的设置telnet 服务也是不运行的 需要手工进行设置 如果是redhat9,则在第三张光盘中找到 telnet-server-0.17-25.i386.rpm
- PHP中钩子函数的实现与认识
dcj3sjt126com
PHP
假如有这么一段程序:
function fun(){
fun1();
fun2();
}
首先程序执行完fun1()之后执行fun2()然后fun()结束。
但是,假如我们想对函数做一些变化。比如说,fun是一个解析函数,我们希望后期可以提供丰富的解析函数,而究竟用哪个函数解析,我们希望在配置文件中配置。这个时候就可以发挥钩子的力量了。
我们可以在fu
- EOS中的WorkSpace密码修改
蕃薯耀
修改WorkSpace密码
EOS中BPS的WorkSpace密码修改
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 201
- SpringMVC4零配置--SpringSecurity相关配置【SpringSecurityConfig】
hanqunfeng
SpringSecurity
SpringSecurity的配置相对来说有些复杂,如果是完整的bean配置,则需要配置大量的bean,所以xml配置时使用了命名空间来简化配置,同样,spring为我们提供了一个抽象类WebSecurityConfigurerAdapter和一个注解@EnableWebMvcSecurity,达到同样减少bean配置的目的,如下:
applicationContex
- ie 9 kendo ui中ajax跨域的问题
jackyrong
AJAX跨域
这两天遇到个问题,kendo ui的datagrid,根据json去读取数据,然后前端通过kendo ui的datagrid去渲染,但很奇怪的是,在ie 10,ie 11,chrome,firefox等浏览器中,同样的程序,
浏览起来是没问题的,但把应用放到公网上的一台服务器,
却发现如下情况:
1) ie 9下,不能出现任何数据,但用IE 9浏览器浏览本机的应用,却没任何问题
- 不要让别人笑你不能成为程序员
lampcy
编程程序员
在经历六个月的编程集训之后,我刚刚完成了我的第一次一对一的编码评估。但是事情并没有如我所想的那般顺利。
说实话,我感觉我的脑细胞像被轰炸过一样。
手慢慢地离开键盘,心里很压抑。不禁默默祈祷:一切都会进展顺利的,对吧?至少有些地方我的回答应该是没有遗漏的,是不是?
难道我选择编程真的是一个巨大的错误吗——我真的永远也成不了程序员吗?
我需要一点点安慰。在自我怀疑,不安全感和脆弱等等像龙卷风一
- 马皇后的贤德
nannan408
马皇后不怕朱元璋的坏脾气,并敢理直气壮地吹耳边风。众所周知,朱元璋不喜欢女人干政,他认为“后妃虽母仪天下,然不可使干政事”,因为“宠之太过,则骄恣犯分,上下失序”,因此还特地命人纂述《女诫》,以示警诫。但马皇后是个例外。
有一次,马皇后问朱元璋道:“如今天下老百姓安居乐业了吗?”朱元璋不高兴地回答:“这不是你应该问的。”马皇后振振有词地回敬道:“陛下是天下之父,
- 选择某个属性值最大的那条记录(不仅仅包含指定属性,而是想要什么属性都可以)
Rainbow702
sqlgroup by最大值max最大的那条记录
好久好久不写SQL了,技能退化严重啊!!!
直入主题:
比如我有一张表,file_info,
它有两个属性(但实际不只,我这里只是作说明用):
file_code, file_version
同一个code可能对应多个version
现在,我想针对每一个code,取得它相关的记录中,version 值 最大的那条记录,
SQL如下:
select
*
- VBScript脚本语言
tntxia
VBScript
VBScript 是基于VB的脚本语言。主要用于Asp和Excel的编程。
VB家族语言简介
Visual Basic 6.0
源于BASIC语言。
由微软公司开发的包含协助开发环境的事
- java中枚举类型的使用
xiao1zhao2
javaenum枚举1.5新特性
枚举类型是j2se在1.5引入的新的类型,通过关键字enum来定义,常用来存储一些常量.
1.定义一个简单的枚举类型
public enum Sex {
MAN,
WOMAN
}
枚举类型本质是类,编译此段代码会生成.class文件.通过Sex.MAN来访问Sex中的成员,其返回值是Sex类型.
2.常用方法
静态的values()方