пʼятниця, 19 серпня 2016 р.

How to create database in Microsoft SQL Server and view via Visual Studio

1. Download SQL Server Express
2. Download Microsoft SQL Server Management Studio
3. On SQL Express window click on Connect now button.
or
in cmd type sqlcmd -S <ComputerName>  
As result sqlcmd window will be opend
type create database NewDB
4. type go
5. type  use NewDB
6. type go
7. type create table NewTable ( columnname1 columntype1, columnname2 columntype2)
8. type go
9. In Management Studio click on File/Connect Object Explorer
    type server name and authentication
If DB created locally you can find server name on the tpo of sqlcmd
If DB created locally authentification will be Windows Authentification
10. in Visual Studio Tools/Connect to Database type server name and authentication

1 коментар:

  1. Harrah's Casino and Racetrack - Mapyro
    › harrahs-casino 제천 출장마사지 › harrahs-casino The 구미 출장샵 casino is 상주 출장마사지 owned by MGM Resorts International. It 통영 출장샵 is located in the heart 서귀포 출장안마 of the New Orleans metropolitan area. It is owned by MGM Resorts International

    ВідповістиВидалити