Subject | Re: [firebird-support] Not quite understanding how to create tables in Firebird |
---|---|
Author | Ann W. Harrison |
Post date | 2010-09-03T19:17:16Z |
rzward wrote:
data type -
AddressID INTEGER NOT NULL,
VARCHAR requires that you specify a maximum length
Name VARCHAR (25) NOT NULL,
Good luck,
Ann
> Hello,You don't need the curly brackets around the name of the
> To start, I downloaded and installed FlameRobin. I've found a website that tells me what data types to use in Firebird. Using FlameRobin, I'm trying to run the following CREATE TABLE command:
>
> CREATE TABLE Addresses
> (
> AddressID {INTEGER} NOT NULL ,
> CustomerID {INTEGER} NOT NULL ,
> Name {VARCHAR} NOT NULL ,
> Company {VARCHAR} ,
> Address1 {VARCHAR} NOT NULL ,
> Address2 {VARCHAR} ,
> City {VARCHAR} NOT NULL ,
> Region {VARCHAR} NOT NULL ,
> PostalCode {VARCHAR} NOT NULL ,
> Country {VARCHAR} NOT NULL ,
> Phone {VARCHAR}
> );
data type -
AddressID INTEGER NOT NULL,
VARCHAR requires that you specify a maximum length
Name VARCHAR (25) NOT NULL,
Good luck,
Ann