sys.sp_validname

general
#stored-procedure

Description

Checks for valid SQL Server identifier names. All nonbinary and nonzero data, including Unicode data that can be stored by using the accepted as valid characters for identifier names. , can’t be an empty string, and can’t contain a binary-zero character. Specifies whether to raise an error. causes no error messages to appear.

Syntax

sp_validname
[ @name = ]
N
'name'
[ , [ @raise_error = ] raise_error ]
[ ; ]

Permissions