极其简单:
建一个txt文件->扩展名改为.udl(通用数据链接文件)->双击打开, 如图:
输入帐户信息->勾选'允许保存密码'->测试连接成功之后'确定'保存->用记事本打开就有了:
[oledb]
; Everything after this line is an OLE DB initstring
Provider=SQLOLEDB.1;Password=******;Persist Security Info=True;User ID=sa;Initial Catalog=AdventureWorks;Data Source=******-PC