Forum email notifications temporarily disabled - response (8) by neilotoole
WAQ... in your profile you can elect to get notifications for threads you are part of, but you can also get notifications of all activity in a forum by clicking the little email icon on the forum home...
View ArticleNotify Routine for Update only using EVEN Table positions - response (1) by...
This issue was fixed in 14.0 (efix #4). That fix will be applied to 13.10 and 13.0 a little bit later this year.
View ArticleDetermine Average Count by Day of Week - topic by mattie4
How would I compute an AVERAGE for each day of week between a date range i.e. August through September on a Count? An average for FRI, SAT, SUN etc. E.g if there are 6 Thursdays in the date range,...
View ArticleHow to exceute only integer records in character column - response (1) by Jigar
Through direct supported SQL I can only think of recursive query. You will need to check from start of the string to length of the the string and if numberic than concatenate to existing data. If you...
View ArticleNotify Routine for Update only using EVEN Table positions - response (2) by...
Mmmok... good to know. Thanks anyway!
View ArticleER model and dimensional model - response (2) by vijayshankar245
Thanks a lot sebastian
View ArticleAccidental Cartesian Join Bug - response (1) by dnoeth
This is a well known artifact, it's usually encoutered when you forget to use an alias name. Teradata was implemented before there was Standard SQL, the initial query language was called (AFAIK) TEQUEL...
View ArticleGetting a unique value for VARCHAR field. - response (4) by dnoeth
Hi Ajay, you could use the calculation i posted and cast it to a char. But be aware, the HashRow function is not guaranteed to return unique values, you might need to implement your own UDF. Dieter
View ArticleREGEXP_REPLACE - topic by vijayshankar245
Hi, I am not able to view the source code for regexp_replace using show function when i give SHOW FUNCTION TD_SYSFNLIB.REGEXP_REPLACE i get error stating that 'cannot find find best fit...
View ArticleHow to exceute only integer records in character column - response (2) by dnoeth
Of course the best approach is a UDF. If oTranslate is installed this is an old trick to get rid of any unwanted chars: oTranslate(a, '.' || oTranslate(a, '.0123456789', '.'), '.') When your version of...
View ArticleForum email notifications temporarily disabled - response (9) by ulrich
no, at least I can't see this icon on my mac in firefox and safari browser - see sceen shots attached
View ArticleOreplace limitation - response (1) by ulrich
It has to be executed on Teradata ;-> What kind of limitation do you have in mind?
View ArticleSql Assistant 13 doesn't allow more than 1 Show Table statement - response...
Yes, I too faced the same issue... but I don't think it is specific to version 13.11 ... like Show table we also have issues with EXPLAIN. There is an work around for this.... Instead of viewing the...
View ArticleHow do i write qualify rank() over (partition.....question - topic by prawen
Hi all.. i have the query read more
View ArticleDetermine Average Count by Day of Week - response (1) by dnoeth
What do you mean by "6 thursdays in the date range", the number of thursdays in the calendar or the number of thursdays with data in your table? #2 is easy using nested aggregates: SELECT AREA_NM_TURF,...
View ArticleDetermine Average Count by Day of Week - response (2) by ulrich
you need to count the number of days per weekday separatly and join this to your result set. Something like: select d.AREA_NM_TURF, d.DayofWeek, casT(d.CountbyDayofWeek as decimal(15,3)) /...
View ArticleREGEXP_REPLACE - response (1) by dnoeth
This is an overloaded function, you need to use SHOW SPECIFIC FUNCTION with the exact name, but then you'll encounter another error indicating show is not supported for fastpath functions. There is no...
View ArticleWish list for forum development - response (6) by ulrich
One more wish: The default language in the Code editor is JAVA. At least I post in > 90% SQL in a database forum. Can the default be changed to SQL?
View ArticleHow do i write qualify rank() over (partition.....question - response (1) by...
What do you mean by "convert it to informatica"? Can't you simply use it as is against Teradata? Rank is available in most DBMSes, the proprietary QUALIFY has to replaced by a Derived Table/Inline View...
View ArticleDetermine Average Count by Day of Week - response (3) by ulrich
As you see here you need to be very precise in the desciption of your problem as you might get different results. The main difference in the two solutions from Dieter and me is that Dieter is counting...
View Article