时间:2021-07-01 10:21:17 帮助过:157人阅读
如题 无 declare @len intset @len = LEN('SQL Server 2008')declare @n intset @n = 1while @n = @lenBEGINprint ascii(SUBSTRING('SQL Server 2008',@n,1))set @n = @n +1END
如题declare @len int set @len = LEN('SQL Server 2008') declare @n int set @n = 1 while @n <= @len BEGIN print ascii(SUBSTRING('SQL Server 2008',@n,1)) set @n = @n +1 END