SQL Server Database 002-sql server R2 connection string

Source: Internet
Author: User
Tags management studio sql server management sql server management studio

The database is installed and the connection string is required for use in the program. How to write it? Take SQL Server R2 as an example.
1, after installing SQL Server R2, similar to Oracle's Plsql tool. SQL Server R2 also has tools, that is, SQL Server Management Studio,


2. After opening SQL Server Management Studio,


The server, user name, and password are all entered at the time of installation.


3, enter the interface, you can create your own database name, you can also click the attachment to import the existing database (MDF file).

Or




4. For example, create a new database here named:


The connection string is:
Data source=88226d6210524c7;initial catalog=hopeloan2013; User Id=sa;pwd=yys


You can change the value of the place to your own.


SQL Server Database 002-sql server R2 connection string

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.