当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: ---居然看到有人用游标,SQL就能搞定----createt
 

 

 ·字符串函数大全    »显示摘要«
    摘要: 首部 function ansiresemblestext(const atext, aother: string): boolean; $[strutils.pas 功能 返回两个字符串是否相似 说明 ansi(american national standards institute)美国国家标准协会;不区分大小写 参考 function strutils.soundexproc; var......
    摘要: if not exists (select * from dbo.sysobjects where id = object_id(n[indextable]) and objectproperty(id, nisusertable) = 1)create table indextable(ex char(20), num integer) go create procedure setind......


SQLServer中按某字段排列名次
---居然看到有人用游标,sql就能搞定----

【程序编程相关:DELPHI7 如何在编写可视组件中传递

【推荐阅读:连接字符串

create table test 【扩展信息:先人的DELPHI基础开发技巧

(f1 char(10),

 f2 char(10))

--测试表

insert into test 

select a f1,1 f2

union

select b f1,2 f2

union

select c f1,3 f2

union

select d f1,3 f2

union

select e f1,4 f2

union

select f f1,4 f2

union

select g f1,4 f2

union

select h f1,7 f2

union

select i f1,9 f2

--插入数据

select id=identity(int,0,1),f1,f2 into #t from test order by f2 desc


...   下一页
    摘要: borland亚太地区产品总监的旧文章:让用户可用脚本控制你的应用程序 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE