Jaa


SqlSystem.sqlLiteral Method

Definition

Overloads

sqlLiteral(Object, Boolean, Boolean, Boolean)
sqlLiteral(Object)

Formats the input AX datatype to correct SQL type.

sqlLiteral(Object, Boolean)
sqlLiteral(Object, Boolean, Boolean)
sqlLiteral(Object, Boolean, Boolean, Boolean, Int32)

sqlLiteral(Object, Boolean, Boolean, Boolean)

public:
 virtual System::String ^ sqlLiteral(System::Object ^ obj1, bool flag1, bool flag2, bool flag3);
public virtual string sqlLiteral (object obj1, bool flag1, bool flag2, bool flag3);
abstract member sqlLiteral : obj * bool * bool * bool -> string
override this.sqlLiteral : obj * bool * bool * bool -> string
Public Overridable Function sqlLiteral (obj1 As Object, flag1 As Boolean, flag2 As Boolean, flag3 As Boolean) As String

Parameters

obj1
Object
flag1
Boolean
flag2
Boolean
flag3
Boolean

Returns

Applies to

sqlLiteral(Object)

Formats the input AX datatype to correct SQL type.

public:
 virtual System::String ^ sqlLiteral(System::Object ^ obj1);
public virtual string sqlLiteral (object obj1);
abstract member sqlLiteral : obj -> string
override this.sqlLiteral : obj -> string
Public Overridable Function sqlLiteral (obj1 As Object) As String

Parameters

obj1
Object

Returns

The formatted SQL type string.

Applies to

sqlLiteral(Object, Boolean)

public:
 virtual System::String ^ sqlLiteral(System::Object ^ obj1, bool flag1);
public virtual string sqlLiteral (object obj1, bool flag1);
abstract member sqlLiteral : obj * bool -> string
override this.sqlLiteral : obj * bool -> string
Public Overridable Function sqlLiteral (obj1 As Object, flag1 As Boolean) As String

Parameters

obj1
Object
flag1
Boolean

Returns

Applies to

sqlLiteral(Object, Boolean, Boolean)

public:
 virtual System::String ^ sqlLiteral(System::Object ^ obj1, bool flag1, bool flag2);
public virtual string sqlLiteral (object obj1, bool flag1, bool flag2);
abstract member sqlLiteral : obj * bool * bool -> string
override this.sqlLiteral : obj * bool * bool -> string
Public Overridable Function sqlLiteral (obj1 As Object, flag1 As Boolean, flag2 As Boolean) As String

Parameters

obj1
Object
flag1
Boolean
flag2
Boolean

Returns

Applies to

sqlLiteral(Object, Boolean, Boolean, Boolean, Int32)

public:
 virtual System::String ^ sqlLiteral(System::Object ^ _data, bool _forWhereClause, bool _likeOperand, bool _rightJustify, int _stringLength);
public virtual string sqlLiteral (object _data, bool _forWhereClause, bool _likeOperand, bool _rightJustify, int _stringLength);
abstract member sqlLiteral : obj * bool * bool * bool * int -> string
override this.sqlLiteral : obj * bool * bool * bool * int -> string
Public Overridable Function sqlLiteral (_data As Object, _forWhereClause As Boolean, _likeOperand As Boolean, _rightJustify As Boolean, _stringLength As Integer) As String

Parameters

_data
Object

The length of the string. By default equals zero.

_forWhereClause
Boolean

The length of the string. By default equals zero.

_likeOperand
Boolean

The length of the string. By default equals zero.

_rightJustify
Boolean

The length of the string. By default equals zero.

_stringLength
Int32

The length of the string. By default equals zero.

Returns

Applies to