Default Value for a Data Column - topic by fgr12604
Hi all, I am new working with Teradata and creating a new table I am having some issues that I cannot solve. Hope you help me. I am creating a table: read more
View ArticleDefault VAlue for a Date Column - topic by fgr12604
Hi all, the next sentence raises an error: read more
View ArticleError 6770 invalid timestamp when importing pipe delimited flatfile through...
Hello, I'm trying to import a pipe delimited flatfile using the import functionality of the Teradata SQL Assistant through following SQL statement read more
View ArticleIs numeric data type available in TD ? - topic by paddyr1990
Hi, I'm currently working on a project where Stored Procedures from Sybase are being migrated to TD. How do you convert "numeric(10)" data type in Sybase to equivalent TD data type ? read more
View ArticleAudit process after the DRI Load completes - topic by sr.teradata39@gmail.com
Hi, Can any one please help me in below logic....i need a bteq query...Thanks BTEQ script – Post Load Process This BTEQ script would be created to perform an audit for validating whether the corrected...
View ArticleTop 10 Databases And Tables According To Size? - response (4) by usmans
Thanks Fred, I think I get what you are trying to say. If I don't have skewed data on my system then the results of both cases would be the same? And if I do have skewed data then the result of my...
View ArticleExecute access for Procedure? - topic by barani_sachin
How to check whether the particular user has execute permission for the SP? If not how to grant? Thanks in advance :)
View ArticleMoving window function - response (1) by dnoeth
You should change the update to a merge, which should get a much better plan: MERGE INTO tmp AS tgt USING ( SELECT col1,col2,col3, ST_DT, COALESCE(MAX(ST_DT) OVER (PARTITION BY col1 ORDER BY ST_DT ROWS...
View ArticleExecute access for Procedure? - response (1) by dnoeth
SELECT UserName FROM dbc.AllRights WHERE DatabaseName = aaa AND TableName = bbb AND AccessRight = 'PE' GRANT EXECUTE PROCEDURE ON bbb TO xxxDieter
View ArticleHow to retrieve the Relative Record Number? - response (8) by KS42982
I think I got what you try to do here now. Can you give an example how you want to update the bad dates ? I meant, with what you want to update the bad dates ? Where can we find the correct date that...
View ArticleIs "numeric" data type available in TD ? - response (1) by Qaisar Aftab Kiani
In Sybase I believe NUMERIC datatype is same as DECIMAL. Teradata has DECIMAL datatype, you can specify the precision and scale for DECIMAL as per requirement. I think NUMERIC(10) should be similar to...
View ArticleIs "numeric" data type available in TD ? - response (2) by Qaisar Aftab Kiani
Regarding your second question... GO is generally used as as batch separator in a script which ensures that the all the SQL before the GO statement will finish before proceeding further. Semicolon (;)...
View ArticleAudit process after the DRI Load completes - response (1) by Qaisar Aftab Kiani
This forum is to help the people facing certain problems and solve their issues, not to provide the solutions for business requirements. The best way would be to write the script yourself and post any...
View ArticleDefault VAlue for a Date Column - response (2) by Qaisar Aftab Kiani
The syntax defining the default date value is wrong, use the keyword DATE after DEFAULT keyword... Following post will help you!...
View ArticleDefault Value for a Data Column - response (1) by Qaisar Aftab Kiani
http://forums.teradata.com/forum/database/default-value-for-a-date-colum...
View Article