0

I was sent this as a mysql dump, the file is labeled .sql, but it's clearly not a standard export. Is this something that can be used to reproduce a database and if so how?

Here is a small sample

USE [Sunwave]
GO

/****** Object:  Table [dbo].[SunwaveZipCodes]    Script Date: 6/15/2014 8:10:57 AM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[SunwaveZipCodes](
    [POSTAL_CODE] [varchar](50) NULL,
    [UTILITY_NAME] [varchar](50) NULL,
    [CITY_NAME] [varchar](50) NULL,
    [COUNTY_NAME] [varchar](50) NULL,
    [STATE_CODE] [varchar](50) NULL
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO
ypercubeᵀᴹ
  • 99,450
  • 13
  • 217
  • 306

1 Answers1

1

Like @RolandoMySQLDBA said, this is a Microsoft SQL Server script. Find a SQL Server that you can play with, create a new Database on that instance called [Sunwave], then run your script above. I don't believe you really wanted to migrate this database into MySQL. I'm thinking this might be another case of the usual MSSQL =? MYSQL confusion that us multi-RDBMS admins encounter.

Joshua Huber
  • 1,757
  • 11
  • 15