DB2 Query Example

Contents

  1. Select Distinct
 

Select Distinct

SELECT DISTINCT(name), ColType, LENGTH FROM Sysibm.syscolumns WHERE tbname = 'TABLE_1';
This entry was posted in db2 and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.