Вы находитесь на странице: 1из 34

Task 1:

Overview:
After the test, my program meets the basic requirements of customers. The
successful implementation functions. However, for the better functioning and help
customers had better manage.
Test plan:

NO. Test function Expected Actual outcome Date Tester


outcome
1 Adding new Adding Adding successfully 01/08/2017
Product Type successfully
2 Update Product Update Update 01/08/2017
Type successfully successfully
3 Delete Product successfully successfully 01/08/2017
Type
4 Adding new Adding Adding successfully 02/08/2017
Employee successfully
5 Update Update Update 03/08/2017
Employee successfully successfully
6 Delete supplier successfully successfully 03/08/2017

7 Adding new Adding Adding successfully 04/08/2017


Product successfully
Ta Van
8 Update Product Update Update 04/08/2017
Co
successfully successfully
9 Delete Product successfully successfully 04/08/2017

10 Adding new Adding student Adding successfully 05/08/2017


customer successfully

1
11 Update Update Update 05/08/2017
customer successfully successfully
12 Delete customer successfully successfully 05/08/2017

13 Adding new Adding Adding successfully 06/08/2017


Payment successfully
14 Update Payment Update Update 06/08/2017
successfully successfully
15 Viewing Order selected Order selected by 07/08/2017
Payment report by date date
from a specified
date range

Problem logs:
- No problems has been found.
NO Function Details of failue Fix applied Date

Introduction:
Through each opportunity to gather data and create, I have made a database
(incorporates six tables) used to see the things for stores that offer electronic gear.
Overseen things under every class, can see the things by the alternate point of view (A-Z,
cost increments or reductions hack). Notwithstanding the product used to see provider's
reward. Data of every client to purchase likewise will be put something aside for use in the
administration of advancements or publicizing. After the adjustment in the reality, the
program permits to include new, refresh, or erase the coveted parts. For the most part
address fundamental issues of clients.

2
ERD:

Technical documentation:
Hardware:
Memory Minimum: 1 GB for all editions.
Recommended: 4 GB and bigger if database’s size is
bigger.
Processor Minimum: 1.4 GHz
Speed 2.0 GHz is recommended or faster.
Processor Type AMD Opteron, AMD Athlon 64, Intel Xeon with Intel
EM64T support, Intel Pentium IV with EM64T support.
Hard Disk 6 GB for install SQL Server and need more to save

3
database.
Monitor (800x600) resolution monitor or higher.

Software:
- .NET Framework 4.6
- SQL server 2014
- SQL Server Management Studio

4
How to install SQL Server:
Presentation

This article gives a well ordered technique for introducing another occurrence of SQL
Server 2014, utilizing the SQL Server setup establishment wizard. The SQL Server Installation
Center gives a solitary element tree to establishment of all SQL Server segments, with the
goal that you don't need to introduce them exclusively.
Preparation

For local installations, you must run Setup as an administrator. If you install SQL Server from
a remote share, you must use a domain account that has read and execute permissions on
the remote share.

It is best to install the server from a DVD or from a mounted ISO file which behaves as a
CD/DVD. In this case, once you double click the DISK icon the autorun.inf file is used by the
AutoRun and AutoPlay components of Microsoft Windows operating systems. This will start
the installation using the configuration in the autorun.inf file. If AutoRun is disabled on your
server, you may double click setup.exe to start the installation. To install from a network
share, locate the proper folder on the share, and then double-click setup.exe.

Installation, Step By Step

1. Upon starting the installation, you will get this window:

5
We will discuss the Planning and Installation sections of the setup program.

* It is highly recommended to go over the documentation and guides in the Planning


section:

 Hardware and Software Requiremen t


 Security Documentation
 Online Release Notes
 How to Get SQL Server Data Tools
 System Configuration Checker
 Install Upgrade Advisor
 Online Installation Help
 How to Get Started With SQL Server 2014 Failover Clustering
 How to Get Started With PowerPivot for SharePoint Standalone Server Installation

2. Choose the Installation section in order to start the installation:

6
3. Enter the product key and click Next:

7
4. You have to accept the license term in order to continue.

It is highly recommend NOT to ask in the forum a question regarding Licensing. The MSDN
forum interface is not for this, and good people that want to help you, can make mistakes
with Licensing. It is recommend to use the direct phone number to reach the people that
can give you the official answer :-)

Licensing questions: call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M.
(Pacific Time) to speak directly to a Microsoft licensing specialist.

5. Mark the check box in order to use Microsoft Update to check for an update after you
finished the installation, and then click Next.

8
6. The SQL Server installation program checks your machine to make sure it meets the
hardware and software requirements to install SQL Server. If you get any Errors in the
results, please use the link in the error message to get more information.

Do not move to the next step if you get any errors in this report!

9
7. Choose the first option in order to install SQL Server, and then select which features to
install. We are going to choose our features manually in the next step. Click Next to
continue:

10
8. In this step, you can choose what features to install. It is highly recommend NOT to
choose all the features on a production server if you don't need them. Choose only the
features that you need or might need. Conversely you might want to select all using a
development server in order to give you more flexibility in your development environment.
Once you choose to use another feature you will be able to add it in production later on.

11
9. SQL Server allows you to install multiple instances of the same version or different
versions of the server. Make sure you choose a name that will help you in the future to
recognize the instance which you are working with. Theoretically you can use any instance
name that you want.

* Remember the name of the instance!

You will need to use this name every time that you want to connect to the server.

12
10. Security is important for every product and every business. By following simple best
practices, you can avoid many security vulnerabilities. SQL Server works as a group of
services in the background. In this step you can select the service accounts for the SQL
Server actions. Each service in SQL Server represents a process or a set of processes to
manage authentication of SQL Server operations with Windows. Each service can be
configured to use its own service account. For more information you can read this article .
Once you configure this step move to the collation tab!

13
11. SQL Server supports several collations. A collation encodes the rules governing the
proper use of characters for either a language, such as Hebrew or Polish, or an alphabet,
such as Latin1_General (the Latin alphabet used by western European languages). Typically,
you should choose a SQL Server collation that supports most languages commonly used by
users at your organization. Select the collation and press next.

12. SQL Server can operate in one of two security (authentication) modes: (a) Windows
Authentication mode which allowed a user to connect through an operating system user
account. or (b) Mixed Mode which allowed users to connect to an instance of SQL Server
using either Windows Authentication or SQL Server Authentication.

14
13. By default SQL Server uses the system operation disk Thus it is highly recommended to
use the best practice according to your specific system and usage. Separating the LOG files
from the data files can improve performance significantly. The system database tempDB is
used extensively by SQL Server. This database is rebuilt each time the server is restarted. It
is highly recommended to use a fast disk for this database. It is best practice to separate
data, transaction logs, and tempdb for environments where you can guarantee that
separation. There are important points to considerate and this article is not covering them
at the moment. For small systems you can use the default configuration and later on change
as needed.

15
14. FILESTREAM enables SQL Server-based applications to store unstructured data, such as
documents and images, on the file system. FILESTREAM integrates the SQL Server Database
Engine with an NTFS file system by storing varbinary(max) binary large object (BLOB) data as
files on the file system.

15. An instance of Analysis Services is a copy of the msmdsrv.exe executable that runs as an
operating system service. Each instance is fully independent of other instances on the same

16
server, having its own configuration settings, permissions, ports, startup accounts, file
storage, and server mode properties. Server mode is a server property that determines
which storage and memory architecture is used for that instance. In this step you can add
windows users in order to give them administrative permissions for the Analysis Service. It
is highly recommended to add the machine Administrator as well as other users who will
need to manage this service. You can get more information in this link . Move to the Data
Directories for next step.

16. As mentioned in step 13 the data directories can have significant influence on the server
performance. You can get more information on this issue in this forum discussion . Press
Next to continue the installation configuration.

17
17. Choose if you want to install and configure the Reporting Service or just Install, which
mean you will need to configure it later on.

18. Before you install and use the Microsoft SQL Server Distributed Replay feature, you
should review the important security information in this link .

18
19. When installing the Microsoft SQL Server Distributed Replay features, consider the
following:

 You can install the administration tool on the same computer as the Distributed
Replay controller, or on different computers.
 There can only be one controller in each Distributed Replay environment.
 You can install the client service on up to 16 (physical or virtual) computers.
 Only one instance of the client service can be installed on the Distributed Replay
controller computer. If your Distributed Replay environment will have more than one
client, we do not recommend installing the client service on the same computer as
the controller. Doing so may decrease the overall speed of the distributed replay.
 For performance testing scenarios, we do not recommend installing the
administration tool, Distributed Replay controller service, or client service on the
target instance of SQL Server. Installing all of these features on the target server
should be limited to functional testing for application compatibility.
 After installation, the controller service, SQL Server Distributed Replay controller,
must be running before you start the Distributed Replay client service on the clients.
 Make sure that the computers that you want to use meet the requirements that are
described in the topic Distributed Replay Requirements.
 Before you begin this procedure, you create the domain user accounts that the
controller and client services will run under. We recommend that these accounts are
not members of the Windows Administrators group. For more information, see the
User and Service Accounts section in the Distributed Replay Security topic.

19
* This information copied from here

20. That is all :-) The SQL Server Installation program will show us a report of all our
configuration (steps 1-19). Once you select Next, the installation will start.

Hopefully everything went well and you should get a final report which indicates the
successful completion of each installed service.

20
You are now ready to connect to the server :-)

Connecting to the Server

Open the new SSMS application which we have just installed (in step 8 we choose which
features to install, If you have chosen Management Tools it includes the SQL Server
Management Studio).

During step 9 we choose an instance name for our new installation. We told you
to Remember the name of the instance. Now it is time to use it.

Start the SSMS application and use the information as shown in the image above in order to
connect the server. You should replace the "XXX" text with the instance name that you
choose.

How to attach a database:


Step 1: Open SQL Server Management Studio to connect to the Database Engine
Step 2: Click on the New Query icon or press Ctrl + N
Step 3: Below is the syntax to attach database named ASM

CREATEDATABASEMyDatabase
ON(FILENAME = C:\Program Files\Microsoft SQL
Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\ASM.mdf),
(FILENAME = C:\Program Files\Microsoft SQL
Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\ASM_Log.ldf)

FORATTACH; 21
Inside:
ASM: is the name of the database you will be attaching
ASM.mdf & ASM_log.mdf: file is attached (the path containing the file specified in
the command)

Step 4: Click on the Execute icon (!) or press F5 to execute Transact-SQL


Step 5: After successfully executing, you Refresh Database Engine, you will see
MyDatatabase created.

22
How to back up a database:

Back up to a disk device

The following example backs up the complete AdventureWorks2012 database to disk, by


using FORMAT to create a new media set.
tsqlCopy

USE AdventureWorks2012;
GO
BACKUP DATABASE AdventureWorks2012
TO DISK = 'Z:\SQLServerBackups\AdventureWorks2012.Bak'
WITH FORMAT,
MEDIANAME = 'Z_SQLServerBackups',
NAME = 'Full Backup of AdventureWorks2012';
GO

Back up to a tape device

The following example backs up the complete AdventureWorks2012 database to tape,


appending the backup to the previous backups.
tsqlCopy

USE AdventureWorks2012;
GO
BACKUP DATABASE AdventureWorks2012
TO TAPE = '\\.\Tape0'
WITH NOINIT,
NAME = 'Full Backup of AdventureWorks2012';
GO

23
Back up to a logical tape device

The following example creates a logical backup device for a tape drive. The example then
backs up the complete AdventureWorks2012 database to that device.
tsqlCopy

-- Create a logical backup device,


-- AdventureWorks2012_Bak_Tape, for tape device \\.\tape0.
USE master;
GO
EXEC sp_addumpdevice 'tape', 'AdventureWorks2012_Bak_Tape', '\\.\tape0'; USE
AdventureWorks2012;
GO
BACKUP DATABASE AdventureWorks2012
TO AdventureWorks2012_Bak_Tape
WITH FORMAT,
MEDIANAME = 'AdventureWorks2012_Bak_Tape',
MEDIADESCRIPTION = '\\.\tape0',
NAME = 'Full Backup of AdventureWorks2012';
GO

Task 2:

24
Number 1: choose “Payment” to enter data for Payment Card. ( enter ID Payment,
Employee, Customer, Payment Date, Total).
INSERT [dbo].[Payment] ([IDPayment], [IDcustomer], [IDEmployee], [Total], [Note]) VALUES
(7, 6, 11, CAST(N'2016-07-03' AS Date), 30790000.0000, N'')
INSERT [dbo].[Payment] ([IDPayment], [IDcustomer], [IDEmployee], [Total], [Note]) VALUES
(13, 11, 6, CAST(N'2016-07-03' AS Date), 4790000.0000, N'huy')
INSERT [dbo].[Payment] ([IDPayment], [IDcustomer], [IDEmployee], [Total], [Note]) VALUES
(17, 12, 11, CAST(N'2016-07-03' AS Date), 1300000.0000, N'')

Number 2: choose “Product” to enter data Product ( enter ID Product, Name Product,
Product Type, Input Price, Sale Price, Manufacturer, Inventory, Note).
INSERT [dbo].[Product] ([IDProduct], [NameProduct], [ProductType], [Manufacturer],
[InputPrice], [SalePrice], [Inventory], [Status], [Note]) VALUES (1, N'sony m4 aqua', 2, 4,
7390000.0000, 7890000.0000, 34, 1, N'sonnu m4 w1.png', N'')
INSERT [dbo].[Product] ([IDProduct], [NameProduct], [ProductType], [Manufacturer],
[InputPrice], [SalePrice], [Inventory], [Status], [Note]) VALUES (3, N'htc 10', 2, 3,
1800000.0000, 1890000.0000, 100, 1, NULL, N'')

Number 3: choose “Customer” to enter data Customer (enter ID Customer, Name


Customer, DayOfBirth, Gender, Address, PhoneNumber, Customer Type, Note).
INSERT [dbo].[Customer] ([IDCustomer], [NameCustomer], [DayOfBirth], [Gender],
[Address], [PhoneNumber], [CustomerType], [Note]) VALUES (6, N'Nguyễn Thanh Tùng',
CAST(N'1996-03-02' AS Date), 0, N'Thái Bình', N'0909898964', 1, N' ')
INSERT [dbo].[Customer] ([IDCustomer], [NameCustomer], [DayOfBirth], [Gender],
[Address], [PhoneNumber], [CustomerType], [Note]) VALUES (11, N'Phở', CAST(N'1986-09-
02' AS Date), 1, N'không cho xem', N'0745322222', 3, N' ')

Number 4: choose “Employee” to enter data Employee (enter ID Employee, Name


Employee, DayOfBirth, Gender, Position, Address, PhoneNumber, Note).
INSERT [dbo].[Employee] ([IDEmployee], [NameEmployee], [DayOfBirth], [Gender],
[Position], [Address], [PhoneNumber], [Note]) VALUES (1, N'Phạm Hoàng Huy',
CAST(N'1996-12-25' AS Date), 1, CAST(N'2016-01-01' AS Date), 1, N'51- 102 Nguyễn Tất
Thành', N'01293223225', N'chức cao nhất có thể')

25
INSERT [dbo].[Employee] ([IDEmployee], [NameEmployee], [DayOfBirth], [Gender],
[Position], [Address], [PhoneNumber], [Note]) VALUES (3, N'Phạm Văn Toàn', CAST(N'1997-
01-02' AS Date), 0, CAST(N'2011-03-05' AS Date), 2, N'chưa có', N'01293223225', N'chưa
có')

Number 5: choose “ Distributor” to enter data Distributor ( enter ID Distributor, Name


Distributor, Address, PhoneNumber, Email, Note).
INSERT [dbo].[Distributor] ([IDDistributor], [NameDistributor], [Address], [PhoneNumber],
[Email], [Note]) VALUES (1, N'FPT Trading', N'Hồ Chí Minh', N'098674322',
N'motcucgach7796@gmail.com', N'')
INSERT [dbo].[Distributor] ([IDDistributor], [NameDistributor], [Address], [PhoneNumber],
[Email], [Note]) VALUES (2, N'docomo', N'Trung Quốc ', N'34657865434',
N'dcomo197@gmail.com', N'')

Number 6: Income can help you to recalculate.


Number 7: Sign Out help you get back to the program that is Sign Up.

Task 3:
Total Quality Management
What is 'Total Quality Management - TQM'

Total Quality Management (TQM) is the continuous process of reducing or eliminating


errors in manufacturing, streamlining supply chain management, improving the customer
experience, and ensuring that employees are up-to-speed with their training. Total quality
management aims to hold all parties involved in the production process accountable for the
overall quality of the final product or service.

BREAKING DOWN 'Total Quality Management - TQM'

TQM was developed by William Deming, a management consultant whose work had great
impact on Japanese manufacturing. While TQM shares much in common with the Six
Sigma improvement process, it is not the same as Six Sigma. TQM focuses on ensuring that
internal guidelines and process standards reduce errors, while Six Sigma looks to reduce
defects.

26
Total Quality Management (TQM) is a structured approach to overall organizational
management. The focus of the process is to improve the quality of an organizations
outputs, including goods and services, through continual improvement of internal practices.
The standards set as part of the TQM approach can reflect both internal priorities and any
industry standards currently in place. Industry standards can be defined at multiple levels,
and may include adherence to various laws and regulations governing the operation of the
particular business. Industry standards can also include the production of items to an
understood norm, even if the norm is not backed by official regulations.

Primary Principles of Total Quality Management

TQM is considered a customer-focused process and aims for continual improvement of


business operations. It strives to ensure all associated employees work toward the common
goals of improving product or service quality, as well as improving the procedures that are
in place for production. Special emphasis is put on fact-based decision making, using
performance metrics to monitor progress. High levels of organizational communication are
encouraged, for the purpose of maintaining employee involvement and morale.

Industries Using Total Quality Management

While TQM originated in the manufacturing sector, its principles can be applied to a variety
of organizations. With focus on long-term change over short-term goals, it is designed to
provide a cohesive vision for systemic change. With this in mind, TQM is in many industries,
including, but not limited to, manufacturing, banking and finance, and medicine.

The techniques can be applied to all departments within an organization as well. This helps
ensure all employees are working toward the goals set forth for the company, improving
function in each area. Involved departments can include administration, marketing,
production and employee training.

27
28
User acceptance test signoff:

USER ACCEPTANCE SIGN-OFF TEMPLATE

For Project: Electronic Shop

Function or Task: Manager Product

Project Team:
CoreTeam: ExtendedTeam:

Submitted for testing on: [date] Testedby:


on: [date]

Proof of Compliance:
User Acceptance Checklist completed

Test Results attached

Outstanding issues with resolution plans attached

29
Sign-Off Section:

This system conforms to agreed specifications.

Signature of Executive Sponsor Date

Name/Position

Signature of Sponsor Date

Name/Position

Signature of Test Team Leader Date

Name/Position

30
Phase complete signoff documents:

Phase Sign Off


Project Name: Electronic Chop
Project Number:
Attachments
Project Plan (current)
Change Request(s)
Project Charter Modification
Phase Deliverables
Deliverable Completi Satisfacto Comments
on ry
Yes N
Date Completioo

[Number] [Name] n?

Change Review
Description of Change Reques Implications Outcom
t Date e

31
Client Phase Evaluation
Description Yes No
Phase deliverables have met our requirements and
expectations.
Phase deliverables contain accurate and completeinformation.
Phase deliverables are high quality.
The Project Organization has functioned effectively within this
phase.
Project management and control has been maintained in this
phase.
We are satisfied with the project to date.
The project is ready to proceed to the next phase.

Are there any schedule, cost, or resource considerations


associated with this phase th require review before proceeding
Note: If check mark is in shaded area, document concerns in the next section,
to the nextphase?
"Comments and Recommendations."
Comments and Recommendations (Client)

Comments and Recommendations (Project Team)

Signatures
Name Signature Dat
e

32
33
34

Вам также может понравиться