Тёмный

Substr and Instr in Oracle|Extracting data from String 

Tech Coach
Подписаться 34 тыс.
Просмотров 24 тыс.
50% 1

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

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@jagdeeshj
@jagdeeshj 6 месяцев назад
Thanks Tech coach. We usually tend to forget how to correctly use substr instr, if we do not use it frequently. Saved me good time with this quick reference.
@TechCoach
@TechCoach 6 месяцев назад
I am glad I could help :)
@ekramquadri6682
@ekramquadri6682 2 года назад
i struggled last 3 days and u resolved my query 🙏🙏🙏
@TechCoach
@TechCoach 2 года назад
I am glad I was able to help :)
@seshadharan6107
@seshadharan6107 Год назад
Very clear explanation👏👏, thanks alot.. Finally I understood clearly with help of your video.
@shruthis3973
@shruthis3973 4 года назад
Seriously you are very good in explaining.. I have learned so much from your videos.. you deserve more subscribers.. all the best👍
@TechCoach
@TechCoach 4 года назад
Thanks a lot for the kind words Shruthi :), Your comment made my day.
@optimistic_guy313
@optimistic_guy313 2 года назад
Again you helped me . Just what i was looking for. Specially the last condition. Thank you again
@TechCoach
@TechCoach 2 года назад
Thanks buddy I am glad I could help :)
@AliBaba-mx8of
@AliBaba-mx8of 2 года назад
Thanks for the video sir. I have learnt lot of things about instr Nd substr..
@TechCoach
@TechCoach 2 года назад
I am glad I could help :)
@wrathwick6667
@wrathwick6667 2 года назад
Very well explanation ... Keep posting like intresting content.. these are very helpful for us ........ We waiting for you to back....❤️ And it's been a year for the last video u have uploaded, we need a guide like you,so pls try to make video regularly on weekly basis or your wish. Thanks for the knowledge sharing #TechCoach❤️
@TechCoach
@TechCoach 2 года назад
Sure I will post more often , I did post quite a few videos in last 1 year though :)
@manasikhadpe1850
@manasikhadpe1850 2 года назад
This is exactly what I was looking for 🙌 Thank you so much 🙏
@ashokbhum06
@ashokbhum06 5 месяцев назад
Superb bro
@irfanmishi3315
@irfanmishi3315 Год назад
for 1st question ans= select substr(text,instr(text,'.',1,2)+1,instr(text,'.',1,3)-instr(text,'.',1,2)-1) from susbtr_instr;
@kishorshitole614
@kishorshitole614 12 дней назад
Sir I want search (,) comma notation from string with the help of instr function. Please give me query. Sir please help me.
@Nalini08888
@Nalini08888 10 месяцев назад
To extract COM query: SELECT SUBSTR(TEXT,INSTR(TEXT,'.',1,2)+1,INSTR(TEXT,'.',1,3)-INSTR(TEXT,'.',1,2)-1) FROM DOMAIN_NAME;
@Nalini08888
@Nalini08888 10 месяцев назад
To Extract PQR Query: SELECT SUBSTR(TEXT,INSTR(TEXT,'.',1,1)+1,(INSTR(TEXT,'@',1,1)-INSTR(TEXT,'.',1,1))-1)FROM DOMAIN_NAME;
@snehabathula3550
@snehabathula3550 2 года назад
Loved the video ..to the point it is
@TechCoach
@TechCoach 2 года назад
Thanks Sneha :)
@braveblood4421
@braveblood4421 4 года назад
great explaining skills!!
@TechCoach
@TechCoach 4 года назад
Thanks a lot for the kind words :)
@swapnaram8799
@swapnaram8799 2 года назад
I have ever seen this type of explanation 🙏
@TechCoach
@TechCoach 2 года назад
Wow , Your comment made my day :) Please consider subscribing to my other channel as well. It will really help me :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
@vishwannadhvishwa6051
@vishwannadhvishwa6051 2 года назад
Vivek, Thanks for nice explanation. I am not getting the answer for 10th question. Can u please explain.....
@TechCoach
@TechCoach 2 года назад
Sure buddy I will reply tomorrow :)
@aiswithvdata60
@aiswithvdata60 4 года назад
Thanks for the share knowledge and also i like it
@TechCoach
@TechCoach 4 года назад
Thanks for the kind words
@ramashrayayadav3072
@ramashrayayadav3072 Год назад
Sir how do i get this with hel of loop i want to how loop works on substring and instring plz explain in detail Thank you
@irfanmishi3315
@irfanmishi3315 Год назад
where do we get the answers for those practice excersiges
@sowmyaramesh07
@sowmyaramesh07 4 года назад
Thank you so much for the detailed explanation.It was really helpful. can you please post a video on P.K , F.K and unique key
@TechCoach
@TechCoach 4 года назад
Sure Sowmya ramesh , I will post a video on it soon :)
@irfanmishi3315
@irfanmishi3315 Год назад
7 th ans= select substr('THE@THIS~THEN|THERE#THEIR',instr('THE@THIS~THEN|THERE#THEIR','|',1,1)+1,instr('THE@THIS~THEN|THERE#THEIR','#',1,1)-instr('THE@THIS~THEN|THERE#THEIR','|',1,1)-1)from Sample;
@mayhem435
@mayhem435 3 года назад
Thank you very much. It helped a lot :)
@TechCoach
@TechCoach 3 года назад
Thanks buddy for the kind words :) Please consider subscribing to my other channel as well. It will really help me. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G1xGi-D5ow.html
@prash96
@prash96 4 года назад
Thanks Vivek for the explanation. I had a question. If occurrence of dots varies in texts, then how can I retrieve the last substring from it?
@TechCoach
@TechCoach 4 года назад
Reverse the string, extract the 1st one again reverse. That should solve it Pranoy :)
@irfanmishi3315
@irfanmishi3315 Год назад
6 th = select instr('THE@THIS~THEN|THERE#THEIR','TH',1,4)as result from Sample;
@sravankumar-pc6fw
@sravankumar-pc6fw Год назад
select substr('corona virus updates',instr('corona virus updates',' ',1)+1,instr('corona virus updates',' ',1,2)-instr('corona virus updates',' ',1)) from dual;
@irfanmishi3315
@irfanmishi3315 Год назад
5th ans = select substr(rough,instr(rough,' ',1,1)+1,instr(rough,' ',1,2)-instr(rough,' ',1,1)-1)as rsult from sample;
@vasanthayamala8423
@vasanthayamala8423 3 года назад
What if u don't know how many times a dot occured before @domain and u want the last name (assume there are firstname.middlename.lastname@dmain and some data has no middle name). How to get last name in this case
@TechCoach
@TechCoach 3 года назад
You can use reverse twice. That should do the job :)
@dn9416
@dn9416 4 года назад
Thank you
@TechCoach
@TechCoach 4 года назад
Thanks a lot DN for the kind words :)
@ShrutiDas15thmay
@ShrutiDas15thmay Год назад
how to get exact match of first name and last name from email in oracle
@sougatadas2322
@sougatadas2322 4 года назад
HOW CAN I EXTRACT ONLY THE WORD ASIA FROM ABCINDIA(ASIA). PLEASE REPLY ME.. SIR
@TechCoach
@TechCoach 4 года назад
Sure buddy its very easy I will paste the query today
@ashokatukuri6795
@ashokatukuri6795 3 года назад
select substr('ABCINDIA(ASIA)',instr('ABCINDIA(ASIA)','(',1,1)+1, instr('ABCINDIA(ASIA)',')',1,1)-1-instr('ABCINDIA(ASIA)','(',1,1)) from dual;
@irfanmishi3315
@irfanmishi3315 Год назад
8th ans=RDBMS
@irfanmishi3315
@irfanmishi3315 Год назад
9 th ans = ABCD
@sravankumar-pc6fw
@sravankumar-pc6fw Год назад
select substr(text,instr(text,'.',1,3)+1,instr(text,'.',1,4)-instr(text,'.',1,3)-1)from susbtr_instr; select substr(text,instr(text,'.',1,4)+1)from susbtr_instr;
@siddharthapenchala8146
@siddharthapenchala8146 2 года назад
Sir, Can you help me in solving this Question. Select * from EMP; Sample ------------- Siddhartha-T1000 Siddhartha-T1000-A Output : ------------- T1000 T1000-A Please help me Sir using regular expressions!
Далее
Физика пасты Карбонара 🧪🔬
00:57
Advanced SQL Tutorial | String Functions + Use Cases
13:49
Functional Indexes in Oracle
11:42
Просмотров 6 тыс.
SUBSTR IN SQL WITH EXAMPLES | MASTER IN SQL
3:29
Просмотров 77 тыс.