ADD_MONTHS vs INTERVAL - forum topic by bikky6
Please let me know the exact difference between using INTERVAL and ADD_MONTHS SEL CAST('2013-08-29' AS DATE ) -INTERVAL '6' MONTH returns Invalid Date SEL ADD_MONTHS(CAST('2013-08-29' AS DATE ),-6)...
View Articlewhat does panicloopdetected contain? - response (2) by hs734
Hi, How solve the above issue? I am getting the following error. Please help - Sep 11 20:35:01 s10-1310 Teradata[6092]: INFO: Teradata: 13018 #Event number 33-13018-00 (severity 0, category 11) 1 node...
View ArticleADD_MONTHS vs INTERVAL - response (1) by msk.khurram
Hi, Interval is a data type in Teradata that represent displacement between two points in time. ADD_MONTHS adds the months and years (Months * 12) to a specific date, while using Interval you can add...
View ArticleImporting the large flat files failing - response (4) by anuragn
Oh ok.. Thanks for the response Khurram and Qaiser. Can you guide me which direction(links or other resources) i should proceed to deep dive into the error that I am getting ? Appreciate your reponse.
View ArticleImporting the large flat files failing - response (5) by msk.khurram
Well, I am not sure if you are still thinking to solve the problem with SQL Assistant OR you are making your mind to use some other utilities(TPT, Fastload, Multiload). If you want to learn about TPT...
View ArticleYou dont want the DBA to see the records? - response (3) by YouAllAreStupid
this s some certification qestion.i think row level security doesnt give any implicit acess?
View ArticleWhy the Optimiser does not run these STATS in parallel ? - response (1) by...
Only OLAP functions with the same PARTITON/ORDER BY can be calculated in a single step and your ROW_NUMBERs got the same ORDER BY (which is just a dummy order, btw), but different PARTTION. It's...
View ArticleTLE usage - forum topic by ksn
we could use TLE data to capture system cost,stats,random amp sample, ddls and set these up on another system and emulate the system on which the TLE was captured. This would only help as far as...
View ArticleAutomatic script to change PI in case of high Skew - response (1) by dnoeth
Hi Saran, i doubt a script like that exists. Choosing a PI without knowledge about the data plus join and access paths will not automatically result in better performance. You should start doing it...
View ArticleVolatile Table Use, Scope, & Ownership within Stored Procedures - response...
There's no way to find out which VTs exist within your current session using dbc tables. Only "HELP VOLATILE TABLE;" will return that info, but it's not allowed within a SP. The easiest way to avoid...
View ArticleYou dont want the DBA to see the records? - response (4) by Qaisar Aftab Kiani
row level security is the most granular level security option provided in TD 14, to only allow the users with proper access rights to access the information. Previously one could secure the access at...
View ArticleGet Row Count of a Table on a previous date - response (1) by Qaisar Aftab Kiani
I don't think that is possible unless you have some metadata capturing process defined capturing table details before and after execution of the loading jobs...
View ArticleFiscal vs. Calendar Issue - Adjusting SYS_CALENDAR to Begin Monday - response...
Dieter, What is the table/view name in TD14 for the ISO Calendar?
View ArticleGet Row Count of a Table on a previous date - response (2) by Adharssh
Hi, You can get the row count only when you have an Timsewtamp column,which will be updated when you insert or update the record in the table. So that we can get the row count using the Timestamp...
View ArticleHow to calculate moving sums within variable size windows? - response (4) by...
The RANGE syntax is Standard SQL but unfortunately it's not implemented in Teradata. So Vlad's solution is complicated, but probably the only one (if you actually need this for each row in your result...
View ArticleSpecial Characters in Teradata - response (3) by dnoeth
If you know which characters are not special it's easy: CHAR_LENGTH(oTranslate(your_column, 'abcdefghijklmnopqrstuvwxyz','') > 0 indicates special characters. Dieter
View ArticleDDL Statement , Dynamic SQL in a FOR cursor LOOP -SQLCODE 3772 - response (2)...
There's no way to do this in an ANSI mode SP. If you can't switch to TD mode there's a workaround: Don't EXECUTE the DDLs, but insert all of them into a Volatile Table adding a sequence number. Then...
View ArticleHow to find table size and index size using Ferret utility - response (1) by...
Hi Sharib, COLLECT DEMOGRAPHICS is usually quite close to the actual size (but i doesn't include Fallback size), i use a query like this to get a percentage for each SI: SELECT dd.DatabaseName...
View ArticleHow to get data from Excel to Teradata table without using teradata olap...
Hi , My requirement is : I have to insert data from excel sheet to teradata tabels without using olap connector and import/export option thats available in TD. Is this possible, if so could you please...
View ArticleCondition for generating NULL - forum topic by eliot
Hi, I'm wondering when will NULL value being generated. Given the following query: SELECT CASE WHEN (ACOS(2.3) IS NULL) THEN 'T' ELSE 'F' END AS C0 I'm expecting 'T', because '2.3' is out of...
View Article