﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Teradata  / Teradata Database  / How to Define Statistics for a table / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 19:18:43 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to Define Statistics for a table</title><link>http://www.teradata.com/teradataforum/Topic16057-9-1.aspx</link><description>You could always copy the table from one database to another complete with data and statistics.CREATE TABLE database1.tablename AS database2.tablename WITH DATA AND STATISTICS;</description><pubDate>Tue, 07 Jul 2009 10:20:24 GMT</pubDate><dc:creator>rob58uk</dc:creator></item><item><title>RE: How to Define Statistics for a table</title><link>http://www.teradata.com/teradataforum/Topic16057-9-1.aspx</link><description>Use help statistcs on to see what columns need to have stats collected on them. Then collect statistics on them manually. The next time you run your job it will collect them automatically</description><pubDate>Tue, 07 Jul 2009 06:57:26 GMT</pubDate><dc:creator>PhilP</dc:creator></item><item><title>How to Define Statistics for a table</title><link>http://www.teradata.com/teradataforum/Topic16057-9-1.aspx</link><description>Hi frndz,I have to replicate the whole table from one database to another database.I have created the table and copied the data as it is. Actual problem is that one datastage job is trying to collect the statistics of the table while the statistics are not defined for the table in the new database though they exist in old database.Now I am trying to define the statistics on to the table in new database in the same way as how it is defined for same table in old database. I need your kind help to achieve this. It would be of great help if anybody suggests. Please let me know if I am not clear at any point.</description><pubDate>Mon, 06 Jul 2009 14:56:59 GMT</pubDate><dc:creator>anandapani</dc:creator></item></channel></rss>