天极Yesky
  • 笔记本电脑
    笔记本
  • 台式电脑
    台式机
  • 手机
    手机
  • 电脑硬件DIY
    DIY硬件
  • CPU
    主板
    音箱
  • 硬盘
    显卡
    键鼠
  • 内存光驱
    显示器
    机箱电源

  • 数码相机DC
    数码相机
  • MP3播放器
    MP3/MP4
  • 数码摄像机DV
    摄像机
  • 电脑外设
    外设
  • 网络
    网络
  • 服务器
    服务器
  • 数字家庭
    数字家庭
  • 群乐
    群乐
  • 产品报价 行情 商家 新闻 评测 | 软件 设计 网页 开发 安全 论坛 E时代 游戏 图片 壁纸 下载 网摘 博客 索尼专区 Vista 科技奥运
    天极网
    Run SQL on a remote database with osql
    作者: James Wilkie
    出处:
    责任编辑:
    [ 2004-06-17 18:47 ]


    Instead of using Client Server and its Query Analyzer to run SQL statements on a remote MS SQL Server 7 database, I find it easier to use osql on the command line.

    I have installed a Unix-to-NT environment on my Client Server so now I can put the osql statements in a korn shell wrapper and output the results to an ASCII file. Now I have the full range of Unix commands to massage the data and create reports.

    I am using this method, for example, to monitor the download of software to 1900+ clients.

    For More Information

    • What do you think about this tip? E-mail us at editor@searchDatabase.com with your feedback.
    • The Best SQL Server Web Links: tips, tutorials, and much more.
    • Have another SQL Server tip to offer your fellow DBA's and developers? The best tips submitted will receive a cool prize--submit your tip today!
    • Do you have any technical questions about SQL Server administration or development? Post them--or help out your peers by answering them--in our live discussion forums.
    • Check out our new Ask the Experts feature! Our SQL Server gurus are waiting to answer your toughest SQL Server questions.
    笔名:
    请您注意:

     遵守国家有关法律、法规,尊重网上道德,承担一切因您的行为而直接或间接引起的法律责任。

     天极网拥有管理笔名和留言的一切权利。
    相关内容