osqlUtility(osql工具)

发表于:2007-05-25来源:作者:点击数: 标签:
osql 工具允许输入T_ SQL 语句,系统过程和文本文件,osql 用ODBC与 服务器 通信 The osql utility allows you to enter Transact-SQL statements, system procedures, and script files. This utility uses ODBC to communicate with the server. 语法: os

osql 工具允许输入T_SQL语句,系统过程和文本文件,osql 用ODBC与服务器通信
The osql utility allows you to enter Transact-SQL statements, system procedures, and script files. This utility uses ODBC to communicate with the server.

语法:
osql
    [-?] |
    [-L] |
    [
        {
            {-U login_id [-P password]}
            | E        }
        [-S server_name[\instance_name]] [-H wksta_name] [-d db_name]
        [-l time_out] [-t time_out] [-h headers]
        [-s col_separator] [-w column_width] [-a packet_size]
        [-e] [-I] [-D data_source_name]
        [-c cmd_end] [-q "query"] [-Q "query"]
        [-n] [-m error_level] [-r {0 | 1}]
        [-i input_file] [-o output_file] [-p]
        [-b] [-u] [-R] [-O]
    ]

 


原文转自:http://www.ltesting.net