Is it possible to use a macro to send out an e-mail notification? - response...
Hi, I was just wondering why do you want to use macro, is ther any specific reason for this ? Because I have handled such things in after bteq script in the master job using shell script (UNIX)...if...
View ArticleIssue with Decimal(38,0) data type in BTEQ - response (5) by dnoeth
For negative values you need to include the sign: '-(38)9' Dieter
View ArticleDetermining table size with table conditions - response (1) by dnoeth
This approach should get you an approximate size without copying data: SELECT yr, currentperm * prct FROM ( SELECT SUM(currentperm) AS currentperm FROM DBC.TableSizeV WHERE DatabaseName = ... AND...
View ArticleHow to force duplication of the rows from a small table on all AMPs -...
Hi Vikram, #1: the optimizer knows about the system (number of AMPs, CPU speed, etc.) and this is included in planning, so yes, it's dependent on the number of AMPs #2: There are many different ways to...
View ArticleSharing table or view in multiple ODBC Connections - response (4) by dnoeth
Teradata doesn't provide any builtin way to access data from two different Teradata servers within the same query, not in ODBC and not in BTEQ. You have to write a table UDF or use a 3rd party...
View ArticleIs it possible to use a macro to send out an e-mail notification? - response...
If you can't do it in a Unix shell you have to write a XSP for the mail part, in the appendix of the "SQL External Routine Programming" there's an example for that. And because Macro's don't support IF...
View ArticleArcmain question : Operation not allowed: table is being restored - response...
ARCHIVE DICTIONARY TABLES includes metadata only, i.e. DDL, but no data. I'm not shure, but IIRC a restore only inserts into the system tables, but doesn't create the table header. It should be...
View Articlesql help: valid indicator for records that are >= 6 months - response (1) by...
This is one way of solving it... TEST_TBL is the one from which the customer records are selected, and MASTER_TBL contains the final results with indicators! CREATE TABLE MASTER_TBL( ID INTEGER,...
View ArticleSharing table or view in multiple ODBC Connections - response (5) by suresh1802
Dieter, But in BTEQ while logging in we can mention the host name of server1 and do the transaformation...what ever is required.. And then log off from server1...connect to server2 with...
View ArticleSharing table or view in multiple ODBC Connections - response (6) by dnoeth
Hi Suresh, of course you can connect to multiple servers in BTEQ one after the other, but fmartinus wanted to access both servers within the same query. Dieter
View ArticleCompare two tables using utilities - response (1) by i150371485
Experts, Could you please look in to the above post.? Your help is much appreciated ..
View ArticleWhat is index join confidence - response (3) by suresh1802
Hi Ragav, Index join confidence will appear in instances when an index (with or without statistics) is present on one side of the join but no index or statistics are on the other side. pls refer for...
View Articlesql help: valid indicator for records that are >= 6 months - response (2) by...
Hi Feroz, you need some recursive process like this: CREATE VOLATILE TABLE vt AS ( SELECT customerid, entrytimestamp, ROW_NUMBER() OVER (PARTITION BY customerid ORDER BY entrytimestamp) AS rn FROM...
View ArticleSharing table or view in multiple ODBC Connections - response (7) by suresh1802
Yeah Dieter, you are correct, this is not possible with in the same query. Suresh
View ArticleCompare two tables using utilities - response (2) by dnoeth
If you insist on a column level report you need to split all columns into rows before comparison like: select * from ( select name, 'city' as column_name, city as source_value from source_table union...
View ArticleQuery to convert Decimal(15) to date format 'yyyy-mm-dd' - response (4) by...
Thanks Ulrich......its working! @Satyaki-- sorry for incomplete info. its teradata 13...!
View ArticleTables & Columns in a View - topic by Pat_Benny
Read through forum and couldn't get a clear answer. New to teradata.... I have about 2000 views I need to break down. Some views use multiple tables... I can get the column names of the view but not...
View ArticleTeradata DBA Traninig in Hyderabad? - response (13) by MVasu
Hi, Which is the best Teradata Training Institute in Hyderabad.
View ArticleLoading TD 13.10 Period Datatype with Informatica 9.1 workaround - response...
what is the exact error message you're getting when loading period datatype, are you using loaders or TPT API. Just so as you know with MM, you can create custom Xconnect to parse bteq scripts and...
View Article