Click or drag to resize

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
)

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: String
A safe name to use in a SQL statement
See Also