| | |
Different quote marks
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2007
Posts: 53
Reputation:
Solved Threads: 1
I am new to MySQL and did not notice this before. In order to get the query to work I have to use two different quote marks. Notice that the single quotes on the left where I list the column names are from the keyboard key with the tilde `~ and the single quotes on the right are from the keyboard key with the double quotes ‘ “. This seems strange to me. What am I missing?
Thanks!
Thanks!
sql Syntax (Toggle Plain Text)
CREATE TABLE `indiant1_indiantreaty`.`events` (`recordNum` INT (6) NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT 'unique record number', `Type` VARCHAR(20) NOT NULL COMMENT 'xxxxx Could be an enumeration', `eventName` VARCHAR(255) NOT NULL COMMENT 'The name of event', `aka` VARCHAR(255) NOT NULL COMMENT 'Another name of the event', `DATE` DATE NOT NULL COMMENT 'Date of the event', `site` VARCHAR(255) NOT NULL COMMENT 'site of the event', `description` TINYTEXT NOT NULL COMMENT 'description of the event', `Signers` VARCHAR(255) NOT NULL COMMENT 'A list of signers', `links` VARCHAR(255) COMMENT 'A list of significant links of signer', `extra1` VARCHAR(255) COMMENT 'Temporary extra column', `extra2` VARCHAR(255) COMMENT 'Temporary extra column', `extra3` VARCHAR(255) COMMENT 'Temporary extra column' ) ENGINE = MYISAM COMMENT = 'Indian Signers Table';
Last edited by peter_budo; Nov 28th, 2008 at 12:22 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
1). You probably donot have the
`indiant1_indiantreaty` database
or
2). you already have the `events` table.
I ran your query and it showed no errors except for the database `indiant1_indiantreaty` didnot exist.
If it is case 1., create your database first, then execute the statement
If it is case 2. Drop table `event` and execute the query.
I hope I am correct and did not miss out anything.
Regards ...
`indiant1_indiantreaty` database
or
2). you already have the `events` table.
I ran your query and it showed no errors except for the database `indiant1_indiantreaty` didnot exist.
If it is case 1., create your database first, then execute the statement
If it is case 2. Drop table `event` and execute the query.
I hope I am correct and did not miss out anything.
Regards ...
IF SOMEONE FEELS THAT THEY HAD NEVER MADE A MISTAKE IN THEIR LIFE, THEN IT MEANS THEY HAD NEVER TRIED A NEW THING IN THEIR LIFE
![]() |
Similar Threads
- Internet explorer user problems (Web Browsers)
- Can Anyone Solve This? (Viruses, Spyware and other Nasties)
- Editing boot.ini (Windows NT / 2000 / XP)
- Slashes before Double Quote marks (PHP)
- my computer, my documents, etc.. folders do not open (Windows NT / 2000 / XP)
Other Threads in the MySQL Forum
- Previous Thread: mysql does not start now
- Next Thread: 4 Ways to Insult IT Workers
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization





