![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am developing a database design course for young PHP programmers. Here is why: CREATE TABLE tblShoes( charSKU as Char(10) //first 3 characters indicate color, charSizes as char(5) // ex. 7B,7C,7D,7E,7EE,7EE,8A, intPID as int //Producer number //Producer ID charPCity as varchar(35) //producer city ); I wrote this real fast and the // are just comments. So my question is C.J Date hates the concept of data modeling, although at one time he was happy to define "Entity". I think tables are very logical, and a tool called FabForce D4Data. It is free. |
#3
| |||
| |||
|
|
I am developing a database design course for young PHP programmers. Here is why: |
|
CREATE TABLE tblShoes( charSKU as Char(10) //first 3 characters indicate color, charSizes as char(5) // ex. 7B,7C,7D,7E,7EE,7EE,8A, intPID as int //Producer number //Producer ID charPCity as varchar(35) //producer city ); ... the // are just comments. [snip] |
#4
| |||
| |||
|
|
First, get rid of the noise: CREATE TABLE Shoes( SKU as Char(10), //first 3 characters indicate color, // SKU stands for ... Sizes as char(5) // ex. 7B,7C,7D,7E,7EE,7EE,8A, // sizecode? PID as int //Producer number //Producer ID PCity as varchar(35) //producer city ); |
#5
| |||
| |||
|
|
I am developing a database design course for young PHP programmers. Here is why: CREATE TABLE tblShoes( charSKU as Char(10) //first 3 characters indicate color, charSizes as char(5) // ex. 7B,7C,7D,7E,7EE,7EE,8A, intPID as int //Producer number //Producer ID charPCity as varchar(35) //producer city ); I wrote this real fast and the // are just comments. So my question is C.J Date hates the concept of data modeling, although at one time he was happy to define "Entity". |

|
I think tables are very logical, and a tool called FabForce D4Data. It is free. |
![]() |
| Thread Tools | |
| Display Modes | |
| |