首页 > 开发 > 综合 > 正文

osql Utility(osql 工具)

2024-07-21 02:11:33
字体:
来源:转载
供稿:网友

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]
    ]

 

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表