Presentation is loading. Please wait.

Presentation is loading. Please wait.

STEVE ENDOW, MCP, MCT, MVP Christina Phillips, mcp, mct, mvp

Similar presentations


Presentation on theme: "STEVE ENDOW, MCP, MCT, MVP Christina Phillips, mcp, mct, mvp"— Presentation transcript:

1 STEVE ENDOW, MCP, MCT, MVP Christina Phillips, mcp, mct, mvp
SQL 101: The Basics STEVE ENDOW, MCP, MCT, MVP Christina Phillips, mcp, mct, mvp

2 Steve Endow Dynamics GP MVP Solomon IV Pervasive in 1996
SQL Server since 1998, GP since 2004 1 TB database in 2005 .NET development with GP SQL query optimization SQL Server troubleshooting Steve © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 7/16/ :07 AM Christina Phillips Dynamics GP User, Trainer, and Project Manager Since 2000 Dynamics GP MVP Director at BKD Technologies (BKD, LLP) SQL Reporting Services Solution and Process Design Implementation Ridiculous Troubleshooting Christina © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Foundation You must understand GP table names http://bit.ly/GPTables
Leslie Vail, MVP Dynamics GP Table Names Steve © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 GP Table Reference Tools -> Resource Descriptions -> Tables
7/16/ :07 AM GP Table Reference Tools -> Resource Descriptions -> Tables Steve © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Demo Basic SQL Syntax 7/16/2018 10:07 AM Steve
© 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Expand your SQL vocabulary
7/16/ :07 AM Expand your SQL vocabulary Comments: or /* */ DISTINCT SELECT DISTINCT CUSTNMBR FROM SOP30200 RTRIM, for spaces SELECT RTRIM(CUSTNAME) LIKE WHERE CUSTNMBR LIKE ‘AA%’ LIKE Wildcards: % _ [a-f] [^a] Steve © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Expand your SQL vocabulary
7/16/ :07 AM Expand your SQL vocabulary GROUP BY with HAVING GROUP BY CUSTNMBR HAVING COUNT (*) > 10 ORDER BY ORDER BY CUSTNMBR ASC ISNULL ISNULL(ACTIDX,‘None’) IN / NOT IN WHERE ACTIDX IN (3,45,56,62) Steve © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Demo Expand Your SQL Vocabulary 7/16/2018 10:07 AM Steve
© 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 SQL Views Act as dynamic, virtual tables
Combine multiple tables, criteria, refer to from multiple sources Leverage standard views that come with GP Reports, SmartLists, etc Can allow split duties (data –vs- report design) Can simplify SQL security Christina © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Demo SQL Views 7/16/2018 10:07 AM Christina
© 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 Accessing SQL Views and Tables
7/16/ :07 AM Accessing SQL Views and Tables Excel Reports Including native Microsoft Excel SmartList Designer Views, GP Tables SmartList-Designer/ SQL Report Builder Data Source, Data Set Report Builder Christina © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Demo Accessing SQL Views and Tables 7/16/2018 10:07 AM Christina
© 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Questions? Steve Endow Christina Phillips
7/16/ :07 AM Questions? Steve Endow @SteveEndow Christina Phillips @CPLaughsALot Christina and Steve © 2016 Dynamic Communities. All rights reserved. DYNAMIC COMMUNITIES MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "STEVE ENDOW, MCP, MCT, MVP Christina Phillips, mcp, mct, mvp"

Similar presentations


Ads by Google