
text/ntext/image处理
zjcxc
这个作者很懒,什么都没留下…
展开
-
无组件实现文件上传/下载
==================================================================-- 用ASP实现无组件上传/下载文件 功能简介 将上传的文件数据保存到数据库中,可以处理表单中的多个上传文件的情况 适用于各种数据库,使用ADO的方法连接数据库 本示例中使用的是ACCESS数据库:zj.mdb 表:tb_img(id int(原创 2003-12-29 17:29:00 · 4618 阅读 · 5 评论 -
数据库中存储与读取文件
if exists (select * from dbo.sysobjects where id = object_id(N[dbo].[p_binaryIO]) and OBJECTPROPERTY(id, NIsProcedure) = 1)drop procedure [dbo].[p_binaryIO]GO/*--bcp 实现二进制文件的导入导出 支持image,text,ntex原创 2003-12-29 17:29:00 · 7449 阅读 · 4 评论 -
数据库中存取文件
***************************************************************************** 使用 ADODB.Stream 保存/读取文件到数据库** 引用 Microsoft ActiveX Data Objects 2.5 Library 及以上版本**** ----- 数据库连接字符串模板 -------------原创 2003-12-29 17:29:00 · 3974 阅读 · 1 评论 -
ntext搜索关键字
/*--ntext搜索 按 tb 表中的 keyword 在 ta 中查找 content 列出每个 keyword 在 content 中的具体位置--邹建 2004.07(引用请保留此信息)--*/--测试数据create table ta(id int identity(1,1),content ntext)insert ta select 我是中国人我是中国人union all原创 2004-07-16 09:22:00 · 3050 阅读 · 1 评论 -
Ntext字段拆分处理
if exists (select * from dbo.sysobjects where id = object_id(N[dbo].[p_split]) and OBJECTPROPERTY(id, NIsProcedure) = 1)drop procedure [dbo].[p_split]GO/*--Ntext字段拆分处理 按指定的分隔符,将 ntext 字段拆分成多条记原创 2004-07-16 09:25:00 · 3014 阅读 · 0 评论 -
模拟字符串处理函数 stuff 处理 Ntext 字段
if exists (select * from dbo.sysobjects where id = object_id(N[dbo].[p_stuff]) and OBJECTPROPERTY(id, NIsProcedure) = 1)drop procedure [dbo].[p_stuff]GO/*--Ntext字段处理 模拟字符串处理函数 stuff 完成表中 ntext原创 2004-07-16 09:27:00 · 2740 阅读 · 0 评论 -
逐记录导出text/ntext字段值为文本文件
/*--原帖地址:http://community.youkuaiyun.com/Expert/topic/3851/3851741.xml?temp=.4726831--*/--测试数据create table tb(id varchar(50) primary key,detail text)insert tb select aaa,11111union all select bbb,4原创 2005-03-16 09:30:00 · 3937 阅读 · 1 评论 -
在Text字段尾部追加数据
在Text字段尾部追加数据 问题描述: 表 tt 含字段 name1 text 类型 name2 varchar类型 (值可能为 null),现要将 name2的值添加到 name1里边。--示例数据create table tb(name1 text,name2 varchar(20)) insert tb select aa,dd union all select bb,c原创 2005-05-30 20:58:00 · 5315 阅读 · 0 评论