上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 48 下一页

2017年3月2日

摘要: 1.首先rownum是一个查询缓存级别的东西,所以以下写法是错误的 select rownum rn,a.* from student a where rn=2;奇怪了oracle的rownum没用了吗,开下脑洞,换个方向 select * from rsk_book where rownum>=2 and rownum=2,那么默认第一条不成立,就跳到第二条,结果第二条的rownum又是从... 阅读全文
posted @ 2017-03-02 23:13 听哥哥的话 阅读(378) 评论(1) 推荐(0)

2017年2月28日

摘要: 1.建立表空间, create tablespace "NETHRA" DATAFILE 'D:\DataBase\Oracle\iClass\iclass\iclass.DBF' SIZE 100M AUTOEXTEND ON NEXT 10M 2.创建用户并授权 CREATE USER "NETHRA" PROFILE "DEFAULT" IDENTIFIED BY "ne... 阅读全文
posted @ 2017-02-28 08:51 听哥哥的话 阅读(171) 评论(0) 推荐(0)
摘要: --查询死锁 select sess.sid, sess.serial#, lo.oracle_username, lo.os_user_name, ao.object_name, lo.locked_mode from v$locked_object lo, dba_objects ao, v$session s... 阅读全文
posted @ 2017-02-28 08:50 听哥哥的话 阅读(136) 评论(0) 推荐(0)

2017年2月24日

摘要: 1.服务契约的定义 /* Copyright (c) 2014 HaiHui Software Co., Ltd. All rights reserved * * Create by huanglc@holworth.com at 2014-10-14 10:09:00 * */ using System; using System.Collections.Generic; usi... 阅读全文
posted @ 2017-02-24 11:00 听哥哥的话 阅读(147) 评论(0) 推荐(0)
摘要: private static byte[] CompressionObject(object DataOriginal) { if (DataOriginal == null) return null; BinaryFormatter bFormatter = new BinaryFormatter(); ... 阅读全文
posted @ 2017-02-24 10:36 听哥哥的话 阅读(153) 评论(0) 推荐(0)
摘要: CREATE PUBLIC DATABASE LINK MYDBLINK CONNECT TO RAMS IDENTIFIED BY RAMS USING '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS =(PROTOCOL = TCP)(HOST = 192.168.2.252)(PORT = 1521)))(CONNECT_DATA =(SID = hrarel... 阅读全文
posted @ 2017-02-24 09:35 听哥哥的话 阅读(134) 评论(0) 推荐(0)

2017年2月19日

摘要: 原文 http://www.cr173.com/html/15350_1.html 阅读全文
posted @ 2017-02-19 18:43 听哥哥的话 阅读(189) 评论(0) 推荐(0)

2017年1月19日

摘要: 1.创建一个两个数据库之间的dblink,语法如下 create database link to_test connect to scott identified by tiger using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.5)(PORT = 1521))... 阅读全文
posted @ 2017-01-19 17:15 听哥哥的话 阅读(243) 评论(0) 推荐(0)

2017年1月18日

摘要: using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace ConsoleA... 阅读全文
posted @ 2017-01-18 18:03 听哥哥的话 阅读(342) 评论(0) 推荐(0)

2017年1月9日

摘要: http://www.cnblogs.com/jianglan/archive/2011/08/11/2135023.html 在写LINQ语句的时候,往往会看到.AsEnumerable() 和 .AsQueryable() 。 例如: 复制代码 string strcon = "Data Source=.\\SQLEXPRESS;Initial Catalog=Db_Example;Per... 阅读全文
posted @ 2017-01-09 22:22 听哥哥的话 阅读(335) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 48 下一页

导航