Skip to content

Commit 7c0174b

Browse files
committed
Create table, don't drop
This is the creation script, so table does not yet exist. Don't drop.
1 parent b9e297e commit 7c0174b

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

Contacts_Table_Create_And_Load.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
1010
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
1111
-- ---------------------------------------------------------
12-
12+
--DROP TABLE `Contacts`;
1313

1414
-- CREATE TABLE "Contacts" ---------------------------------
1515
CREATE TABLE `Contacts` (

Contacts_Table_Create_And_Load_Postgresql.sql

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
-- Valentina Studio --
2-
-- MySQL dump --
3-
-- ---------------------------------------------------------
4-
5-
6-
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
7-
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
8-
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
9-
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
10-
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
11-
-- ---------------------------------------------------------
12-
1+
--DROP TABLE contacts;
132

143
-- CREATE TABLE "contacts" ---------------------------------
154
CREATE TABLE contacts (
@@ -28,7 +17,6 @@ CREATE TABLE contacts (
2817
PRIMARY KEY ( emailaddress ) );
2918
-- ---------------------------------------------------------
3019

31-
3220
-- Dump data of "contacts" ---------------------------------
3321
INSERT INTO contacts(title,givenname,surname,streetaddress,city,state,zipcode,emailaddress,telephonenumber,occupation,company,domain) VALUES ( 'Mr.', 'George', 'Lopez', '657 Brannon Avenue', 'Jacksonville', 'FL', '32205', '[email protected]', '904-781-8829', 'Substance abuse and behavioral disorder counselor', 'Egghead Software', 'amphidea.com' );
3422
INSERT INTO contacts(title,givenname,surname,streetaddress,city,state,zipcode,emailaddress,telephonenumber,occupation,company,domain) VALUES ( 'Mr.', 'Faustino', 'Aliff', '1960 Charla Lane', 'Bristol', 'TX', '75125', '[email protected]', '972-666-5250', 'Music arranger', 'Universo Realtors', 'arctoidea.com' );
@@ -532,12 +520,3 @@ INSERT INTO contacts(title,givenname,surname,streetaddress,city,state,zipcode,em
532520
INSERT INTO contacts(title,givenname,surname,streetaddress,city,state,zipcode,emailaddress,telephonenumber,occupation,company,domain) VALUES ( 'Ms.', 'Gabriel', 'Lewis', '1551 Sheila Lane', 'Burbank', 'NV', '84728', '[email protected]', '775-533-4631', 'Prepress technician', 'Weenie Beenie', 'arctoidea.com' );
533521
-- ---------------------------------------------------------
534522

535-
536-
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
537-
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
538-
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
539-
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
540-
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
541-
-- ---------------------------------------------------------
542-
543-

0 commit comments

Comments
 (0)