复制代码 代码如下: ---涂聚文 Geovin Du DECLARE @myid uniqueidentifier SET @myid = NEWID() SELECT CONVERT(char(255), @myid) AS 'char'; GO --涂聚文 Geovin Du declare @allstring char(255),@AreaUid Uniqueidentifier set
复制代码 代码如下: declare @bl decimal(10,6),@num int,@num1 int ,@str char(20),@str1 char(20),@str2 char(20),@str3 char(20),@zx int,@zx1 int set @bl=1110.10000 set @str1=ltrim(REVERSE(cast(@bl as char(30))))