EAPUtilSafeSQLName Method |
Escapes the object name with square brackets [] if the word is reserved or contains a reserved character.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string SafeSQLName(
string name,
DBMSType dbmsType
)
Public Shared Function SafeSQLName (
name As String,
dbmsType As DBMSType
) As String
Parameters
- name
- Type: SystemString
The name of the object to escape. - dbmsType
- Type: NetQuarryDBMSType
The DBMS for which reserved words should be escaped.
Return Value
Type:
StringA safe name to use in a SQL statement
See Also