MySQL Forums
Forum List  »  InnoDB

String cuts in column data
Posted by: Ra Nala
Date: February 08, 2017 10:59AM

Hi,

i am using MySQL 5.7 version.

I am facing problem with string cuts, may be it is very tricky one but i am not getting logic, could you please help me. my client is expecting results in below table way.

Data should be stored in call_date, contact_name,service_rep_name,comments columns individually.

comments String 1:
[CALL DATE : 11/23/2015] [CONTACT NAME : venki palama] [SERVICE REP NAME : sudhakar mare] Please send a picture showing the overlay harness and connections made

comments String 2:
[CALL DATE : 1/6/2015] [CONTACT NAME : nagaraju kaner] [SERVICE REP NAME : bharath karem ] Looks like the performance option/feature 40439-05 was purchased


call_date contact_name service_repair_name comments
---------- ------------ ------------------- ---------
11/23/2015 venki palama sudhakar mare Please send a picture showing the overlay harness and connections made
1/6/2015 nagaraju kaner bharath karem Looks like the performance option/feature 40439-05 was purchased

thank you

Options: ReplyQuote


Subject
Views
Written By
Posted
String cuts in column data
1302
February 08, 2017 10:59AM
676
February 08, 2017 01:20PM
724
February 08, 2017 08:05PM
693
February 09, 2017 12:31AM
774
February 09, 2017 03:29AM
705
February 09, 2017 05:59AM
641
February 09, 2017 12:43PM
788
February 09, 2017 08:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.