DataToSQLString Method
Converts a value into a text string for SQL and can add quotes.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string ToSQLString(
Object value,
bool addQuotes = true
)
Public Shared Function ToSQLString (
value As Object,
Optional addQuotes As Boolean = true
) As String
- value Object
- Value to convert.
- addQuotes Boolean (Optional)
- Indicates whether quotes should be added.
StringString with the value converted.
Can return or 'SQL example.', 'SQL ''demo'' example.'.