---塗聚文 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 @AreaUid='37A1DA94-4AC6-4ED0-B96F-BA3FE6AEACC8'
set @allstring= cast(@AreaUid as char(255))
select @allstring
--塗聚文 Geovin Du
declare @allstring char(255),@AreaUid Uniqueidentifier,@s varchar(200)
set @AreaUid='37A1DA94-4AC6-4ED0-B96F-BA3FE6AEACC8'
set @allstring= CONVERT(char(255),@AreaUid)
set @s=cast(@allstring as varchar(200))
select @allstring,@s
--塗聚文 Geovin Du
declare @allstring char(255),@AreaUid Uniqueidentifier,@s varchar(200)
set @AreaUid='37A1DA94-4AC6-4ED0-B96F-BA3FE6AEACC8'
select @s=CONVERT(varchar(200),cast(@AreaUid as char(225)))
select @s

相关文章:

  • 2021-08-10
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-18
  • 2021-11-05
  • 2021-12-16
  • 2022-12-23
  • 2021-06-09
相关资源
相似解决方案