PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Preparses the query the way it will be preparsed normally before the query is send to the database.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[]
public static string Preparse(
	string connectionId,
	string query
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Function Preparse ( _
	connectionId As , _
	query As  _
) As 

Parameters

connectionId
String
The connection id of a databsae connection.
query
String
The query that will be preparsed.

Return Value

Returns the query after it has been processed by the Query Preparser.

Remarks

The Query Preparser attempts to convert SqlServer queries to Oracle queries and the other way around. The Query Preparser isn't able to convert all possible sql queries but it can convert many small common differences. This helps when you are having problems executing queries in a cross dbms site.

See Also

Advanced