Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Introduction to PowerBuilder

HomePrevious Lesson: Syntax
Next Lesson: Retrieval Arguments

The DISTINCT Clause

When you are creating a SELECT statement, you can ensure that no duplicate rows are displayed by checking the Distinct option under the Design menu. PowerBuilder adds the word DISTINCT clause right after the SELECT.

There won't be a match if two columns with NULL values are compared for equality in a WHERE clause unless you use IsNull() Sybase function. If you are using one of the more flexible database engines, you can get around this problem by using the DISTINCT clause.

When using SQL Anywhere SQL, specifying DISTINCT automatically sorts the result sets, but this isn't true with SQL Server and is something that should be noted when porting applications from one database to another.
HomePrevious Lesson: Syntax
Next Lesson: Retrieval Arguments

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com