Can I do select from fallback table? - forum topic by Raja_KT
Hi, I am curious if I can I do select from fallback table. Thanks and regards, RajaForums: Database
View ArticleHow to extract column names from a table using Teradata SQL - response (7) by...
select columnname from dbc.columns where tablename='Table_Name'
View ArticleUntranslatable character at any position in a field. - forum topic by udaymenon
Hello i have a problem where users are inserting some Unicode characters into a description field in frontend which is being rejected as "Untranslatable characters" in teradata. The source seems to be...
View ArticleUnicode vs Latin - response (3) by ulrich
latin is just the system default at your system if you are not specifing something in your ddl. space savings - an unicode varchar/char will use 2 times the space.
View ArticleCan I do select from fallback table? - response (2) by ulrich
system will read the fallback data if a node or diskarray is going down but you can't influence this with a SQL. What would be the benifit if direct accessing it?
View ArticleUntranslatable character at any position in a field. - response (1) by ulrich
did you check the TRANSLATE function and checked the WITH ERROR option?
View ArticleDifference between ANSI and TERA modes with respect to record insertion -...
soumyajit, you were misinformed. The Teradata Database never "ignores" duplicate records when doing inserts, no matter which transaction mode (ANSI vs TERA) you are using. As Carlos said, the table...
View ArticleImmediately exit a query if a condition is verified - response (1) by dnoeth
Add a condition based on current_date: WHERE (your current conditions) AND (CURRENT_DATE - DATE '0001-01-01') MOD 7 = 0When you check Explains you'll still get some RETRIEVE/JOIN steps, but they should...
View ArticleImmediately exit a query if a condition is verified - response (4) by gxgxg
Thank you for your answer, it works correctly indeed! But, since the whole query needs about 30minutes to run, even though the condition you posted is not satisfied it keeps executing the entire...
View ArticleImmediately exit a query if a condition is verified - response (5) by dnoeth
What's your TD release?"(CURRENT_DATE- DATE'0001-01-01') MOD 7 = 0" should be the same as "1=0" Could you post output of explain? Dieter
View ArticleSecondary indexes - response (13) by vrushang
Knowing that tables are loaded with mload so there won’t be any join index so SI would help to join tables . I agree with Shelley. Creating a valued order NUSI would be good, when you are running...
View ArticleDDL in a macro - response (2) by mayya@teradataforum
Thank you Vlad. I did as you suggested and its working fine.
View ArticleImmediately exit a query if a condition is verified - response (6) by gxgxg
I'm using TD v6.01 V2R. In fact, logically, I agree with you! This is the EXPLAIN of the whole query when I put 1=0 (I hide real object names): 1) First, we do a single-AMP RETRIEVE step from...
View ArticleChange columns order - forum topic by Edo_Ram
How can i change the columns order on a table?? or How can i insert a new column after other ?? sample ALTER TABLE <TABLE.NAME> ADD COLUM <NAME.COLUMN> <DATA.TYPE>...
View ArticleImmediately exit a query if a condition is verified - response (7) by dnoeth
Oooops, V2R6.1 is quite old, the optimizer started to resolve CURRENT_DATE in a later version. You say you can't use BTEQ, but how is the query scheduled then? Dieter
View ArticleChange columns order - response (1) by dnoeth
You can't do that. Why do you think you need it? Teradata is a Relational database and the order of columns has no relevane in Relational Model. You might simply change the 1:1 view for this table to...
View ArticleChange columns order - response (2) by Edo_Ram
Thank's for the answer.. I know that Teradata is a relational database and what that means. but, a client ask me about that and i didn't know it, also i couldn't find so much information again, thank...
View ArticleInstalling and Enabling Query Logging in Teradata Express 13 VMware Version -...
Hi Vince, you don't need to install query logging, you just have to switch it on using BEGIN QUERY LOGGING. Check the Database Administration manual for details on DBQL including housekeeping tasks....
View ArticleIssues with MERGE Query - response (2) by dnoeth
Hi Saravanan, if this is "a most business critical process" you should open an incident with Teradata support. Dieter
View Article