| 293 | 10 May 2013 @ 12:15 PDT | Data Modeling | Reply | Can Teradata display the Quarter value of a date? | Mark:
You can calculate the quarter from dates as ((CAST(EXTRACT(MONTH FROM fecha) AS BYTEINT)-1)/4)+1
BTEQ -- Enter your SQL request or BTEQ command:
SELECT DATE, ((CAST(EXTRACT... |
| 292 | 26 Apr 2013 @ 03:40 PDT | Aster | Reply | Teradata Aster: Transfer files from local host to VM | You ought to check the virtual network configuration for your VM. The NAT/BRIDGED/HOST ONLY, ipconfig / ifconfig , masks...
It seems to be a VMware issue, not a Teradata one.
Cheers.
Carlos.
&n... |
| 291 | 25 Apr 2013 @ 11:53 PDT | Aster | Reply | Teradata Aster: Transfer files from local host to VM | You can use FTP/SFTP or (maybe better for your needs) enable the 'Shared Folder' option in VMware player.
HTH.
Cheers.
Carlos.
|
| 290 | 11 Apr 2013 @ 12:17 PDT | Database | Reply | Teradata DBLink | Hi joe.
TD14.10 is expected to bring dblinks (sort of).
Also, there are some C-written UDFs that can mimic the dblink functionality.
Cheers.
Carlos.
|
| 289 | 11 Apr 2013 @ 12:13 PDT | Database | Reply | Session to Node Mapping | Hi again.
Adding to the excellent explanation by mr. Nolan, you can have more than one PE per node (as a matter of fact, this is the usual case). Same with gateways. Both are vprocs (software impl... |
| 288 | 10 Apr 2013 @ 07:40 PDT | Database | Reply | Session to Node Mapping | Prakash.
You may take a look at Laddered Concurrent Connect (LCC). This seems to be what you are after...
HTH.
Cheers.
Carlos.
|
| 287 | 09 Apr 2013 @ 01:06 PDT | Database | Reply | Varied result with DBC.TableSize & DBC.DiskSpace | You are comparing apples and oranges.
1: the max currentperm for an amp for a table in the database 'financial'
2: the max currentperm for an amp for the database 'financial'.
HT... |
| 286 | 03 Apr 2013 @ 09:03 PDT | General | Reply | CEIL and FLOOR functions | This functions are two of the new ones in TD14, (the all-new "Embedded Services System Functions") AFAIK there is no CEIL or FLOOR functions in TD13 (unless you code them in C as UDFs)
C... |
| 285 | 02 Apr 2013 @ 11:52 PDT | Database | Reply | "Replace" in Teradata - Only SQL statements ? | "SQL Functions, Operators, Expressions, and Predicates". OREPLACE() Pag 720.
Before you can use the embedded services functions, you must run the Database Initialization
Program (D... |
| 284 | 02 Apr 2013 @ 06:41 PDT | Database | Reply | "Replace" in Teradata - Only SQL statements ? | TD 14 implements oReplace() as a native Teradata Function.
HTH.
Cheers.
Carlos.
|
| 283 | 27 Mar 2013 @ 09:24 PDT | Tools | Reply | TPUMP for Active Ware housing | Nishant:
Since Version 14 TPUMP has access modules for JMS (libjmsam.so) and MQ's.
Previous to that (v14) I only know about using TPT to read from queues...
HTH.
Cheers.
Carlos.
|
| 282 | 27 Mar 2013 @ 01:53 PDT | Database | Reply | TIME (0) field converted to INTEGER | Using SQLA through ODBC perhaps?
If so, check options DateTime Format.
HTH.
Cheers.
Carlos.
|
| 281 | 06 Mar 2013 @ 07:12 PST | Database | Reply | Rounding down decimals | Also, if you are in Teradata 14, you can use TRUNC() and ROUND() (Oracle heritage, I'm afraid ;-) )
Cheers.
Carlos.
|
| 280 | 27 Feb 2013 @ 12:28 PST | Teradata Applications | Reply | inserting string value in to table | Seenu:
You'll have to escape the single quote between the '9' an the '-' : '...9'-"...'
Cheers.
Carlos.
|
| 279 | 25 Feb 2013 @ 01:33 PST | Database | Reply | Calculating the actual query run time | Rajeev:
DelayTime = The time a query was delayed by Teradata DWM.
Cheers.
Carlos.
|
| 278 | 18 Feb 2013 @ 04:07 PST | Database | Reply | Calculating the actual query run time | Rajeev:
FirstRespTime - StartTime = Total SQL Execution Time.
FirstStepTime - StartTime = Parsing & DD Access Time (locks in DD can be shown here).
HTH.
Cheers.
Carlos.
|
| 277 | 15 Feb 2013 @ 05:15 PST | Tools | Reply | FAILURE 2673 SOURCE PARCEL LENGTH DOES NOT MATCH DATA THAT WAS DEFINED | You might consider to change the oracle export strategy to someting like:
CONNECT usr_id/pwd
set echo off
set feedback off
set heading off
set linesize 32767 (or whatever fits your ... |
| 276 | 14 Feb 2013 @ 06:19 PST | Database | Reply | Problem With High PJI | PJI is CPU intensive operations indicator.
As you say, you have a lot of CASEs, which may be at the botom of your problems.
Complex operations may also be CPU intensive and show as high PJI.
Oth... |
| 275 | 13 Feb 2013 @ 01:57 PST | General | Reply | Using Length Function ... | LENGTH() is a function of the ODBC layer, not Teradata native. BTEQ uses CliV2, which is not ODBC, and hasn't these functions.
Cheers.
Carlos.
|
| 274 | 08 Feb 2013 @ 12:28 PST | Database | Reply | Database access issue | Lionel:
Check the VMware virtual network configuration.
You should have chosen 'bridged' connections in order to allow other machines access the VM (and thus the database).
HTH.
Cheers.
|
| 273 | 07 Feb 2013 @ 02:25 PST | Database | Reply | how to find the start dates from history | Sunny:
Maybe this approach will help you:
BTEQ -- Enter your SQL request or BTEQ command:
SELECT *
FROM YOUR_TABLE
ORDER BY 1,2;
*** Query completed. 8 rows found. 4 columns... |
| 272 | 06 Feb 2013 @ 08:05 PST | Database | Reply | ETL Process results in contention on Teradata table | "Doesn't Teradata have row-level locks??"
Teradata uses rowhash locks (whenever can be applied), which can be 'row-level' locks depending primarily on the Primary Index. The ... |
| 271 | 06 Feb 2013 @ 12:53 PST | Analytics | Reply | How to not to skip a RANK ? | Hi.
You could try something like:
SELECT a.Store_Item,
a.Sales,
b.The_rank
FROM YOUR_TABLE a,
( SELECT c.Sales ,
row_number() OVER (ORDER BY c.Sales DESC) The_Rank
FROM ( SELE... |
| 270 | 04 Feb 2013 @ 03:04 PST | Third Party Software | Reply | Number Data type - Teradata 14 with Microstrategy 9.2.1 / 9.3 | Leandro:
Check the compatibility matr¡ix. I'm not sure that MS 9.2.1 & 9.3 is certified to work with TD 14 yet.
Cheers.
Carlos.
|
| 269 | 01 Feb 2013 @ 05:47 PST | Teradata Applications | Reply | Please help me suggesting a query to find 1.the scale of the column in teradata 2.the foreign keys of a table in teradata 3. ... | 1: SELECT DBC.COLUMNS.
2 & 3: SELECT DBC.ALL_RI_PARENTS AND / OR DBC.ALL_RI_CHILDREN.
HTH.
Cheers.
Carlos.
|