Is it good to creating SET table with UPI or NUPI and why..? - response (2)...
Hi Its better to create a SET table with a UPI or enforce uniquness on atleast one of the columns if not on the PI columns. SET tables dont allow duplicates however if you are deifining a NUPI then it...
View ArticleSample database - response (2) by ayman.guc
Teradata Express for Windows installs with sample databases under the "Samples" database in the hierarchy. The data installed depend on the selection of database size when installing the Teradata...
View ArticleTimestamp format not working to get the two digit year - response (13) by...
Hi Rafi, Yes, as Nishant pointed out an approach using recursive queries would be a more generic one here is an eaxmple- Assuming tb1 is the table containing data we need to make tb3 to rank the...
View ArticleBTEQ is not returning proper error code when run file is not present. -...
#!/usr/bin/ksh bteq <<-EOF .logmech ldap .logon xxxx/xxxxxxxx,xxxxx .set width 4000; .set underline off; .set titledashes off; .set heading ''; .set timemsg query; .set maxerror=1 .run file...
View ArticleIs it good to creating SET table with UPI or NUPI and why..? - response (3)...
SET table with UPI is always better because it enforces the uniquencess of the data in turn it ensures that data is distributed across AMPS evenly. A evenly distributed data improves the performance of...
View ArticleHow to install Teradata Express on Windows 7 64 bit machine? - response (2)...
VMServer or VMplayer can be directly downloaded from VMWare website, and install them on your laptop, but you need to first register yourself on VMWare website. Also, to activate links for Teradata...
View ArticleUnique primary key voilation Error - forum topic by MBR
Hi, i am facing the issue with Unique constraint voilation Error, can anyone tell me how to resolve it ThanksForums: Database
View ArticleTeradata Studio Express - forum topic by Cvinodh
Hi, I am using Teradata studio express in Macbook pro. The Application is abruptly closing every time I try to open it. It was working for almost a day after upgrading the SQL Client. I've reinstalled...
View Articlehow to create a user, database and table in sql assistant? - response (4) by...
Lol my mistake with the earlier answer. I had allready created user by using script similar to generated from Teradata Administrator. The ony questions are:GRANTALLON user_TEST to SysDBA2...
View ArticleGrant select on DBC.USERS for typicall user. - response (4) by wicik
Hi there, Thanks for your answer. Well till now I have used dbc.databases but this table does not have information about user profile and others which dbc.users have. But thanks anyway :) Typical...
View ArticleLENGTH() function in bteq - forum topic by MBR
Hi, can anyone tell me what is the equalent function to use in BTEQ instead of LENGTH(col) i am getting error while running the script through bteq, i have used LENGTH() function inside the script so...
View ArticleIs update possible in DBC.USERS? - response (5) by wicik
Hi there, Do you guys have idea how to grant full select privilages on dbc.users? I have been granted with grant select on dbc.users to my_login but i still see only myself in select * from... Any help?
View ArticleLENGTH() function in bteq - response (1) by KS42982
Try character_length function instead of length.
View ArticleProcedures Calling Procedures with Dynamic Result Sets (from TD notes) -...
Hello all, I am teaching myself the syntax of stored procedures from your notes. P35 from "SQL Stored Procedures and Embedded SQL" shows the following snippit: REPLACE PROCEDURE alloc007() DYNAMIC...
View ArticleDifference between Timestamp - response (3) by dlabar
What can you do if there are more than 9999 days between the timestamps? I am trying to get the number of seconds elapsed (ideally as decimal rather than interval). For instance, this gives an...
View Articlebasic questions - response (1) by cheeli
Well, looks like all are busy. Was expecing some answers on this.
View ArticleAMP - Storing the Record - response (3) by rajesharra
Hi Dnoeth, When i said the same to my friends, they are saying if this is the case (gives error no more room), then it is a bug of TD. They are saying there should be some mechonisam which is...
View ArticleUtilities to export data from Teradata to Oracle? - forum topic by vikk02
Hi all, Is it possible to load data directly from Teradata tables to Oracle tables using any utilities? Thanks in Advance VikkTags: TD utilitiesLoad/UnloadForums: Tools
View Article