| | |
mysql to sqlite
Please support our Database Design advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2009
Posts: 50
Reputation:
Solved Threads: 16
Could anyone lend some help?
Trying to figure out how to do this in SQLite3
(this is mySQL)
any help would be greatly apreciated!
Trying to figure out how to do this in SQLite3
(this is mySQL)
CREATE TABLE car_contacts (
id INTEGER NOT NULL AUTO_INCREMENT,
carriers_id CHAR NOT NULL,
name CHAR NULL,
phone CHAR NULL,
phone_ext INTEGER NULL,
fax CHAR NULL,
email CHAR NULL,
PRIMARY KEY(id, carriers_id),
INDEX car_contacts_FKIndex1(carriers_id),
FOREIGN KEY(carriers_id)
REFERENCES carriers(id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
); Last edited by lukerobi; Oct 18th, 2009 at 5:13 pm.
![]() |
Similar Threads
- Search with PHP/SQLite (PHP)
- Export MySQL to SQLite (MySQL)
- Best GUI toolkit (Python)
- php: abstract classes (whats the point behind them) (PHP)
- PHP Developer Available (Post your Resume)
- Open-Source Ajax/PHP (or Python) Webmail (Web Development Job Offers)
- Database of common chemicals (Python)
- MySQL + Python (Python)
Other Threads in the Database Design Forum
- Previous Thread: Basic DBMS Concept
- Next Thread: "Claim a slot" database design
| Thread Tools | Search this Thread |





