Frnds....
i have one doubt
we have the num like this +913757575......i want to remove
91 and i want lo load remaining data to the target table..
whinch function we can use in teradata?????
Plz let me know..
thanks in advance
Answers were Sorted based on User's Feedback
Answer / tdguy
Substr function would be suitable for this requirement.
Even if the column type is integer, substr can be used.
Implicit casting takes place. But trim function should be
used to avoid leading spaces.
example: column name - phoneno - type integer
value: - 913757575
SEL SUBSTR(TRIM(PHONENO),3,7) FROM TABLE;
Above sql will give you the correct output.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / hanumanth
Hi we can use substr function in teradata
like
sel c1,substr(c1,4,13)from table.
like this we can load
| Is This Answer Correct ? | 3 Yes | 0 No |
What are the available join types in teradata?
Why Multiload and Fastload does not supports SI,JI,RI and TRIGGERS?
id name gender 1 Ram Female 2 Kumar Female 3 sathish Female 4 Santhya Male 5 Durga Male 6 Priya Male This is my input...how to change Gender Male to Female & Female to Male??? Write sql query for this question???
What is the primary index in teradata?
Explain some differences between mpp and smp?
Why Fload doesn’t support multiset table?
Highlight a few of the important components of Teradata?
What is the difference between fastload and multiload?
How would you load a very large file in teradata in general?
Can you load multiple data files for same target table using fastload?
What type of indexing mechanism do we need to use for a typical data warehouse?
any one pls tell me what are the table names in banking project?