Add or modify the primary index of the table in Teradata using alter table query
Initially the table might be created without Primary index or Unique primary index. Later we wants to add the primary
Continue readingInitially the table might be created without Primary index or Unique primary index. Later we wants to add the primary
Continue readingSHOW Table : Some time we want to check the table definition such as number of columns ,data type of
Continue readingView creation in Teradata: View is a logical table that shows the result set of SQL statements. It is used
Continue readingSample function in Teradata The Sample function is used in the SELECT query to return the random number of rows.It
Continue readingTable size in Teradata: DBC.ALLSPACE is the system table used to find the space occupied for each table or database
Continue readingSome time we wants to fetch sample rows from the table. If we use SELECT * in the query,it will
Continue readingXMLAGG function: The XMLAGG function is used to perform an aggregate of multiple rows. This can used for multiple purpose
Continue readingTeradata provides the option to copy the existing table structure and create the new table.We can either copy the table
Continue readingCalculate date difference between consecutive rows Sometime we will get the requirement to calculate the date difference for consecutive rows
Continue readingWe can create SET/MULTISET tables in Teradata. There are few differences between SET and MULTISET tables.Let’s discuss about syntax to
Continue reading