Тёмный
No video :(

What is the difference between replace and translate function | oracle replace vs translate 

Siva Academy
Подписаться 47 тыс.
Просмотров 73 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@rajendiranwalaja7101
@rajendiranwalaja7101 4 года назад
Translate is crazy one. Thanks for sharing.
@SivaAcademy
@SivaAcademy 4 года назад
You're welcome
@narasimharaju929
@narasimharaju929 4 года назад
Hi Sir, Thanks for sharing us the difference. And easy to understand.
@SivaAcademy
@SivaAcademy 4 года назад
You are welcome, Thank you
@helpingustayfit
@helpingustayfit 3 года назад
Superb Video , Easily understood
@SivaAcademy
@SivaAcademy 3 года назад
Thank you 🙏💐
@Pritam274
@Pritam274 3 года назад
Hi, Could you please have UTL_FILE concept video as well how to generate CSV file in oracle
@rajeshranjanbhal1491
@rajeshranjanbhal1491 5 лет назад
Now i easily got it. Thank u sir
@SivaAcademy
@SivaAcademy 5 лет назад
Welcome 🙏 Bro
@akware977
@akware977 4 года назад
Hello, Thanks for sharing knowlegde and updating video. In Last Interview I faced question like.. I want swap to 2 columns (values) how we can do it in SQL ?.. Please assist.
@SivaAcademy
@SivaAcademy 4 года назад
Hi Akshay, Please find the answer create table t1(c1 number, c2 number); drop table t1; insert into t1 values(1,2); insert into t1 values(3,4); update t1 set c1=c2,c2=c1; select * from t1;
@vishalsaxena5081
@vishalsaxena5081 2 года назад
@@SivaAcademy if i use select 10 from dual; Ten so i want result like this pls solve this
@vijayashribolla9947
@vijayashribolla9947 2 года назад
select to_char(to_date(10,'J'),'JSP') from dual;
@Lukky2266
@Lukky2266 Год назад
SELECT REPLACE(COL1, COL2) AS COL1, REPLACE(COL2, COL1) AS COL2 FROM TABLE. Using this we can achive it, Not sure if any more expectations.
@alinemath5030
@alinemath5030 Год назад
Thank you for the explanation.
@SivaAcademy
@SivaAcademy Год назад
Thank you 💐
@ajithmk6865
@ajithmk6865 2 года назад
well explained sir thank you.😄
@SivaAcademy
@SivaAcademy 2 года назад
Welcome bro
@Shahidkhan-kz8vo
@Shahidkhan-kz8vo 3 года назад
Great work sir thank u
@SivaAcademy
@SivaAcademy 3 года назад
Welcome 💐
@sivaraman6457
@sivaraman6457 2 года назад
Explaining good...
@SivaAcademy
@SivaAcademy 2 года назад
Thank you 🙂
@falakdawar
@falakdawar 3 года назад
Great work. Thanks for the video. What happens if we provide like ('ababa',''ababa','123456') in translate?
@raaunnakk
@raaunnakk 3 года назад
Good question!
@tarakdas14
@tarakdas14 2 года назад
@falak dawar output will be 12121, because it will check and replace single character
@Crazy-Trainings
@Crazy-Trainings Месяц назад
Throws an error ! Invalid number of arguments.
@kumarreddymaligi8830
@kumarreddymaligi8830 2 года назад
UR VIDEOS ARE VERY HELPFULL ALL VIDEOS SOUND VERY LOW
@nitu.mishra.549
@nitu.mishra.549 2 года назад
Hello, In previous interview i got new question like... If space is present in any character string.. How can we count the space?? Please help for the same
@SivaAcademy
@SivaAcademy 2 года назад
Space is also like any other char, you can look into this video for more details ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-L9L7fW4N25U.html
@nitu.mishra.549
@nitu.mishra.549 2 года назад
@@SivaAcademy thank you so much sir..understood
@SivaAcademy
@SivaAcademy 2 года назад
Welcome 👍🙏💐
@STEAVEJOBS-kb3dx
@STEAVEJOBS-kb3dx 6 месяцев назад
kindly answer below. TRANSALATE('123','321','456') OLD STRING CAN BE COUNTED AS REVERSE OR NOT??
@insideelectrical2955
@insideelectrical2955 10 месяцев назад
Sir if we have string 'MAHE SH' so in output we have to remove space and wants the output MAHESH so what we do??
@SivaAcademy
@SivaAcademy 10 месяцев назад
You can replace the space with null value or empty string
@mahendrasinghthakur9471
@mahendrasinghthakur9471 5 лет назад
Hi @shiva sir, how translate will work if we want to translate in generic column for eg : translate('Mahendra', 'h', '#') output is : Ma#endra similiar if we can apply on ename colomn of emp table, every 3rd character replaces to # symbols, what would be the query ?please help
@SivaAcademy
@SivaAcademy 5 лет назад
@Mahendra, you can use the column name instead of the hard coded value. suppose if you want to translate 'h' to '#' in all the employee names in emp table, then you can write like "SELECT translate(ename,'h','#') FROM EMP' I hope this is what you are looking for, please check and let me know if this is not your expectation.
@shaheenshaikh6701
@shaheenshaikh6701 5 лет назад
What is Query to display Nth Record from Employee table plzz help
@SivaAcademy
@SivaAcademy 5 лет назад
@Shaheen, Replied via email
@achyutdeokatepatil897
@achyutdeokatepatil897 5 лет назад
@@SivaAcademy Hi Siva please i need also same query. deokate.achyut@gmail.com
@SaiKrishna-cj9ig
@SaiKrishna-cj9ig 5 лет назад
Hi Sir , I have doubt on translate If we give replace string is more then actual string what will be the output.Like below EX: Select translate('welcome to the oracle class','oracle','2345678')
@SivaAcademy
@SivaAcademy 5 лет назад
@Sai Krishna, it wont give any error, instead it ignores the extra char at the end.... for example, the above query will replace the o with "2", r with "3", a with "4", c with "5", l with "6" and e with "7", and ignores the "8"
@SaiKrishna-cj9ig
@SaiKrishna-cj9ig 5 лет назад
@@SivaAcademy Thank you sir
@harishabm8138
@harishabm8138 3 года назад
Hi sir, I have one query In flag coloum yes is replaced with No or No to yes How to do that
@SivaAcademy
@SivaAcademy 3 года назад
Use decode or case statement, here is a similar example you can look into ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6vSySrqzfTI.html
@harishabm8138
@harishabm8138 3 года назад
@@SivaAcademy Thanks a lot
@sarithamahesh1308
@sarithamahesh1308 3 года назад
If I want to translate column values with specified character Ex. Address Hyderabad Chennai So I want to translate Hyderabad with underscore Output Address _ _ _ _ _ _ _ _ like this Translate (Address,....,"_") How to write the query tell
@sarithamahesh1308
@sarithamahesh1308 3 года назад
Reply fast
@guruapps757
@guruapps757 4 года назад
Limit function
Далее
What is the view in oracle? simple view? complex view?
7:41
Новый фонарик в iPhone с iOS 18
00:49
Просмотров 267 тыс.
Rusiya Prezidenti Vladimir Putin Bakıdadır
00:32
Просмотров 291 тыс.
Zombie Boy Saved My Life 💚
00:29
Просмотров 7 млн
What is the difference between decode and case
11:00
Просмотров 124 тыс.
7 Different Types of Dimensions in a Data Warehouse!
8:56
Новый фонарик в iPhone с iOS 18
00:49
Просмотров 267 тыс.