-- phpMyAdmin SQL Dump
-- version 3.2.4
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Mer 05 Mai 2010 à 11:15
-- Version du serveur: 5.1.40
-- Version de PHP: 5.3.1

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Base de données: `giant`
--

-- --------------------------------------------------------

--
-- Structure de la table `orders`
--

CREATE TABLE IF NOT EXISTS `orders` (
  `ProviderOrderId` int(11) NOT NULL AUTO_INCREMENT,
  `TestIndication` tinyint(1) NOT NULL,
  `ConsumerId` int(11) NOT NULL,
  `CompanyId` bigint(14) NOT NULL,
  `OrderType` enum('DataSet','Monitoring','Investigation') COLLATE utf8_unicode_ci NOT NULL,
  `DataSetType` enum('Full','Compact','CreditRecommendation','Flex') COLLATE utf8_unicode_ci NOT NULL,
  `ServiceLevelName` enum('Immediate','Normal','Urgent','Flash') COLLATE utf8_unicode_ci NOT NULL,
  `LanguageCode` enum('EN','FR') COLLATE utf8_unicode_ci NOT NULL,
  `OrderStatus` enum('Completed','Pending','Delivered','Undeliverable') COLLATE utf8_unicode_ci NOT NULL,
  `OrderDateTime` datetime NOT NULL,
  `DateTimeCompleted` datetime NOT NULL,
  `DueDateTime` datetime NOT NULL,
  `DateTimeRetrieved` datetime NOT NULL,
  `Remark` text COLLATE utf8_unicode_ci NOT NULL,
  `DataSet` mediumblob NOT NULL,
  PRIMARY KEY (`ProviderOrderId`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;