Select Tables created in a previous months only - response (1) by ulrich
select (current_date - extract(day from current_Date)) as last_day _of_month, Add_months(last_day _of _month + 1,-1) as first_day _of _month;
View ArticleJDBC - create timestamp from LogonDate and LogonTime - response (2) by rcotten
Thank you... I think that has it working for me. I ended up having to provide a format but that is good. CAST(LogonDate AS TIMESTAMP(0) Format 'yyyy-mm-ddbhh:mi:ss) + CAST(TRIM(LogonTime) AS...
View ArticleSelect Tables created in a previous months only - response (2) by terankit
Thanks Ulrich. I have made a query as given below: SELECT DBNAME, TBLNAME, CAST(CREATTS AS DATE...
View ArticleSelect Tables created in a previous months only - response (3) by ulrich
Use help table DBC.TABLES and fix your column names. Condition is correct
View ArticleUpdate query - response (4) by n.kasthurirengan
Hi, Try the following query.it shld work syntactically UPDATE A FROM test1 A, test2 B SET A.WK = B.PER_NO WHERE A.data BETWEEN 1 AND 4 AND A.T_Date = B.T_Date + 7 AND A.T_DT > '2010-01-01'
View ArticleSelect Tables created in a previous months only - response (4) by mohan.mscss
Here it is.. SELECT databasename as DBNAME, tablename as TBLNAME, CAST(createtimestamp AS DATE FORMAT 'YYYY-MM-DD')(CHAR(10)) as CREATE_DATE FROM...
View ArticleTemporal Macro / Dynamic SQL in a View - response (4) by sdmody1983
Nope. I want to parameterize the following clause: validtime as of date '2001-01-01'
View ArticleLeft outer join with a NULL value - topic by Prabhakar Thangapandi
Hi, Can some one tell me, how to join 2 tables where one of my table join condition is having a null value. For example, i took some sample values and what i need is given below as output. read more
View ArticleData Overlapping in table while using TPT connection - response (1) by...
Just updating my post. I fixed the issue by using ltrim and rtrim on all the string columns. I am still unclear that this issue was casued by Informatica or by using TPT connection. --Thread Close--
View ArticleNeed to convert UNICODE to LATIN - response (5) by jinli
not sure from where you concluded that. here literal-strings are being discussed. see -- select type(f01), type(f02) from (select coalesce(cast('yes' as varchar(10)), '') as f01, cast(coalesce('yes',...
View ArticlePosting topics into the correct forum - response (11) by ronaldneck
First we have to check whether posting a forum site is good for our topic or whatever else?
View ArticleSQL QUERY ( replacing characters and special characters in a string) - topic...
I have 3 columns phone1,phone2,phone3 which are char columns. my requirement is to concatenate these 3 columns and Remove Characters and Special Characters and replace with blank. if the values are...
View ArticleImmediat TERADATA Online training available...,Interested people drop a mail...
We at BISP, just started a new batch of " TERADATA" ( Developer & Admin Track ) 5 days back & done only few classes till today. Now we are organizing back up classes for those who are...
View ArticleTeradata DBA Training - response (10) by Kapilbisp
Hi, We at BISP, just started a new batch of " TERADATA" ( Developer & Admin Track ) 5 days back & done only few classes till today. Now we are organizing back up classes for those who are...
View ArticleTeradata DBA Traninig in Hyderabad? - response (14) by Kapilbisp
pls may visit htttp://www.bispsolutions.com for Teradata ( Dev + Admin ) training.
View ArticleOracle Replay feature in Teradata? - topic by sfhall
Is there a way to record Production SQL queries and workloads so that they can be replayed in another environment? Kind regards, Steven
View Articleteradata as a data source support openrowset - topic by memostone
Hi all, I'm new to teradata. Does teradata support openrowset queries? Thanks for reply.
View ArticleFlasback Facility - topic by sfhall
Is there an equivalent Oracle flashback facility within Teradata?
View ArticleMultiload data from a table to another - topic by aarsh.dave
Hi, For an upcoming project, I am required to pull data from a table on database A and load it into a table on database B. I used FASTLOAD in my scipt for this purpose. It works fine, but in case there...
View ArticleLeft outer join with a NULL value - response (1) by mohan.mscss
Here you go... sel la.*, lb.* from la left join lb on (coalesce(la.a,'(novalue)')=coalesce(lb.a,'(novalue)'))
View Article