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
Stockholm, Sweden

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
268
February 08, 2017 10:59AM
170
February 08, 2017 01:20PM
169
February 08, 2017 08:05PM
153
February 09, 2017 12:31AM
171
February 09, 2017 03:29AM
200
February 09, 2017 05:59AM
169
February 09, 2017 12:43PM
Re: String cuts in column data
246
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.