Package mod.tsql

Examples of mod.tsql.TsqlInterpreter


public class Tsql
{
    static public void main(String[] aArgs)
        throws IOException
    {
        TsqlInterpreter tTsql = new TsqlInterpreter();
        tTsql.handleMain(aArgs);

     }
View Full Code Here


    /** Example of using Tsql from Java. */
    static public void example()
        throws IOException
    {
        TsqlInterpreter tTsql = new TsqlInterpreter();
        tTsql.initialize(new String[] {
            "-S", "jdbc:sybase:Tds:junkie.base.de:5678/MyDB",
            "-U", "User",
            "-P", "Pass"
        });
        tTsql.execute(
            "select count(*) from members\n"
            + "select nick, authtype from members where nick like 'name%'\n"
            + "!echo End of test.\n");
    }
View Full Code Here

TOP

Related Classes of mod.tsql.TsqlInterpreter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.