Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
Home arrow Tips and Tricks arrow ABAP Dictionary arrow SQL Performance DOs and DON'Ts
SQL Performance DOs and DON'Ts PDF Print E-mail
User Rating: / 3
PoorBest 
Written by Anon.   
Sunday, 11 March 2007
DO

DON’T

Select <fields> from <table>.

Select * from <table>.

SELECT <fields> INTO TABLE <internal table>

SELECT <fields> INTO   CORRESPONDING FIELDS OF TABLE <internal table>

Select <field> from <table> Up To 1 Rows <structure>.

Select count(*) from <table>.

Select <fields> from <table> into table <internal table>.

Sort <internal table> By <sort fields>.

Select <fields> from <table> into table <internal table> order by <fields>.

Select <fields> from <table> into table <internal table>.

Sort <internal table>.

Delete Adjacent Duplicates from <internal table>.

Select Distinct <field> from <table> into table <internal table>.

 

Addition CLIENT SPECIFIED in SQL’s

OPEN SQL.

Native SQL.

Joins**

Nested Select / Logical Databases or Selects inside a loop.

 

 

SELECT SINGLE FOR UPDATE**

IS NULL, IS NOT NULL, LIKE or NOT LIKE**

 

Select single**

 

 

Group By or Having** or

Aggregate Functions (AVG, MAX, MIN, SUM)**

Subqueries**

 

Use ‘For All Entries’ technique as a second alternate to JOINs.

 

Use alternate index tables for data access

 


Related Items:

 
< Prev   Next >

Google Search

Statistics

Contribution Activity
Utilities: 38
Tips and Tricks: 334
Sample Code: 166
Total Contributions: 553

Member Activity
Members: 6310 since 2/1/2007!
New: 1 since yesterday!
Visitors: 1183764
We have 3 guests online

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor