I doubt, since SQL Server does not know these are numbers, add a numeric column, so if the first column is "一", you put 1 in the second column, and so no,....
解决方案 »
- 项目需要外包
- rave怎样支持jpg格式的字段?
- 集合所有用Delphi做Office开发者的精妙技巧,强力对抗阵营!!
- 我刚从BED转到ADO,请问有没有控件能代替TBatchMove的功能(在线等待)
- 如何把字符串放进资源文件中
- 使用mediaplayer播放mp3时,如何控制左右声道的问题?高手请关注!!!
- 如何让Delphi做的多媒体播放器程序不用指定初始文件而能正常运行?
- 报表高手请进!
- 各位DX,谁知道DELPHI6的serial number和authorization key?
- 怎么将程序最小化到系统托盘
- 如何得到表中一个字段的最小值?
- ?那位高手知道如何将压缩的医学影像格式dicom 3.0 文件(大约N百张连续影像)转为avi格式?[
from
(
select A,B,C,...,rq=case X
when '一' then 1
when '二' then 2
when '三' then 3
when '四' then 4
when '五' then 5
when '六' then 6
when '七' then 7
end
)
order by rq
你的CASE X,这个X是什么东西,还有表名TABLE怎么没有用到
select *
from
(
select A,B,C,...,rq=case VOYAGE
when '一' then 1
when '二' then 2
when '三' then 3
when '四' then 4
when '五' then 5
when '六' then 6
when '七' then 7
end
from TableName
)
order by rq
when '一' then 1
when '二' then 2
when '三' then 3
when '四' then 4
when '五' then 5
when '六' then 6
when '七' then 7
end
from TableName
order by rq
when '一' then 1
when '二' then 2
when '三' then 3
when '四' then 4
when '五' then 5
when '六' then 6
when '七' then 7
end
from TableName
order by VOYAGE
这样写也可以吧,因为我的字段很多,不想列出来