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

LENGTH() function in bteq - response (1) by KS42982

Try character_length function instead of length.

View Article


Procedures Calling Procedures with Dynamic Result Sets (from TD notes) -...

Hello all, I am teaching myself the syntax of stored procedures from your notes. P35 from "SQL Stored Procedures and Embedded SQL" shows the following snippit: REPLACE PROCEDURE alloc007() DYNAMIC...

View Article


Migration of Special Characters of UNICODE to TERADATA - response (4) by Fred

Do you export from SQL Server as UTF16? Did you specify "-c UTF16" option in the MLOAD invocation?

View Article

Is it good to creating SET table with UPI or NUPI and why..? - response (4)...

What is going to be the use of the table? What type of data is expected? Is it going to be History Handled? Is it going to be loaded near real-time? Will it be used in joins majority of the times?...

View Article

Procedures Calling Procedures with Dynamic Result Sets (from TD notes) -...

There has to be some error description, code .... ?

View Article


how to create a user, database and table in sql assistant? - response (5) by...

I dont think they are default ones .... better ask who granted them. :)

View Article

Unique primary key voilation Error - response (1) by Adeel Chaudhry

And the error is .... ? Some detials might help.

View Article

LENGTH() function in bteq - response (2) by Adeel Chaudhry

Yes, CHARACTER_LENGTH will surely work.

View Article


Will volatile tables be dropped? - response (15) by Adeel Chaudhry

We had an implementation where VTs were being created in dynamic-SQL .... and after some update patch installation same SPs running for months started to fail. On investigation we had to do following...

View Article


Using the rexexp_substr function in TD14 - forum topic by DFJoe

Hi All, I am trying to use the regexp_substr function in TD14 (Version 14.00.00.01). I want to be able to return a specified group result (in the simple example below, I expect 'Alex' to be returned,...

View Article

LENGTH() function in bteq - response (3) by MBR

Thanks for reply. But CHARACTER_LENGTH is also not working. I have used CHAR_LENGTH() as well but it is also giving error. the below error i am getting while running the script through BTEQ. ***...

View Article

LENGTH() function in bteq - response (4) by barani_sachin

Hi MBR,     If you are trying to use the above said functions on numeric columns it will throw the error u mentioned; However if you want to find the length of the numeric columns, cast it  to varchar...

View Article

LENGTH() function in bteq - response (6) by ocirej23

Hi, Can you provide the SQL you use in BTEQ? I believe it has something to do with data type of the string itself. I think it has to be a varchar data type. Please do cast the value first to varchar...

View Article


LENGTH() function in bteq - response (7) by MBR

Hi Barani, its working fine after casting it to varchar() . thanks for valuable suggestion. Regards

View Article

LENGTH() function in bteq - response (8) by MBR

Hi, In below query i am using LENGTH(),I have used CHARCTER_LENGTH() in place of LENGTH any way its working fine after casting it to varchar()...Thanks folks. CASE WHEN...

View Article


Migration of Special Characters of UNICODE to TERADATA - response (5) by...

Thanks for your time. Will try out this option and will let you know the results soon

View Article

Procedures Calling Procedures with Dynamic Result Sets (from TD notes) -...

Error:3523 temp6 owner referenced by user does not have execute procedure access to MDM_WRK.temp5.

View Article


Procedures Calling Procedures with Dynamic Result Sets (from TD notes) -...

Okay I discovered the problem. I needed EXECUTE PROCEDURE WITH GRANT privs to daisy chain procedures together. Due to the need to grant access by the procedure to the other procedure as the caller....

View Article

DBLink in Teradata - forum topic by cnaveen05

  Hi,  Like oracle is there a feature in teradata where we can access tables across other databases/servers within the same connection? Specifically, I am trying to see if we can access DB2 tables...

View Article

if datatype is a Decimal then how to find max length in a column...

Hello Experts, i would like to right-size my column datatype  to decimal(9,2) from (15,2), This column contains max value 123456.7 Sel max(length('salary') from emp;                {sal datatype is...

View Article
Browsing all 14773 articles
Browse latest View live


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