O'Reilly logo

Teradata SQL by Tom Coffing, Mike Larkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20 – Creating Tables, Secondary Indexes, and Join Indexes

“Create a definite plan for carrying out your desire and begin at once, whether you are ready or not, to put this plan into action.”

-Napoleon Hill

 

Creating a Table with a Unique Primary Index

images

This is a basic TABLE CREATE STATEMENT. You have Columns and the data types in them. As you see, the Primary Index is defined for a Table at TABLE CREATE time.

 

Creating a Table with a Non-Unique Primary Index

images

A Non-Unique Primary Index (NUPI) is on the above table. Notice how you only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required