MS Visio 2010 - Reverse Engineering Views? - forum topic by teradatatester
Has anyone successfully Reverse Engineered Teradata Views using MS Visio 2010? When I try "Reverse Engineering" the Views check box is grayed out and not selectable. Is there a dbc table or view I need...
View ArticleUser that executes a sql statement - forum topic by lucas.stizza
Hi, I'd like to know if i can capture the user that executes a query. I'm using a variable to capture the error on a statement (:SQLCode), but I need to know the user that has excecuted the query....
View ArticleTIMESTAMP(6) WITH TIME ZONE, space between seconds and timezone, need to...
I’m trying to extract the Time zone offset from a TIMESTAMP(6) WITH TIME ZONE column. I’ll call the column ‘EVENT_DTSZ’ The values in the column ‘EVENT_DTSZ’ follows like ‘03/03/2013 8:00:00 -06:00’...
View ArticleSynchronized scanning - response (7) by AdamL
So, does this mean both the tables will be undergo a Full table Scan? Also, will the scanning of rows will be Row Hash scan or All rows scan?
View ArticleUser that executes a sql statement - response (1) by dnoeth
The built-in function USER returns the current user. Dieter
View ArticleTIMESTAMP(6) WITH TIME ZONE, space between seconds and timezone, need to...
The returned value has an unusual format, if it was formatted by TD there would be a leading zero before the hour. What's your client tool/connectivity? Did you check the FORMAT of EVENT_DTSZ? A blank...
View ArticleDivision of two integers - forum topic by bikky6
Hi Below things wonder me.When I perform SEL (100.00/210.00) GIVES 0.48 But if perform SEL (29781215.00/29894915.00) gives 1.00 instead of 0.99 Then i did in the below way.It worked SEL 100*...
View ArticleDivision of two integers - response (1) by dnoeth
Hi KVB, these are not Integers, but Decimals. Decimals get rounded and the result of your division is 0.9961966775955041..., which is correctly rounded to 1.00. Dieter
View ArticleDivision of two integers - response (2) by bikky6
Oh sorry.Yes the yare decimals.Then also for the first query it is not being rounded off and for the second one it is being rounded.Here is the confusion arised for me. KVB
View ArticleDivision of two integers - response (3) by dnoeth
Hi KVB, the first dvision is also rounded: SEL (100.00/210.00) = 0.476190476190476 When you add/substract/divide two decimals the resulting precision is the higher of the two operands, e.g. dec(a,b) +...
View ArticleDo Casting is required for precision mismatch - forum topic by Kiruthi
Hi, please confirm casting is required for precision mismatch of same data type? For example: I have table EMP having column Designation char(20) and I have another table EMPLOYEE having column...
View ArticleTIMESTAMP(6) WITH TIME ZONE, space between seconds and timezone, need to...
I use Teradata SQL Assistant via either Teradata.Net or ODBC, and Nexus sel EVENT_DTSZ FROM DB.EVENT_LOGS sample 1 Teradate.Net gives me:‘4/10/2013 7:50:00 PM +00:00’ ODBC gives me:‘4/10/2013...
View ArticleDo Casting is required for precision mismatch - response (1) by dnoeth
The first select determines the datatype of the result, when you SELECT EMP.Designation UNION SELECT EMPLOYEE.Designation the result will be CHAR(20) and data in EMPLOYEE.Designation will be silently...
View ArticleTIMESTAMP(6) WITH TIME ZONE, space between seconds and timezone, need to...
Dealing with "timestamp with time zone" is complicated and the rules how it's casted depend on some dbscontrol settings, too :-) Plus there's a known limitation in ODBC, which doesn't support time...
View ArticleSynchronized scanning - response (8) by Shelley
the answer to your question will be in the explain..what does the explain say. --Shelley
View ArticleUser that executes a sql statement - response (2) by lucas.stizza
Thanks! That's what I was looking for.
View ArticleSpool space issue - forum topic by arpit.ubale
Hi, I encountered a spool space issue while running the query. Kindly help me understand the root cause and if there are any specific areas to look for in case of spool space issue. Thanks in advance...
View Article