BTEQ in ANSI mode - response (2) by dnoeth
Hi Mahesh, how did you call that script? There's STDOUT and STDERR, seems like there was a problem with your logon script, which is send to STDERR. Dieter
View ArticleRelation between Statistics and Indexes on a table - response (1) by dnoeth
Hi Mahesh, this is just a misleading error message, it should be rephrased to match the error for single column statistics:Â "6956 Column xxx has statistics and cannot be dropped or modified." Before...
View ArticleWhat's the quickest way to find out all the values under an attributes -...
HELP COLUMN databasename.viewname.*;Â Dieter
View ArticleCross tab - Pivot - response (10) by dnoeth
There's no place like sysindexes in Teradata which keeps the rowcount. You need to run multplie SELECTs like SELECT (SELECT COUNT(*) FROM tab1) as cnt1, (SELECT COUNT(*) FROM tab2) as cnt2, ...Or you...
View ArticleModify partition range in nonempty tables - forum topic by Kiruthi
Hi, Is it possible to modify partition range in nonempty tables using alter table statement or by any other methods. If so, please share the syntax. Thanks in advance!Forums: Database
View ArticleInserting a Record - response (2) by tigerjgd
If you want to define a refrential integrity constrain - there are 2-3 ways. if its hard RI--> which as you said will have to insert record in the primary table before inserting in to foreign key...
View ArticleAccess rights to see UDF source code in SHOW FUNCTION - response (1) by dnoeth
Hi Matthias, are you trying to SHOW some of the built-in functions like oREPLACE? They never show source code as they're not complied on the system, they're supplied in a pre-compiled library. DieterÂ
View Article3707 Syntax error,expected something like a '"||"'or a 'FROM' keyword between...
Hi, you might want to put double '' around 20132014, so that you include the whole a11.DEAL_YEAR_CD in ('20132014') string inside a character literal (if that is what you are trying to achieve)....
View ArticleData between two tables. - response (2) by VBurmist
Hi, if you can use recursive query to walk through the distinct parts of each Col1 value, building the Description values along the way. Â Here is a distantly similar topic about this:...
View ArticleModify partition range in nonempty tables - response (1) by VBurmist
Hi, this is covered in the documentation, in the SQL Data Definition Language - Detailed Topics / Syntax and Examples chapters. Â You can search for "ADD RANGE", "DROP RANGE" keywords in the Advanced...
View ArticleCompiling UDFs Migration from TD13 to TD14 - forum topic by ALovick
We have some great UDFs in TD13 and are having trouble recompiling them on the new box in TD14Â In the old system we simply listed all the .cpp files e.g. EXTERNAL NAME...
View ArticleAccess rights to see UDF source code in SHOW FUNCTION - response (2) by muthm
Hi Dieter, thanks for your answer! No, I need it for dumping the complete DDL of a database. The purpose is to rebuild (or 'clone') all the objects in another database after modifying all the database...
View ArticleDynamic fload script--multiple table load thrgh a single script - forum topic...
Hello, can i write a dynamic fload script. lets say file1 has to be loaded to table1, file 2 to table2 through a single loading script ?? i shd have just one fload script where i pass file name and...
View ArticleExecute Procedure failed With Error: Error message:Procedure:The user does...
Hi , I am very poor at Stored procedures.I have a quick question on the Access rights while executing the procedure. One of my DBA Created a Stored procedure(stored proc is to release the Mload Locks,...
View Articlesingle script to load multiple tables - forum topic by tigerjgd
Hello, can i write a dynamic fload script. lets say file1 has to be loaded to table1, file 2 to table2 through a single loading script ?? i shd have just one(single) fload script where i pass file name...
View ArticleGetting a person's exact age - response (5) by kbtrumptmp
Hi JJx5, One problem I found with this age calculation - The calculation errors out when the date you are calculating from is 2/29/yyyy. Because you are subtracting years from this date it can result...
View ArticleCreate GTT with Recursive Table - forum topic by 31_resu
Hello everyone, I came here to get some help or ideas for recoding a table and population design. Currently I have a single complex statement that creates and populates a table, and creates a recursive...
View ArticleData between two tables. - response (3) by Mathuram
For the required result, using SUBSTRING is enough but if the Col1 column having more number of commas i.e unpredicatable means that time you can go for Recursive query. using Resursive is best for...
View Articlesingle script to load multiple tables - response (1) by tigerjgd
Appriciate if any one could help with any logic -Aravind
View ArticleDynamic fload script--multiple table load thrgh a single script - response...
Appriciate if any one could help with any logic -Aravind
View Article