码迷,mamicode.com
首页 >  
搜索关键字:standby from active database    ( 75714个结果
ORA-28002: the password will expire within 7 days 解决方法(后面部分为拷贝,前面加上了自己遇到的问题的时候解决方案)
首先以管理员密码登录 如果发现仍然登录不进去了,可以将Oracle安装的Linux的系统时间提前,修改方法是: date -s 04/29/2014 date -s 17:52:00 clock -w   1. 查看用户的profile设置: SELECT username,profile FROM dba_users;   SELECT username,profil...
分类:其他好文   时间:2014-07-22 23:03:54    阅读次数:423
MSSQL查询第五条到第十条数据
查询数据库中第五条数据到第十条数据,分两种情况: 1,ID是连接的,当然这种情况比较好查。直接SELECT就可以了,取ID大于5小于10就可以了, 这种情况比较少。 2,ID不是连接的,如果要取第五条数据到第十条数据,就得从SQL查询SELECT着手 select top 10 * from TB1 where Id not in (select top 5 Id ...
分类:数据库   时间:2014-05-02 22:58:20    阅读次数:597
Leetcode: Remove Elements
一次性通过的,比较顺利,从读题到编写到检查到通过,14分50秒,我在不断进步中,相信经过一段时间联系,这种题可以一眼就写出来,不超过5分钟。这道题应该说方法跟 Remove Duplicates from sorted Array挺类似的My Solution: 1 public class Sol...
分类:其他好文   时间:2014-05-02 12:56:10    阅读次数:260
LeetCode - Trangle
这道题,采用动态规划算法。from top to down,把到每个节点的最小路径和都求出来。下面是AC代码: 1 /** 2 * Given a triangle, find the minimum path sum from top to bottom. 3 * Each ...
分类:其他好文   时间:2014-05-02 12:19:23    阅读次数:382
IOS 设置Launch image停留时间
- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. [NSThread sleepForTimeInte...
分类:移动开发   时间:2014-05-02 00:25:42    阅读次数:441
JDBC 基础知识总结
1. 何谓JDBC --- Java Database Connectivity. 由Sun 公司提供的访问数据库的一组java类和接口,用来对数据库进行链接、发送SQL语句、处理返回结果,为开发人员提供了统一的访问数据库入口API,使得开发人员可以不用绑定到特定数据库访问API。2. 应用程序,J...
分类:数据库   时间:2014-05-02 00:22:22    阅读次数:488
使用ssh过程中对数据库进行update时报错
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition...
分类:数据库   时间:2014-05-01 18:16:35    阅读次数:377
95行代码实现最大熵模型训练
关于最大熵模型的介绍请看:http://www.cnblogs.com/hexinuaa/p/3353479.html 下面是GIS训练算法的python实现,代码不到100行。 from collections import defaultdict import math class MaxEnt(object):     def __ini...
分类:其他好文   时间:2014-04-30 22:46:39    阅读次数:384
统计分析SQL Server Profiler 跟踪的SQL
--跟踪文件读入到表中分析 SELECT * INTO ZGSJY FROM fn_trace_gettable('E:\wxxcdbprofiler.trc', default); --某时间内,最耗时SQL select TOP 100 SUBSTRING(Textdata,1,660) as '名称', count(*) as '数量', sum(duration/1000) as '总执行...
分类:数据库   时间:2014-04-30 22:37:39    阅读次数:327
Teradata Express for VMware
1,按照vmware,导入系统(注意td提供的版本是64位的) 2,linux系统:root/root 3,配置ip: Enter a cop entry in the linux hosts file (/etc/hosts accessible from the linux command line in the VMware console, ie. c:>vi /etc/host...
分类:其他好文   时间:2014-04-30 22:13:39    阅读次数:503
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!