Inserts sql

Solo disponible en BuenasTareas
  • Páginas : 3 (542 palabras )
  • Descarga(s) : 0
  • Publicado : 11 de mayo de 2011
Leer documento completo
Vista previa del texto
-- MySQL dump 10.13 Distrib 5.5.9, for Win32 (x86)
--
-- Host: 192.168.7.114 Database: daifct
-- ------------------------------------------------------
-- Server version 5.5.9

/*!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 */;
/*!40101SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET@OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
--Current Database: `daifct`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `daifct` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `daifct`;

--
-- Table structure for table `empresa`
--

DROPTABLE IF EXISTS `empresa`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `empresa` (
`codigo` int(6) NOT NULLAUTO_INCREMENT,
`nombre` varchar(200) NOT NULL,
`direccion` varchar(200) DEFAULT NULL,
`telefono` int(15) DEFAULT NULL,
`contacto` varchar(200) DEFAULT NULL,
`email` varchar(200) DEFAULT NULL,PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `grupo`
--

DROP TABLE IF EXISTS`grupo`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `grupo` (
`codigo` varchar(10) NOT NULL,
`descripcion` varchar(200)NOT NULL,
`tipo` varchar(6) NOT NULL,
`familia` varchar(100) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client...
tracking img