随笔分类 -  Database

摘要:综合 SQL Server Skills – Immerse yourself in sql server (一篇汇聚) Featured Database Articles (本身就是篇汇聚) SQL Server @DatabaseJournal SQL Server Central 很不错的网站 SQL Tips | Tutorials 英文教程 微软:SQL Sever Magazine ... 阅读全文
posted @ 2011-03-06 14:02 Elaine Shi 阅读(1807) 评论(4) 推荐(4) 编辑
摘要:代码http://blog.sqlauthority.com/2007/05/06/sql-server-udf-function-to-convert-list-to-table/ 阅读全文
posted @ 2010-05-21 10:28 Elaine Shi 阅读(195) 评论(0) 推荐(0) 编辑
摘要:1、将大量数据拆分成多个列表结果集代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--DECLARE@tINT,@btINT,@dvINTSET@dv=100SELECT@bt=COUNT(*)FROMsys.objectsIF(@bt%@dv)<... 阅读全文
posted @ 2010-04-18 21:41 Elaine Shi 阅读(183) 评论(0) 推荐(0) 编辑
摘要:/Files/syveen/SpellCode.rar原贴:http://www.oracle.com.cn/viewthread.php?tid=81825 阅读全文
posted @ 2007-07-05 17:15 Elaine Shi 阅读(1019) 评论(0) 推荐(0) 编辑
摘要:selectfield1fromtable1groupbyfield1havingcount(field1)>0得出table1表中field1字段重复的数据。如field1112113124242113124得出结果为field1113124 阅读全文
posted @ 2006-06-13 17:14 Elaine Shi 阅读(2306) 评论(8) 推荐(1) 编辑
摘要:ORACLE中函数 --作者: haixiao ouyang 2004-09-17   Oracle已经内建了许多函数,不同的函数有不同的作用和用法,有的函数只能作用在一个记录行上,有的能够作用在多个记录行上,不同的函数可能处理不同的数据类型。常见的有两类,单行函数和分组函数 。 单行函数:单行函数分类函数功能示例字符函数LPAD(<c1>,<i>[,<c2>... 阅读全文
posted @ 2006-01-11 09:18 Elaine Shi 阅读(1677) 评论(1) 推荐(0) 编辑
摘要:create or replace type strcat_type as object ( cat_string varchar2(4000), static function ODCIAggregateInitialize(cs_ctx In Out strcat_type) return number, member function ODCIAggregateIterate(self In... 阅读全文
posted @ 2005-11-25 12:59 Elaine Shi 阅读(994) 评论(0) 推荐(0) 编辑
摘要:http://www.oradb.net/oraweb.htm 阅读全文
posted @ 2005-10-22 18:02 Elaine Shi 阅读(286) 评论(0) 推荐(0) 编辑
摘要:安装完ASP.NET,Oracle9i客户端后,使用System.Data.OracleClient访问Oracle数据库如果出现这种错误: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.原因Oracle 9i Release 2 客户端在安装到Windows的NTFS分区下时的... 阅读全文
posted @ 2005-10-13 11:50 Elaine Shi 阅读(3576) 评论(6) 推荐(0) 编辑
摘要:> 数据类型:raw: 用来存储非结构化数据的变长字符数据,最大长2000byteslong raw: 同raw,最大长2GB blob: 非结构化的二进制数据,4GB : imageclob: 字符数据,4GB : textnclob: Unicode字符数据,4GB : ntextbfile: 用来把非结构化的二进制数据存储在数据库以外的操作系统文件中,4GB oracle在数据库中只存储文件指针,实际的文件存储在操作系统的外部文件中urowid: 用来存储表示任何类型列地址的二数据,可以是物理的,逻辑的或外部的>> PL/SQL:DECLARE //声明 maxrec 阅读全文
posted @ 2005-09-21 09:48 Elaine Shi 阅读(558) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示