Stats collection inside SP's - response (13) by dnoeth
I prefer a naming convention for VTs (like VT_tab) so there's never any chance that a permanent table with the same name exists :-) Dieter
View ArticleStats collection inside SP's - response (14) by barani_sachin
thanks again for your timely replies :) Could pls redirect/explain me to a link where i can get a good definition/difference for SECURITY OWNER, CREATOR, DEFINER, INVOKER
View ArticleStats collection inside SP's - response (15) by dnoeth
The Stored Procedues and the DDL manual? Dieter
View ArticleComplex Transactions in Stored Procedures - forum topic by rtefft
We perform ETL on a table of transactions. After loading the transaction table, we want to use Stored Procedures (SPs) to perform the very complex business validations, and then to apply the...
View ArticleRODBC system error 193 - forum topic by bkj123
Good afternoon. I've been connecting Teradata and RStudio with RODBC on a windowsXP (32 bit) laptop for a while. Example code is at the bottom of this post. I am not able to run this code on a...
View ArticleSybase To Teradata..... - response (2) by gopaltera
Great,we are using TPT(teradata parallel transporter ) to exports the data to file.
View ArticleRODBC system error 193 - response (1) by ulrich
try http://forums.teradata.com/forum/analytics/connecting-to-teradata-in-r-via-the-teradatar-package You need to download the JDBC driver and set the correct path. Ulrich
View ArticleMulti-Value compression has increased the table size - response (21) by...
Hi Dieter, I proposed a MVC to my client for Teradata 12 Tables. As per the analysis, I got around 800 GB approx saving on 2.3 TB of tables giving table level and column level savings. After too much...
View ArticleTemporal usage classic scenerio - forum topic by Qamar.Shahbaz
Hi I need to track history of party addresses and created a temporal table for this. CREATE MULTISET TABLE Employee_Addr_Hist ( Name varchar(100), City varchar (100), VT PERIOD(DATE) NOT NULL )...
View ArticleTemporal usage classic scenerio - response (1) by KS42982
You can add your SET statement like below - SET VT = PERIOD(BEGIN(VT), source_date_column)
View ArticlePerformance considerations during taking back up-- - forum topic by...
Hi Experts, Need Your suggestions among the 2 possible scenerio through which we can take the backupof a Huge table at production. Scenerio 1- Create table a_bkp as A with Data and Stats; Scenerio...
View ArticleHow to retrieve the Relative Record Number? - response (9) by wicik
Hi there... I have very similar problem like friend from the very start of the post. I'm pretty nobbish in this type of SQL so please try not to be rough for me :) Well.. I have to convert numeric...
View ArticleHow to retrieve the Relative Record Number? - response (10) by wicik
Well... Sounds stupid but I have helped myself with default select --> copy paste to excel --> sorting and numeric conversion to date via left and right functions (to split needed numbers and...
View ArticlePerformance considerations during taking back up-- - response (1) by dnoeth
Hi Nishant, if i had to rank the different scenarios it would be: #1: first scenario #2: create table as existing_table with no data plus ins/sel #3: second scenario - "create table as existing_table"...
View ArticleHow to retrieve the Relative Record Number? - response (11) by KS42982
If you do not care about the HHMISS (last 6 digits of your numeric_column) then you can do the same that you did in excel by using SUBSTR function and fetch only first 8 and assign the name to it and...
View ArticlePerformance considerations during taking back up-- - response (2) by KS42982
One thing I'd like to mention about scenario # 1 ( create table as existing table with data) that if your existing table has few PIs, SIs, partitions then teradata would not create the same in the new...
View ArticlePerformance considerations during taking back up-- - response (3) by dnoeth
"CREATE TABLE AS existing_table" creates an *exact* copy of the existing_table including PI/SI/Partitioning, etc. There are only two things which are not copied: Foreign Keys and Triggers. But of...
View ArticlePerformance considerations during taking back up-- - response (4) by KS42982
You are right, I meant, CREATE TABLE AS (SELECT..) only. I never tried "CREATE TABLE AS existing_table" but it's good to know that it copies all the indexes, will use that from next time.
View Articlespool usage and spool space - forum topic by nyemul
Hi If few SQL queries are run and highest spool usage value among all queries is obtained from DBQLOGTBL Then does this mean that minimum spool should be set to highest spool usage value among all...
View ArticleSQL Syntax - forum topic by AsherShah
I have a view: Create view VW1 as SEL col1, col2, col3 from tab1; and I can run following SEL. SEL a.col1, a.col2, a.col3, b.col4 from ( sel col1, col2, col3 from VW1 where col2 = 'ABC') a left...
View Article