How to save a bit in MySQL database?
I am trying to put data in my table in SQL, but whenever I come across bit, the table does not accept 0 / 1 as input (the error says "data too long"). What should I put then?
9 Replies
Project ID:
ddf68b83-2f55-42da-999f-aab89be499cc
ddf68b83-2f55-42da-999f-aab89be499cc
please don't use that, use a proper database management tool like mysql workbench
What do you mean? I deployed my application here and it uses SQL database. I exported tables from workbench here, but I need to insert the data as well
yes you should use mysql workbench for these tasks
I have data in my tables In workbench, how to I copy the data from workbench here then?
when I exported, it only exported the tables without the data
you would want to connect to the railway database from mysql workbench
oh, thanks. Is there tutorial how to do that>
mysql workbench has documentation
https://www.mysql.com/products/workbench/