SQL Server (MSSQL) client Tools two command-line logon methods for logging into the database

Source: Internet
Author: User
Tags mssql

After we have installed the SQL Server servers and the server client tools, you can log in to the database using two command-line methods:

>sqlwb-s servername or Ip-e #使用当前windows系统的账户登录sqlserver服务器

Such as:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/79/68/wKiom1aQfTaT1dS7AADo5sJ4YSk344.png "style=" float: none; "title=" QQ picture 20160109112137.png "alt=" Wkiom1aqftat1ds7aado5sj4ysk344.png "/>



>sqlwb-s servername or ip-u username-p password #使用数据库账户和密码登录sqlserver服务器

Such as:

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/79/68/wKiom1aQfTeDAUdRAAD7Fy0Va9Q974.png "title=" QQ picture 20160109112243.png "style=" Float:none; "alt=" Wkiom1aqftedaudraad7fy0va9q974.png "/>


PS: After installing the SQL Server database, the default SA account cannot log on, and the database service configuration needs to be adjusted. If you do not know the configuration, you can find the way on the Internet (online information is very miscellaneous); I will also publish my configuration in a later blog.

This article is from "Love the Pig" blog, please be sure to keep this source http://ifconfig007.blog.51cto.com/11026101/1733186

SQL Server (MSSQL) client Tools two command-line logon methods for logging into the database

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.