SQLCLR:
SELECT [dbo].[StateProvinceRandom] (<@stateProvince, nvarchar(4000)>)
Data: Valid USA state or territory name or code or Valid Canadian Province (based on ISO 3166-1)
Generic USA or Canadian state/province or USA territory name (format depends on input, based on ISO 3166-1) (nvarchar(MAX))
Returns an empty string when passing empty or NULL value. Fails on invalid state/province name or code
SQLCLR:
SELECT [dbo].[StateProvinceRandom] ('Texas')
CLR Reference: State Province
Copyright © 2025 Hush-Hush. All rights reserved
Copyright © 2025 Hush-Hush.
All rights reserved