Send feedback on this topic.
Teradata.Client.Provider
QuoteIdentifier Method



Teradata.Client.Provider Namespace > TdCommandBuilder Class : QuoteIdentifier Method
Unquoted identifier to escape imbedded quotes.
Returns a properly formatted identifier by properly escaping imbedded quotes.
Syntax
'Declaration
 
Public Overrides NotOverridable Function QuoteIdentifier( _
   ByVal unquotedIdentifier As String _
) As String
'Usage
 
Dim instance As TdCommandBuilder
Dim unquotedIdentifier As String
Dim value As String
 
value = instance.QuoteIdentifier(unquotedIdentifier)
public override string QuoteIdentifier( 
   string unquotedIdentifier
)
public:
String^ QuoteIdentifier( 
   String^ unquotedIdentifier
) override 

Parameters

unquotedIdentifier
Unquoted identifier to escape imbedded quotes.

Return Value

The quoted identifier.
Exceptions
ExceptionDescription
The unquotedIdentifier is null.
Remarks
This method supports different prefix and suffix values, but Teradata does not support different values such as [ and ]. TdCommandBuilder.QuotePrefix and TdCommandBuilder.QuoteSuffix are both equal and only permit setting the values to the double quote character value.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdCommandBuilder Class
TdCommandBuilder Members