Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Reformatting a Column (1 reply)

$
0
0
I have migrated Access to MySQL. I'm a beginner at MySQL and MySQL Workbench. Have a table in Workbench called bokingList with a column Fran (DateTime) e.g 2014-02-15 10:35:00. I want to reformat the column From to hours:minutes e.g 10:35.
In SQL Query I write:
SELECT date_format(Fran,'%H:%i') FROM bokning_lokalserver.bokingList;
However, I have no button Apply.
When trying Edit Table Data , its in read-only mode.
It is editable only if the table has a primary key.
Is there any fix to deal with table without primary key?
How do I set a column as Primary key
Could any one Help me please.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>