I'm trying to trim the data using trim, but still it does not trim: it's each Shows new lines and places after the line.
Am I doing wrong or is it not possible or do I have to use any other work? Any help greatly appreciated
sqlite & gt; Select a different trim (date_start) from the test; 2011-03-22 08: 00: 00.0 2011-03-22 09: 00: 00.0
Are you really trying to touch the characters that are spaces? What you should do should work:
sqlite & gt; Create a table test (date_start text); SQLite & gt; Enter into test values ('2011-03-22 08: 00: 00.0'); SQLite & gt; Insert test values ('2011-03-22 09: 00: 00.0'); SQLite & gt; Choose * from the exam; 2011-03-22 08: 00: 00.0 2011-03-22 09: 00: 00.0 square Eight & gt; Select a different trim (date_start) from the test; 2011-03-22 08: 00: 00.0 2011-03-22 09: 00: 00.0
Comments
Post a Comment