Home >Database >Mysql Tutorial > T-SQL: 用26个字母表示10000条不重复的编号

T-SQL: 用26个字母表示10000条不重复的编号

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:43:581221browse

看到园子里一位朋友用newid()写的,(这里是原文): insert into T ( replace ( replace ( replace ( replace ( replace ( replace ( replace ( replace ( replace ( lower ( left ( replace ( newid (), , '' ), 20 )), , ), 1 , ), ), 3 , ), ), 5 , ), ), ),

看到园子里一位朋友用newid()写的,(这里是原文):

insert into T (replace(replace(replace(replace(replace(replace(replace(replace(replace(lower(left(replace(newid(), , ''), 20)), , ), 1, ), ), 3, ), ), 5, ), ), ), ), ) as col from sys.all_columns , sys.all_objects ,香港虚拟主机,虚拟主机,美国空间

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn