BTEQ Equivalent to SQL+ "EDIT" Command - response (2) by Wasif.Kabeer
That's what I have been doing so far. Positively, for interactive & ad-hoc query sessions, this doesn't seem to be an appropriate choice using BTEQ. If I recall (in SQL+), if a huge query is...
View ArticleConvert integer to TIME - response (3) by Harpreet Singh
Please try this one select cast(1256 as char(4)) as numb, substring(numb from 1 for 2)||':'||substring(numb from 3 for 2)||':00' as convertedstring, cast (convertedstring as time) as goodtimes
View ArticleConvert integer to TIME - response (4) by mohan.mscss
@ Harpreet, I have tried the above query with the value of 0145 and getting the error as "2620 The format of data contains a bad character" @aarsh, Could you please let me know is there any...
View ArticleConvert integer to TIME - response (5) by Harpreet Singh
Nice catch Mohan. Below is what I can do. select cast(0145 as char(4)) as num1, case when char_length( trim(num1))=4 then num1 else '0'||trim(num1) end as numb, substring(numb from 1 for...
View ArticleTeradata Express for WIN 32 BIT - response (3) by GZDragon1965
With regard to above posts concerning link to Teradata Express 13 for Windows® — Teradata Software for Evaluation and Development, has the product been discontinued for Win 32 PC's? If still available,...
View ArticleTeradata Express for WIN 32 BIT - response (5) by GZDragon1965
Thanks Harpreet Singh for VM comment. From reading about the Teradata Express VM version, appeared it was for Linux or WIN64 only (not WIN32). Other information here mentioned utilizing cloud server...
View ArticleDatabase Hiearchical Structure - Best Practices - topic by ntchoate
I'm relatively new to Teradata and we're trying to get off on the right foot. As some background, we have 2 Teradata 2690 Appliances. One is for dev and test. The other is for production. In our...
View ArticleConvert integer to TIME - response (1) by abhijeetgupta29nov
Hi, How to compile procedure's ddl which is having UNicode character in ddl. like below WHEN sr.std_response_desc LIKE '%%' THEN qa.ans_txt I tried with bteq but it is giving some junk char. Then I...
View ArticleHow to find the associated tables or view in teradata? - response (17) by...
Thanks Ulrich and Qaisar. Ulrich, This is very helpful. Will it give me 100% result? Or do I still need to verify the REQUESTTEXT FROM DBC.TABLES. Thanks again for help! Regards Vaishali
View Articlenumeric overflow occurrence - topic by memostone
Hi, We are converting from Oracle to Teradata, and found some issues for DUAL table in Oracle doesn't exist in Teradata. After research, dummy table was used, but when run below query, it gives...
View Articlenumeric overflow occurrence - response (1) by ulrich
SELECT cast(0 as integer) AS a from (select 'X' as DUMMY) as X UNION ALL SELECT -9999 AS a from (select 'X' as DUMMY) as XThe first selects defines the datatype. Try alsoe SELECT type(0) AS a from...
View ArticleHow to find the associated tables or view in teradata? - response (18) by ulrich
Check the disclaimer of the post ;-> But so far it looks quite complete in the cases I worked with it - which I do regularly.
View ArticleConvert integer to TIME - response (6) by aarsh.dave
@Mohan, The values will remain 4 digit, like 1256 or 0330 and it will be in 12 hour format. @Harpreet, What you say is correct. However, I need to insert the column A in to column B. I am not sure if...
View ArticleConvert integer to TIME - response (7) by dnoeth
This should work: CAST(TRIM(x (FORMAT '99:99')) AS TIME(0) FORMAT 'hh:Mi') Dieter
View ArticleConvert integer to TIME - response (8) by aarsh.dave
@Dieter ... It gives an error ... multiple 'FORMAT' options .
View Articlenumeric overflow occurrence - response (2) by memostone
It's working for both, thanks a lot ulrich.
View ArticleConvert integer to TIME - response (9) by dnoeth
Ops, this is an ODBC issue. Switch to .NET or BTEQ or switch on the ODBC Driver option "Disable Parsing" Dieter
View ArticleI am NEW to SQL writing and I am getting a error message - topic by Fitz1911
I am getting an error message that says: Improper Column reference in a search condition of join SEL esf.MTN, read more
View ArticleDatabase Hiearchical Structure - Best Practices - response (1) by ntchoate
Apparently the indent tags didn't work as expected. Here is the proposed layout, manually indented to show the hiearchies. (Dev/Test Server) Sys_Dba Test Conformed Dimensions...
View Article