Presentation is loading. Please wait.

Presentation is loading. Please wait.

Intro to SQL Server for non-techs

Similar presentations


Presentation on theme: "Intro to SQL Server for non-techs"— Presentation transcript:

1 Intro to SQL Server for non-techs
What, actually, is a Database? And why use one?   And why are they a PIA?   Let’s quickly and easily learn SQL Server, the Management Studio, and how to get at our P21 data when we want to take a peek.  We’ll start at zero and end with practical, easy, and pain free step by step ideas so you can start using SQL Server immediately. CONNECT 2017 – Sept 17-19

2 Prophet 21 World Wide User Group Officers

3 Disclaimer This conference is an attempt by P21WWUG members to assist each other by demonstrating ways that we utilize the Prophet21 system and other related products. The P21WWUG and the individuals conducting the classes and round tables take no responsibility for potential issues that arise as a result of taking the advice given during the conference. The P21WWUG does not recommend using any SQL statements to update your database without having those statements first reviewed by Epicor or other experienced SQL professionals. Test any code in your Play Database! Using SQL statements to update your database may result in corrupting your database. Test any code in your Play Database!

4 IT Director at Professional Control in Milwaukee
BIO Don Schlichting IT Director at Professional Control in Milwaukee

5 What is a database, and why are they a PIA?
DATABASE: Data is represented in terms of tuples, grouped into relations Codd's theorem, a result proven in his seminal work on the relational model, equates the expressive power of relational algebra and relational calculus (both of which, lacking recursion, are strictly less powerful than first-order logic)

6

7

8

9 Why are databases a PIA ?

10 Goal for Today

11 “Relational Database” and a “Management System”
SQL is a RDMS “Relational Database” and a “Management System”

12 “Relational Database”and a “Management System”

13 “Relational Database”and a “Management System”

14 Why use a Database? Large Data sizes
Speed of relating tables vs Work Sheets Data Update Integrity Locks Personal Presentation

15 RDMS

16 Why Not Use a Database? Small data sizes that don’t change much over time A database is not as intuitive as a spreadsheet Time must be taken to learn the new system Fast at getting data in, but a pain at writing reports to get data out

17 SQL Server Management Studio

18

19 SSMS

20

21 Log In

22

23 SSMS

24 Create our own Database and utilize it, in 3 Steps

25 New Database

26

27 New Table

28 Field Options

29

30 Save Table

31

32 Enter data

33

34 Enter Data

35 Edit, Delete

36 Select

37

38 Recap We created a database, 2 files on the hard drive
Inside the database we created a table. Inside the table we added data into rows and columns. We could edit data by right click Edit Top 200 We could select data by right click SELECT top 1000

39 Back to P21

40 SHIP TO report showing all my Other Exemptions

41

42

43

44

45 Edit on the fly

46

47

48 SQL

49 Remove the top

50 All rows returned

51 Diagram

52 Criteria

53 Sort

54

55 Sort = Order By

56 Copy All

57 Recap We found our table name in P21
In SQL we expanded our tables then right clicked ship_to From there we chose SELECT TOP 1000 Then we chose EDIT TOP 200 Last we controlled the panel options for EDIT


Download ppt "Intro to SQL Server for non-techs"

Similar presentations


Ads by Google