Export (0) Print
Expand All

TSqlParser.ValidateIdentifier Method

Returns whether a name is a valid SQL identifier.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

'Declaration
Public Function ValidateIdentifier ( _
	name As String _
) As Boolean
'Usage
Dim instance As TSqlParser 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.ValidateIdentifier(name)

Parameters

name
Type: String
The string to be validated.

Return Value

Type: Boolean
true if the provided name is a valid SQL identifier; otherwise, false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft