• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

Emacs 连接sql server 2000数据库

发布: 2007-7-02 11:08 | 作者: admin | 来源: | 查看: 13次 | 进入软件测试论坛讨论

领测软件测试网
读者对象:希望你对EMACS有一定了解,俺不打算解释什么是A-X之类的冬冬
用EMACS作为客户端连接SQL SERVER,我敢说EMACS是最好的命令行形式的客户端!
1。a-x sql-ms
输入用户名,密码,server地址,db名称
因为安装sql server 的时候用的是混合验证模式,所以有用户名和密码,如果是windows验证模式呢?则不太清楚
2。新建一个buffer,比如叫mysql,启用sql-mode(a-x sql-mode)
3。在my sql 中写一个sql语句:select * from T_TEST;  GO 然后c-c c-b,一定要写GO才会执行

PS:其他的一些经验:Roy Mathew先生的原话(zz):)
I don@#t use MS SQL, but the first thing I would check is to see if the
command line (isql?) works correctly. I would also get the latest version
of emacs and the latest version of sql-mode.el

Check the values of the variables `sql-ms-program@#.  Login uses the
variables `sql-user@#, `sql-password@#, `sql-database@#, and `sql-server@#
as defaults, if set.

Also try testing by typing a SQL command directly into the *SQL*
buffer; maybe your choice of SQL statement terminator is the problem.

====================
isql 是cmd下的连接sql server 2000的客户端,可以在cmd下敲isql命令使用,可以在MSDN中察看相关的使用方法。

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网