SqlHelperGetConvert Method |
Gets the convert expression.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntaxpublic static string GetConvert(
string value,
string type
)
Parameters
- value
- Type: SystemString
Value to be converted - type
- Type: SystemString
Type the value should be converted to
Return Value
Type:
String
ExamplesGetConvert("ActivityValue", "INT")
returns CONVERT(INT, ActivityValue)
See Also