Author Topic: Can anyone help me convert the following MSSQL Schema into MYSQL Schema?  (Read 1021 times)

0 Members and 1 Guest are viewing this topic.

Offline 2levelsaboveTopic starter

  • Enthusiast
  • Posts: 179
  • Gender: Male
    • View Profile
    • Free Car Classifieds
CREATE TABLE [ZIP] (
   [ZIP] [char] (5) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [STATE] [char] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [CITY] [char] (28) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [TYP] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [FIPS] [char] (5) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [LAT] [float] NULL ,
   [LNG] [float] NULL ,
   [A_C] [char] (3) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [FINANCE] [char] (6) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [LL] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [FAC] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [MSA] [char] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [PMSA] [char] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
   [FILLER] [char] (3) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
« Last Edit: February 06, 2010, 10:11:05 AM by 2levelsabove »

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,256
    • View Profile
Re: Can anyone help me convert the following MSSQL Schema into MYSQL Schema?
« Reply #1 on: February 06, 2010, 09:22:49 PM »
Better than doing it for you, I'll point you to the manual entry for CREATE TABLE thus allowing you to learn to do it yourself.

http://dev.mysql.com/doc/refman/5.0/en/create-table.html

Offline 2levelsaboveTopic starter

  • Enthusiast
  • Posts: 179
  • Gender: Male
    • View Profile
    • Free Car Classifieds
Re: Can anyone help me convert the following MSSQL Schema into MYSQL Schema?
« Reply #2 on: February 06, 2010, 11:16:18 PM »
what about SQL_Latin1_General_CP1_CI_AS ?

I know how create works. Just wast sure on how to handle that.