لماذا لا يتم تنفيد امر خلق جدول التالى : ما الخطأ البرمجى الذى لدى ؟؟..وكيف استطيع حلة ..علما بانى استخدم قاعدة بيانات mysql server
هذا هو امر خلق الجدول لقاعدة بيانات الحسابات ..
create database accounting; use accounting; create table 'accounts' ( 'accountnumber' int(6) not null, 'accountname' varchar(50) not null, 'accounttypy' varchar(50) not null, 'balanceatbeginning'double(10,5)default null, 'totalchanges' double(5,5)default null, 'balanceatend'double(10,5)default null, 'postingplace'double(10,5)default null, 'terminal'double(5,5)default null, 'parentcode' int(6)default null, 'depreciation'double(5,5)default null ) engine=InnoDB default charset =latin1
عند تنفذ الأمر ...يطلع لدى هذا الخطأ البرمجى التالى ولا يتم انشاء الجدول ..
Enter password: ****
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.0.41-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use accounting;
Database changed
mysql> create table 'accounts'
-> (
-> 'accountnumber' int(6) not null,
-> 'accountname' varchar(50) not null,
-> 'accounttypy' varchar(50) not null,
-> 'balanceatbeginning'double(10,5)default null,
-> 'totalchanges' double(5,5)default null,
-> 'balanceatend'double(10,5)default null,
-> 'postingplace'double(10,5)default null,
-> 'terminal'double(5,5)default null,
-> 'parentcode' int(6)default null,
-> 'depreciation'double(5,5)default null
-> )
-> engine=InnoDB default charset =latin1;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near ''acco
unts'
(
'accountnumber' int(6) not null,
'accountname' varchar(50) not null' at line 1
mysql>
الرجاء مساااااااااااااعدتى لان جدااا متوقفة على ذلك لبناء جدوال قاعدة الحسابات ...ياااااااااارب
