随笔分类 - 数据库
摘要:1.创建简单的对象类型create or replace type userInfoOther as object ( id number,--用户id cardid number,--身份证号码 gjjid number,-...
        阅读全文
                
摘要:首先查看pause命令打开 SQL> show pause PAUSE is OFF SQL> set pause on pause就是dos命令 查询时 如果数据超过 pagesize 就会暂停 直到回车 显示下一个pagesize 类似于团购网站的 拖动滚...
        阅读全文
                
摘要:oracle的define命令的使用查看define的帮助SQL> ? define DEFINE ------ Specifies a substitution variable and assigns a CHAR value to it, or lists th...
        阅读全文
                
摘要:实现同一个数据库不同用户间的表的拷贝 首先看下copy命令的解释SQL> help copy; COPY ---- Copies data from a query to a table in the same or another database. COPY su...
        阅读全文
                
摘要:首先 需要确认系统是否存在odbc for mysql的驱动开始-》设置-》控制面板-》数据源->系统DSN-》添加 看是否存在 MYSQL-ODBC-5.X ANSI或者UNICODE的驱动如果没有去 oracle注册个账号 http://dev.mysql.co...
        阅读全文
                
摘要:在oracle 11g中使用javasource 首先定义javaSourcecreate or replace and compile java source named "Encrypt1" asimport java.security.SecureRandom;...
        阅读全文
                
摘要:(一)深入浅出理解索引结构 实际上,您可以把索引理解为一种特殊的目录。微软的SQL SERVER提供了两种索引:聚集索引(clustered index,也称聚类索引、簇集索引)和非聚集索引(nonclustered index,也称非聚类索引、非簇集索...
        阅读全文
                
摘要:Oracle游标数错误解决ORA-00020: maximum number of processes (%s) 今天在使用过程中,oracle突然挂掉,再次尝试启动提示:ORA-00020: maximum number of processes (%s) exc...
        阅读全文
                
摘要:下载地址:http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html下载linux版本的rpm安装脚本 rpm -Uhv sqldeveloper-3.1....
        阅读全文
                
摘要:最近程序老是出现等待一会后 操作程序页面 出现下面异常org.springframework.dao.DataAccessResourceFailureException Io 异常: tConnection reset 通过测试是发现是dbcp连接池导致 因为服务器...
        阅读全文
                
                    
                
浙公网安备 33010602011771号