Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

selecting values from a table where max value is null - response (5) by Makuma

If you really want the rows where max(dt) is null, you can simply use this, isnt it?   SEL NAME,MAX(dt)  mx FROM tbl1 group by 1 HAVING MX IS NULL

View Article


Session to Node Mapping - response (2) by sip.shankar

Hi Carlos,  Thanks a lot for your guidance. I understood the concept behind LCC. THis bring another question in my mind. could you pls throw some light here too please. assume my session got connected...

View Article


SELECT Failed. 3706: Syntax error: Data Type "response_tm_sec" does not match...

Hi,  I'm getting the "SELECT Failed. 3706: Syntax error: Data Type "response_tm_sec" does not match a Defined Type name." error when I run the following SQL on SQL Assistant: select...

View Article

SELECT Failed. 3706: Syntax error: Data Type "response_tm_sec" does not match...

The error message is misleading, there's no stdev function, it's called STDDEV_POP or STDDEV_SAMP :-) Dieter 

View Article

Query that returns List of users from teradata database - forum topic by...

Hi, I need to write Teradata query that will list out all users that have access to a database and their names which are stored in the commentstring column.  Thank you.Forums: Database

View Article


Count of Records within 7 days of Timestamp - response (1) by dnoeth

Hi Dave, some modification of your original query should give the correct output, but the efficiency depends on the number of rows per name, it's fast if the number is low: SELECT Contact_ALL.Name,...

View Article

Cast from CHAR(20) to SMALLINT - response (6) by KS42982

It should not throw any errors if you are inserting the records as per the first post. Can you share the query that is giving you the problem and will look into it.

View Article

Session to Node Mapping - response (3) by tomnolan

PEs can communicate with any/all AMPs as needed, regardless of whether the AMP is located on the same node as the PE ("on-node") or a different node ("off-node"). The Bynet handles all the messaging....

View Article


Session to Node Mapping - response (4) by tomnolan

Regarding your original question: "When a user tries to establish a connection to Teradata, will Teradata Gateway receive and send that request to any 1 NODE?(if yes, on what basis)" Sessions are owned...

View Article


Teradata DBLink - forum topic by goldminer

A question that I get from developers on a routine basis is "When is Teradata going to develop DB Links?"  As a DBA, I could use this functionality as well.  Has anyone else ever inquired about DB...

View Article

Cluster level Archive!!! - response (1) by jamesl

Hi: I am intrested in arcmain cluster=0,1 ... feature.  i read this section on the manual  (the cluster command is only covered in 1 page) but don't fully under stand the strength of archive cluster ....

View Article

Session to Node Mapping - response (5) by CarlosAL

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...

View Article

Teradata DBLink - response (1) by CarlosAL

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.

View Article


Session to Node Mapping - response (6) by sip.shankar

THanks a lot Carlos and TomNolan. THis is extremely helpful.

View Article

Count of Records within 7 days of Timestamp - response (2) by Chopper1979

Morning Dieter, Thank you for your reply. The table I'm using contains over 7 million names and contact dates and times for all contact between April 2012 and May 2012. Average rows per user is 3 and...

View Article


Teradata DBLink - response (2) by tomnolan

Data Mover is our recommended product for moving data from one Teradata system to another.http://www.teradatamagazine.com/Article.aspx?id=13432  TPT can use an ODBC driver to communicate with Oracle,...

View Article

Cast CHAR/VARCHAR to VARBYTE - forum topic by veskojl

Is there a way to convert string data into varbinary data type. I want to use the BYTE/BIT manipulation functions on a string column, but they can recieve only BYTEINT,INT, BIGINT and VARBYTE data...

View Article


Cluster level Archive!!! - response (2) by jamesl

Hi, its me again, one more additional implementaiton related question, How do I find out what cluster number is associate each machine (node) in the clque. thanks.

View Article

validate whether cast will work or not - response (2) by monschke

isNum is not enough.  My starting point is strings, but I want to be able to convert to any data type without the SQL blowing up (can only do by removng bad records first - why I want the function)....

View Article

Best way to generate the Sequential numbers : CSUM or IDENTITY columns? -...

CSUM(1,1) should never be used, because it skewes to a single AMP Hi Dieter, Can you please explain more about this?? Thanks, Dheem 

View Article
Browsing all 14773 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>