828 | 18 Oct 2010 @ 12:17 PDT | Database | Reply | Why do we need integer datatypes | Hi Manu,
it's better to have more choices available :-)
Differences which come to mind:
- integers are truncated, but decimals are rounded, e.g. select 2/3 vs. select 2./3.
- the range of val... |
827 | 18 Oct 2010 @ 12:11 PDT | Teradata Applications | Reply | RESET keyword in Teradata 12 Certification | If this a TD12 course, then it's a bug.
Dieter |
826 | 18 Oct 2010 @ 12:10 PDT | Cloud Computing | Reply | Teradata DBMS is in bad state in TD Express 12 images (40GB as 1TB) | There's a new version (12.0.03.14) of the Linux TD12 Express available, which should fix that problem:
http://downloads.teradata.com/download/database/teradata-express-12-0-for-vmware-player-40-... |
825 | 17 Oct 2010 @ 03:44 PDT | General | Reply | Maximum number of AMPS possible in Teradata version 12 and above ??? | Hi Sakthi,
in fact the maximum number of AMPs is even much less than 16k, because PEs and Gateways are also VProcs.
AFAIK the largest systems currently got about 3000 AMPs, so there's still som... |
824 | 17 Oct 2010 @ 03:27 PDT | Database | Reply | Parallel apply | Hi Lakshmi,
ODBC is the worst connection type for that scenario.
Your 3rd party tool should at least support "array inserts" to submit batches instead of single row inserts.
If you use multipl... |
823 | 17 Oct 2010 @ 03:06 PDT | Teradata Applications | Reply | RESET keyword in Teradata 12 Certification | It's not from the TD12 course notes, this is TD13 syntax :-)
Dieter |
822 | 13 Oct 2010 @ 12:30 PDT | Database | Reply | Where are Stored Procedures stored ? | SPs are compiled into DLLs (Windows) or Shared Objects (Unix), those objects are stored within the owning database.
As it's fallback, you always see two AMPs with the same permspace size.
And ... |
821 | 13 Oct 2010 @ 12:18 PDT | Database | Reply | Problems with "WITH(NOLOCK" | Hi Ramiro,
you don't need to repeat the row lock, it just:
LOCKING ROW FOR ACCESS Select A.* from TABLE_1 A
LEFT OUTER JOIN (
Select * From TABLE_2
) B
ON A.FIELD = B.FIELD
Dieter |
820 | 07 Oct 2010 @ 11:57 PDT | Database | Reply | Parse Views to Tree Structure | I don't know much about the MDS, but there's documentation available:
http://www.info.teradata.com/templates/eSrchResults.cfm?txtrelno=&nm=Teradata%20Meta%20Data%20Services&srtord=Desc&txtttlkyw... |
819 | 07 Oct 2010 @ 11:50 PDT | Database | Reply | Decimal or VARCHAR Null handling | When you export "COALESCE(A.FIELD3,X'FF') (CHAR(06))" you can't use ".FIELD FIELD3 010 SMALLINT" for import, because the data types don't match.
But why don't you use the built-in option to deal... |
818 | 07 Oct 2010 @ 11:42 PDT | Connectivity | Reply | Teradata ODBC Install Error | I don't know what to delete in registry, but you should use a newer ODBC driver (13.10 is available), they're backwards compatible.
http://www.teradata.com/DownloadCenter/Forum90-1.aspx
Diete... |
817 | 05 Oct 2010 @ 05:01 PDT | Database | Reply | PPI | Within a PPI table the old 8 byte rowid is no longer unique within the table, it's just unique within partition.
But the 10 byte combination on partition number plus rowid is unique.
The two ro... |
816 | 30 Sep 2010 @ 11:52 PDT | Cloud Computing | Reply | Teradata DBMS is in bad state in TD Express 12 images (40GB as 1TB) | Hi Alain,
maybe the download is not available because of that problem :-)
Before you BOOTed the amp, did you try to set the amp's status from FATAL to ONLINE?
A BOOTed amp needs a TABLE REBU... |
815 | 30 Sep 2010 @ 11:28 PDT | Database | Reply | Collecting Stats after deleting all data | It's the same reason as any stats, it tells the optimizer about the number of rows and helps producing a better plan.
And there's almost no overhead collecting stats on a an empty table.
But if... |
814 | 30 Sep 2010 @ 11:16 PDT | Database | Reply | Adding time feilds | You have to define the resulting datatype:
select (endTime - startTime) hour to second
Dieter |
813 | 27 Sep 2010 @ 10:16 PDT | UDA | Reply | Rank in Teradata | It's a Standard SQL function, which is available in most DBMSes.
Just read the SQL Functions and Operators manual.
Dieter |
812 | 27 Sep 2010 @ 10:14 PDT | General | Reply | Difference between Product Join and Cartesian Product Join | There is no difference and there are no separate join strategies.
Why do you think so?
Dieter
|
811 | 27 Sep 2010 @ 10:12 PDT | Tools | Reply | Updates for Express? | I don't think there's a patch, but the Linux downloads are updated to 13.00.00.19 and 12.00.02.07
Dieter |
810 | 27 Sep 2010 @ 10:09 PDT | Cloud Computing | Reply | Teradata DBMS is in bad state in TD Express 12 images (40GB as 1TB) | Hi Alain,
this is strange, i run the 40GB 12.0.2.7 Express without any problems.
Did you check /var/log/messages for Teradata related info?
You could try to set the fatal amp onine using vpr... |
809 | 24 Sep 2010 @ 05:50 PDT | Tools | Reply | Removing vowels in the column | SEL 'CUSTPGM-15962' as col, otranslate(col, '.' || otranslate (col,'.MU','.'), '.');
*** Query completed. One row found. 2 columns returned.
*** Total elapsed time was 1 second.
col ... |
808 | 24 Sep 2010 @ 04:35 PDT | Tools | Reply | Removing vowels in the column | What did you try exactly? And what didn't work?
This is the typical approach to remove all other characters when you exactly know which chars to retain.
Of course you might have to add the uppe... |
807 | 24 Sep 2010 @ 04:12 PDT | Tools | Reply | Removing vowels in the column | You shouldn't try that without a UDF, because the code will look like:
case when position(substring(first_name from 1 for 1) in 'bcdfghjklmnpqrstvwxyz') > 0
then substring(first_name from 1 ... |
806 | 22 Sep 2010 @ 02:02 PDT | Database | Reply | Recompiling all Stored Procedures??? | Hi JK,
if you explain a SHOW PROCEDURE you'll see where the source code is actually stored.
But there's no way to retrieve that information other than SHOW
And if the SP was created using the W... |
805 | 22 Sep 2010 @ 01:47 PDT | Database | Reply | Help creating Query |
select
coalesce(t2.datavalue2, t3.datavalue3, 'unknown')
from table1 as t1 left join table2 as t2 on ...
left join table3 as t3 ...
Dieter |
804 | 15 Sep 2010 @ 11:23 PDT | Database | Reply | How to recover the data when it has been stored in fixed length by teradata ? | This is similar to storing a varchar in a char column.
You can try to remove the added HEX '00' using TRIM(TRAILING FROM col), hopefully there were no trailing 0 in your input data.
And next ti... |