Your SlideShare is downloading. ×
PV Standard Search Query
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

PV Standard Search Query

523
views

Published on

Use the standard search query for searching for information within ProdigyView.

Use the standard search query for searching for information within ProdigyView.

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
523
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. www.prodigyview.com
  • 2.  Purpose: Learn on to modify and customize select queries in ProdigyView without modifying the core. Requirements• Installed Version of ProdigyView• A basic understanding of SQL Estimated Time: 5 minutes www.prodigyview.com
  • 3.  What is the Standard Search Query? Custom Where Custom Join Custom Select Group By Having Order By Limit Prequery Pagination www.prodigyview.com
  • 4. To begin, all elements of ProdigyView can be search through by theirlist functions. Examples: pv_getContentList() pv_getApplicationList() pv_getMenuList() pv_getUserList() etc etc etcWhat the lists really are is SQL SELECT statements. What theStandard Search Query is a standardization of each list that allowsdevelopers to modify the select statement. www.prodigyview.com
  • 5. To effectively use the Standard Search Query, you should know the parts/clauses of a select statement. Lets takea second to review those parts.PREQUERY[DATABASE DEPEDENT]SELECT LISTJOINSWHEREGROUP BYHAVINGORDER BYLIMIT[DATABASE DEPENDENT]When converted into SQL, those parts should look something like this in a PSUEDO code and then in a query.[PREQUERY] SELECT [SELECT LIST] FROM TABLE [JOINS][WHERE][HAVING][GROUP BY][ORDER BY]SELECT id, name FROM EXAMPLE_TABLE WHERE name=‘John’ ORDER BY registration_date LIMIT 5
  • 6. The custom where allows modification of the WHERE partof a select statement. www.prodigyview.com
  • 7. The Custom Select allows modification of the select list ofthe select query. Otherwise the ‘*’ is used to select allelements. www.prodigyview.com
  • 8. Custom Join allows joining tables. www.prodigyview.com
  • 9. Group By will allow modification of the Group By clause ofa select statement.
  • 10. Customize the Having part of the SELECT query.
  • 11. Order By will select the order in which your select willreturn values. Use ASC and DESC if needed.
  • 12. The Limit is database dependent. In a database like mysql thelimit will be attached to the end of the query. In SQL Server, thelimit will be attached to the beginning of the and will be changedto TOP. But the difference is not something the developer needsto worry about since ProdigyView takes cares of it automatically.
  • 13. Similar to the Limit, the Prequery is a database dependentfunction. It puts variables before the the select statement.The next example uses SQL Server as the database.
  • 14. ProdigyView does offer pagination and it is part of theStandard Search Query. But pagination has enoughmaterial that it warrants its own tutorial and will not becovered in this one. www.prodigyview.com
  • 15. Congratulations!You’ve come to the end on the tutorial of how to usecustom queries. Remember to use the queries to expandthe limitations of ProdigyView quickly and easily. www.prodigyview.com