Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-07 17:43:58
Original
1197 people have browsed it

看到园子里一位朋友用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 ,香港虚拟主机,虚拟主机,美国空间

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template