VistaDB 6
VistaDB.Provider Namespace / VistaDBConnection Class / IsViewSyntaxCorrect Method
SQL Command Text
Line number in the text, where mistake occurred
Symbol number in the text, where mistake occurred
Error message


In This Topic
    IsViewSyntaxCorrect Method
    In This Topic
    Check SQL command correctness of CREATE VIEW statement
    Syntax
    'Declaration
     
    
    Public Function IsViewSyntaxCorrect( _
       ByVal text As System.String, _
       ByRef lineNo As System.Integer, _
       ByRef symbolNo As System.Integer, _
       ByRef errorMessage As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBConnection
    Dim text As System.String
    Dim lineNo As System.Integer
    Dim symbolNo As System.Integer
    Dim errorMessage As System.String
    Dim value As System.Boolean
     
    value = instance.IsViewSyntaxCorrect(text, lineNo, symbolNo, errorMessage)
    public System.bool IsViewSyntaxCorrect( 
       System.string text,
       out System.int lineNo,
       out System.int symbolNo,
       out System.string errorMessage
    )

    Parameters

    text
    SQL Command Text
    lineNo
    Line number in the text, where mistake occurred
    symbolNo
    Symbol number in the text, where mistake occurred
    errorMessage
    Error message

    Return Value

    Returns true if syntax is correct otherwise returns false
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also