SQL如何生成汉字列表
来源:互联网 发布:淘宝订单贷款逾期一天 编辑:程序博客网 时间:2024/05/16 19:46
use testdb
create table a(id int)
declare @i int
declare @n int
set @i = 1
set @n = 176
while (@i <= 71)
begin
insert a values(@n)
set @i = @i + 1
set @n = @n+1
end
select * from a
create table b(id int)
declare @i int
declare @n int
set @i = 1
set @n = 161
while (@i <= 94)
begin
insert b values(@n)
set @i = @i + 1
set @n = @n+1
end
select * from b
select count(*)
from (
select a.id as aid,cast(a.id as binary(1)) as abinary,b.id as bid,cast(b.id as binary(1)) as bbinary,
a.id+b.id as absum,
cast((cast(a.id as binary(1))+cast(b.id as binary(1))) as binary(2)) as prcch,
cast((cast(a.id as binary(1))+cast(b.id as binary(1))) as char(2)) as ch
from a,b
where
not(
a.id = 215 and b.id between 250 and 254
)
) as t
create table ab
(
aid int,
abinary binary(1),
bid int,
bbinary binary(1),
absum int,
prcch binary(2),
ch char(2)
)
select * from ab
- SQL如何生成汉字列表
- python如何生成列表
- 如何生成UTF-16汉字编码表
- 汉字列表
- word如何生成“目录列表”
- Sql server 如何得到汉字的声母
- Sql Server 生成连续的日期列表
- Sql中随机生成指定范围内的汉字
- 如何生成文件列表及合成文件
- 如何随机生成指定数目的国标汉字?
- java验证码中的数字、字母、汉字如何随机生成
- java验证码中的数字、字母、汉字如何随机生成
- ava验证码中的数字、字母、汉字如何随机生成
- 如何批量生成sql语句
- 所有汉字列表
- 汉字拼音列表分享
- 如何在SQL Server2000中处理半个汉字的问题
- 如何在SQL Server2000中处理半个汉字的问题
- The Standalone Programmer: Tips from the trenches(1)
- 一些值得收藏的网址
- STL概览-序列容器vector,deque,list(三)
- delphi中的快捷键大收集
- 2006.5.1-5.7完成了.
- SQL如何生成汉字列表
- 程序开发团队---危机篇
- .net三级联动不刷新效果
- SMARTY分页详解,希望听到掌声!!
- 全球军事搞笑图集!
- SQL汉字首字母查询处理用户定义函数
- 《3DS Model Viewer》最新进展
- 坐公交车,在北京画了个大V字
- 数据库时代的终结(转载)