05040nam 2200685 a 450 991045699890332120200520144314.01-283-34958-297866133495831-84968-237-2(CKB)2550000000036797(EBL)950602(OCoLC)797916717(SSID)ssj0000524087(PQKBManifestationID)11376345(PQKBTitleCode)TC0000524087(PQKBWorkID)10545544(PQKB)10913567(MiAaPQ)EBC950602(CaSebORM)9781849682367(PPN)228023009(Au-PeEL)EBL950602(CaPaEBR)ebr10477269(CaONFJC)MIL334958(EXLCZ)99255000000003679720110707d2011 uy 0engur|n|---|||||txtccrMastering SQL queries for SAP Business One[electronic resource] utilize the power of SQL queries to bring Business Intelligence to your small to medium-sized business /Gordon Du1st editionBirmingham, U.K. Packt Enterprise Pub.20111 online resource (352 p.)Includes index.1-84968-236-4 Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:SAP Business One Query Users and Query Basics; Who can benefit from using SQL Queries in SAP Business One?; Consultant; Developer; SAP Business One end user; Non-SAP Business One users; SQL query and related terms; RDBMS; Table; Field; SQL; T-SQL; Subsets of SQL; Query; Data dictionary; SAP Business One-Database tables reference; Naming convention of tables for SAP Business One; Three letter words; ""O"" tables; ""A"" tables; Document header tables; Document line tablesImportant table examplesTable links-the key for the right query; Primary key; Foreign key; Example of table links within SAP Business One; Base tables versus target tables; Keeping it simple-The key to build a good query; Summary; Chapter 2:Query Generator and Query Wizard; Query Generator; Query Generator overview; Left part of Query Generator form; Middle and right parts of Query Generator form; Executing a query from query generator form; Query wizard; Query Wizard overview; Step 1-Splash screen; Step 2-Select tables for the report; Step 3-Select fields and sort ordersStep 4-Conditions and relationsStep 5-Query wizard completion; What is the difference between Query generator and Query wizard?; Benefitting from built-in system queries; Summary; Chapter 3:Query Manager and Query Statements; Query manager user interface; Display all existing queries; Creating and saving user queries; Deleting user queries; Managing query categories; Commonly used statements; SELECT-first statement to retrieve data; The scope of the value that can be retrieved; The numbers of columns to be included; Column name descriptions; Clauses can follow this statementDISTINCT-duplicated records can be removedTOP-number of lines returned by ranking; FROM-data resource can be assigned; A single table; A group of linked tables; Multiple tables separated by commas; JOIN-addition table or tables can be linked; Inner Join; Outer Join; WHERE-query conditions to be defined; BETWEEN-ranges to be defined from lower to higher end; IN/EXISTS-the value list that may satisfy the condition; LIKE-similar records can be found; GROUP BY-summarizing the data according to the list; HAVING-conditions to be defined in summary reportORDER BY-report result can be by your preferred orderUNION/UNION ALL-to put two or more queries together; Some important functions to return values; ISNULL() predicate; SUM() function; MAX() function; MIN() function; COUNT() function; DATEDIFF() function; DATEADD() function; DATEPART() function; CAST()/CONVERT() function; CASE expressions; IF expressions; Summary; Chapter 4:Query Examples; Why three categories have been chosen; Defining variables for queries; Case 4-R1: Four variables in one query; Case 4-R2: Variables first or last; Date function-where the most problems emergeCase 4-D1: Balance of production for a monthUtilize the power of SQL queries to bring Business Intelligence to your small to medium-sized business with this book and eBookSmall businessManagementComputer programsSQL (Computer program language)Electronic books.Small businessManagementComputer programs.SQL (Computer program language)005.75/85650.0285658.02/2Du Gordon976641MiAaPQMiAaPQMiAaPQBOOK9910456998903321Mastering SQL queries for SAP Business One2224804UNINA