View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Creating the Dynamic Array / text or data

Thread began 11/15/2009 3:33 pm by brunodarwin371999 | Last modified 1/08/2011 10:15 pm by brunodarwin371999 | 2878 views | 9 replies

brunodarwin371999

here is the requested information

Hi Jason,

You will find attached a .jpg file to show you visualy the structure of the dataBase.

Hereunder, here is the SQL file which corresponds to it :

SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';

CREATE SCHEMA IF NOT EXISTS `wa_sample` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
USE `wa_sample`;

-- -----------------------------------------------------
-- Table `wa_sample`.`articles`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `wa_sample`.`articles` (
`idarticles` INT NOT NULL AUTO_INCREMENT ,
`article` VARCHAR(45) NOT NULL ,
PRIMARY KEY (`idarticles`) )
ENGINE = InnoDB;


-- -----------------------------------------------------
-- Table `wa_sample`.`spares`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `wa_sample`.`spares` (
`idspares` INT NOT NULL AUTO_INCREMENT ,
`screw` VARCHAR(45) NULL ,
`o-ring` VARCHAR(45) NULL ,
`nut` VARCHAR(45) NULL ,
`articles_idarticles` INT NOT NULL ,
PRIMARY KEY (`idspares`) ,
INDEX `fk_spares_articles` (`articles_idarticles` ASC) ,
CONSTRAINT `fk_spares_articles`
FOREIGN KEY (`articles_idarticles` )
REFERENCES `wa_sample`.`articles` (`idarticles` )
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;



SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...