0% found this document useful (0 votes)
75 views6 pages

How To Create SQL Server Database Using SQL Server 2008 R2

This document provides instructions for installing Microsoft SQL Server 2008 R2 and creating a SQL database. It outlines downloading and installing SQL Server 2008 R2. It then explains how to open SQL Server Management Studio, connect to the server, and create a new database called dbRestaurantPOS by right clicking the database folder. It provides steps for specifying the database file path, copying SQL code to create tables, and executing the query to create the database tables.

Uploaded by

Hafid T
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
75 views6 pages

How To Create SQL Server Database Using SQL Server 2008 R2

This document provides instructions for installing Microsoft SQL Server 2008 R2 and creating a SQL database. It outlines downloading and installing SQL Server 2008 R2. It then explains how to open SQL Server Management Studio, connect to the server, and create a new database called dbRestaurantPOS by right clicking the database folder. It provides steps for specifying the database file path, copying SQL code to create tables, and executing the query to create the database tables.

Uploaded by

Hafid T
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 6

LinkBird

Technologies
Download and install Microsoft SQL server 2008 R2, if you don't have the version.

Step-1
Please download Microsoft SQL Server 2008 R2
https://www.microsoft.com/en-us/download/details.aspx?id=23650

Step-2
Follow how to install Microsoft SQL Server 2008 R2 on your machine.
https://www.youtube.com/watch?v=UaOwvsnL9Ps

Step-3
Follow how create SQL server database.
https://www.youtube.com/watch?v=gyBT75-5lV4

How to create SQL server database?


SQL Server provides two methods for creating database user accounts: Windows authentication or mixed mode,
which supports Windows authentication and SQL Server authentication. In Windows authentication mode, you
assign all database permissions to Windows accounts. This has the advantage of providing a single sign-on
experience for users and of simplifying security management. In SQL Server (mixed mode) authentication, you
can still assign rights to Windows users, but you can also create accounts that exist only in the context of the
database server.

Step-1

To open SQL Server Management Studio 2008 R2, right-click the SQL Server Management
Studio icon on the Start menu, and then click Run as Administrator.

1|Page
Select Server type: Database Engine, Server Name: (local), Authentication: Windows
Authentication
Click Connect

Step-2
After login SQL server management studio, Right click on Database folder and click New
Database …
New database window will appear

2|Page
Step-3
Provide database name (dbRestaurantPOS) in the database name text box.
Scroll right database file grid view & find out path header; click for put your database
file and database log file into same folder. Default path is C:\Program Files\Microsoft SQL
Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA
If a path is specified, click OK button

3|Page
Step-4
Once finished, click & expand database folder.
Right click on dbRestaurantPOS and click New Query

Step-5
Copy all text from dbRestaurantPOS.sql files with note pad, copies all code and paste
into New Query Panel select database (dbRestaurantPOS) from combo box and press F5
or Execute

Step-6
Once Query executed successfully, Right click on SQL Server and click Refresh.
4|Page
Expand Databases - > dbRestaurantPOS -> Tables

Please drop us a note with your feedback, suggestions or questions. For technical support or general queries you
can contact us via: Email: linkbirdtech@gmail.com

DON’T FORGET TO RATE THIS ITEM


Login to CodeCanyon - -> https://codecanyon.net/downloads --> Rate our items using the stars
Thank you very much!

5|Page

You might also like