IsBase64

Checks whether a string is Base64 encoded.

  • Free Function
  • SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017

Syntax:

SELECT SQLHTTP.net.IsBase64 ( @Text )

Arguments:

Name Type Description
@Text nvarchar(MAX) String to be checked.

Return Type:

bit

Return Values:

0 = Text is NOT Base64 encoded
1 = Text IS Base64 encoded

Sample Usage:

See Also: