MySQL Forums
Forum List  »  InnoDB

Re: String cuts in column data
Posted by: Jon Stephens
Date: February 09, 2017 08:50PM

Just wanted to confirm for you that Peter's code is *very definitely* legal SQL in MySQL. If you run it by copying and pasting it into the mysql client (as I just did), you get the following output:

+-----------+--------------+-----------------+------------------------------------------------------------------------+
| @calldate | @contactname | @servicerepname | @comment                                                               |
+-----------+--------------+-----------------+------------------------------------------------------------------------+
| NULL      | venki palama | sudhakar mare   | Please send a picture showing the overlay harness and connections made |
+-----------+--------------+-----------------+------------------------------------------------------------------------+
1 row in set (0.00 sec)

All you need to do at this point is to insert the values into your properly-structured table.

So please do not claim he that did not provide a solution to your problem when in fact he did *just that* and it is obvious that you did not even attempt to make use of it.

cheers,

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
1172
February 08, 2017 10:59AM
601
February 08, 2017 01:20PM
646
February 08, 2017 08:05PM
621
February 09, 2017 12:31AM
692
February 09, 2017 03:29AM
641
February 09, 2017 05:59AM
573
February 09, 2017 12:43PM
Re: String cuts in column data
718
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.