Temporal Macro / Dynamic SQL in a View - response (1) by WAQ
You can create a parameterized macro which can take the date parameter from you. If you are just running the query manually in SQL assistant and want to make the query dynamic so that everytime it ask...
View ArticleNeed help with selecting distinct event date within last 180 days - response...
First of all correct this statement in the query: B.CreatedDate Between 'Jan 10 2009' AND 'Nov 06 2012'You are not comparing createdDate with the actual DATES. Cast Jan 10 2009 and Nov 06 2012 to date...
View ArticleQueries: Temporal Table - topic by senpsg
We tried to replicate the examples provided in the docs in our Teradata environment but the results we obtained is different from what is expected. Below is the example, CREATE MULTISET TABLE...
View ArticleQueries: Temporal Table - response (1) by senpsg
We tried to replicate the examples provided in the docs in our Teradata environment but the results we obtained is different from what is expected. Below is the example, CREATE MULTISET TABLE...
View Article"From" clauses in Create database query. - response (2) by yaragalaramesh
Hi dnoeth, i have a query like as follows SELECT c.unit_num ,c.trans_end_dt ,c.Coupon_cd AS Coupon_cd ,COUNT(DISTINCT Loyalty_Member_Id ) AS "Customer count" ,SUM(Net_Sales_Amt) AS Sales...
View ArticleSQL Assistant 14.0.0.02 not closing once query is done in batch - response...
Hello Forum, I have the same issue in 13.11.0.4 but I already use sqla.exe Sometimes SQL Assistant closes correctly so that the batch file can continue but sometimes it does not. I've tried the same...
View ArticlePerformance Tuning Merge Statement - response (2) by venkylingutla
Hi As per the explain plan its merging the data with low confidence. you are using PI on multile columns. Please collect the stats on join columns individually it will solve your performance...
View ArticleSQL Assistant 14.0.0.02 not closing once query is done in batch - response...
After my initial post I've tested the following lines in the batchfile (on both machines) : start /MAX /WAIT sqla.exe -c 1teradata -f "\\s011\obv6vol1\TD\Test\test1.sql" -e...
View ArticleTemporal Macro / Dynamic SQL in a View - response (2) by sdmody1983
Hi, Do you have a sample macro like this for temporal? Thanks. Shraddha.
View ArticleCould not initialize class javax.crypto.SunJCE_b - response (2) by tomnolan
Googling "Could not initialize class javax.crypto.SunJCE_b" returns many results, with different suggestions for how to fix the problem. I recommend that you try some of the suggestions.
View ArticleJDBC - create timestamp from LogonDate and LogonTime - response (1) by dnoeth
Hi Ray, check the actual datatypes. This looks like a table with data from the AccessLog and within that table the LogonTime is a FLOAT: CAST(LogonDate AS TIMESTAMP(0)) + CAST(TRIM(LogonTime) AS...
View ArticleFast Export producing unreadable text file - response (10) by feinholz
We will not be making any changes to FastExport for delimited data output. If you would like this functionality, we offer it in TPT.
View ArticleTPT: error 2972: No table header exists for table. - response (1) by feinholz
I spoke with the database engineers and they told me that you will need to open an incident with the GSC. Database engineers will only be able to analyze the cause of this internal error by either...
View ArticleUse TPT to load a million flat files - response (3) by feinholz
This is a bug that we had previously discovered and is being fixed in an upcoming efix/patch. The version will be 13.10.00.12. It will take about 4-6 weeks to appear on the Teradata At Your Service...
View ArticleUnable to import Geo Data with TDGeoImport - response (2) by ypinzon
3798 error is returned when character data size specified in a USING clause exceeds 32000 bytes and a session character set is set to UTF8. Try changing user default character set to LATIN.
View ArticleCould not initialize class javax.crypto.SunJCE_b - response (3) by sreevaddi
Thank you for your suggestion, Tom. I had the, Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7....
View ArticleCould not initialize class javax.crypto.SunJCE_b - response (5) by sreevaddi
Final steps: > library(RJDBC) > jdrv <- JDBC(driverClass="com.teradata.jdbc.TeraDriver", classPath="~/mydrivers/td/terajdbc4.jar:~/mydrivers/ td/tdgssconfig.jar") > conn <-...
View ArticleJDBC works fine but RJDBC fails - topic by sreevaddi
Hi, I have successfully connected to teradata from standalone java application using jdbc. But fails to establish connection using RJDBC. read more
View ArticleProblem Authenticating through JDBC running on Linux. - response (3) by...
private static String user = "tduser"; private static String password = "passwd"; private static String url = "jdbc:teradata://TDServer/TMODE=ANSI,CHARSET=UTF8"; private String sqlGetData = "SELECT *...
View Article