<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — ALTER TABLE ADD COLUMN NOT ACCEPTING]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9081&amp;type=atom" />
	<updated>2020-11-24T10:11:39Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9081</id>
		<entry>
			<title type="html"><![CDATA[Re: ALTER TABLE ADD COLUMN NOT ACCEPTING]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38639#p38639" />
			<content type="html"><![CDATA[<p>Which version of MySQL are you using? Try to set the STRICT SQL setting off and to accept Date as 0.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2020-11-24T10:11:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38639#p38639</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ALTER TABLE ADD COLUMN NOT ACCEPTING]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38630#p38630" />
			<content type="html"><![CDATA[<p>If I change the field trans_date to null and remove the default As define format 0000-00-00, I can ALTER the table, but It wont allow me to redefine the format to 0000-00-00</p><p>Same error again #Invalid format will appear</p>]]></content>
			<author>
				<name><![CDATA[cedricktshiyoyo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45118</uri>
			</author>
			<updated>2020-11-22T09:49:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38630#p38630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[ALTER TABLE ADD COLUMN NOT ACCEPTING]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38629#p38629" />
			<content type="html"><![CDATA[<p>Dear @joe</p><p>I was trying to update a table by adding 2 extra column using phpmyadmin.</p><p>but I am getting this error &quot;#1067 invalid default value for &#039;trans_date&#039;&quot;</p><p>The table I am trying to ALTER IS bank_trans.</p><p>ALTER TABLE `bank_trans` ADD `cheque_no` VARCHAR(60) NULL AFTER `ref`;</p><p>This is the error I am getting&nbsp; &nbsp;&quot;#1067 invalid default value for &#039;trans_date&#039;&quot;</p><p>What how can one add an extra column in a table to retrieve and save?</p><p>I wanted to add a check no to the payment, under reference, because, when you make payment from the bank you need a check or transfer letter(Reference) </p><p>How do I modify that?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[cedricktshiyoyo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45118</uri>
			</author>
			<updated>2020-11-22T09:34:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38629#p38629</id>
		</entry>
</feed>
