Preview

Pos-410 - Week 2 - Table Queries Sql Server Database - Kudler Fine Foods

Powerful Essays
Open Document
Open Document
1555 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Pos-410 - Week 2 - Table Queries Sql Server Database - Kudler Fine Foods
Table Queries SQL Server Database - Kudler Fine Foods
Week 2
POS/410\
April, 09 2012

Create Database
USE [master]
GO
/****** Object: Database [Jeff Thompson Sr - POS 410 - IA - KVO] Script Date: 03/27/2012 09:23:56 ******/
CREATE DATABASE [Jeff Thompson Sr - POS 410 - IA - KVO] ON PRIMARY
( NAME = N'Jeff Thompson Sr - POS 410 - IA - KVO', FILENAME = N'D:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\Jeff Thompson Sr - POS 410 - IA - KVO.mdf' , SIZE = 2048KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) LOG ON
( NAME = N'Jeff Thompson Sr - POS 410 - IA - KVO_log', FILENAME = N'D:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\Jeff Thompson Sr - POS 410 - IA - KVO_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
USE [master]
GO
/****** Object: Database [Jeff Thompson Sr - POS 410 - IA - KVO] Script Date: 03/27/2012 09:23:56 ******/
CREATE DATABASE [Jeff Thompson Sr - POS 410 - IA - KVO] ON PRIMARY
( NAME = N'Jeff Thompson Sr - POS 410 - IA - KVO', FILENAME = N'D:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\Jeff Thompson Sr - POS 410 - IA - KVO.mdf' , SIZE = 2048KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) LOG ON
( NAME = N'Jeff Thompson Sr - POS 410 - IA - KVO_log', FILENAME = N'D:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\Jeff Thompson Sr - POS 410 - IA - KVO_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO

Create Employee Table/Columns
USE [Jeff Thompson Sr - POS 410 - IA - KVO]
GO
/****** Object: Table [dbo].[Employee] Script Date: 03/27/2012 10:39:55 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Employee]( [EmployeeID] [int] NOT NULL, [LastName] [nvarchar](50) NULL, [FirstName] [nvarchar](50) NULL, [Address] [nvarchar](30) NULL, [City] [nvarchar](30) NULL, [State] [nvarchar](20) NULL, [AreaCode] [nvarchar](20) NULL, [TelephoneNumber] [nvarchar](20) NULL, [EmployerInformationReportClassification] [nvarchar](max) NULL, [HireDate] [date] NULL, [Salary] [money] NULL,

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Sudhakar

    • 1718 Words
    • 7 Pages

    1. Consider the following table named "GYM" with details about Fitness products being sold in the store.…

    • 1718 Words
    • 7 Pages
    Satisfactory Essays
  • Powerful Essays

    Music

    • 1176 Words
    • 5 Pages

    DATABASE NAME – When you save your database, you must save it as Lastname-Hardware_Store, ex. KING_Hardware_Store…

    • 1176 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Idea Caat Checklist

    • 823 Words
    • 4 Pages

    Full Path | | |Approved By / Date |Professor Judy Lin, Chin-Lung Hsu, |- File Name | | |Date Completed |2005/2/3 |CAAT File Number |…

    • 823 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    70-640 Lesson 11

    • 1132 Words
    • 5 Pages

    __b__ 8. This is used as a reference file in case the Active Directory database needs to be recovered from a system failure to ensure that no transactions are lost.…

    • 1132 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    sqlStr = "SELECT Computer, Room_Num, Speed, Num_CPUs, OS_Type, HDD_Size FROM Computers WHERE Num_CPUs = 1 OR Speed < 2.1 OR HDD_Size < 300 ORDER BY Room_Num"…

    • 503 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    sas homework Solutions

    • 746 Words
    • 7 Pages

    You need to write SAS programs to finish the above tasks. Show your programs and results.…

    • 746 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    This paragraph shall contain a full identification of the database to which this document applies including identification number(s), title(s), abbreviation(s), version number(s),…

    • 1336 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Linux Interview Questions

    • 10428 Words
    • 42 Pages

    2. Write a script to convert all DOS style backslashes to UNIX style slashes in a list of files.…

    • 10428 Words
    • 42 Pages
    Powerful Essays
  • Satisfactory Essays

    3) use cast --> to group data in the most "square" format as possible, this…

    • 9371 Words
    • 38 Pages
    Satisfactory Essays
  • Good Essays

    Dos Commands

    • 2623 Words
    • 11 Pages

    All DOS file names have a maximum length of 8 characters followed by an optional extension with a maximum length of 3 characters.…

    • 2623 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    AYA IQ

    • 5738 Words
    • 23 Pages

    Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long…

    • 5738 Words
    • 23 Pages
    Powerful Essays
  • Satisfactory Essays

    NT1330Lab10Worksheet

    • 407 Words
    • 3 Pages

    1. Press Ctrl+Prt Scr to take a screen shot of the command prompt window showing the statistics for the newly compacted database and then press Ctrl+V to paste the…

    • 407 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Guide to SQL injection

    • 2874 Words
    • 12 Pages

    SQL code that was not intended. SQL injection is a hacking method used to attack SQL databases;…

    • 2874 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    Yijnkj

    • 715 Words
    • 3 Pages

    10|31|2012 MICROSOFT.OFFICE.PROFESSIONAL.PLUS.2013.X64.VOLUME.ENGLISH.DVD-MSVLSC RELEASE DATE: 10/24/2012 BUILD: 15.0.4420.1017 FILE: SW_DVD5_Office_Professional_Plus_2013_64Bit_English_MLF_X18-55297.ISO SIZE: 851,449,856 byte SHA-1: 774120F3A5F36B65545864D2A40B927F13B19A94 MD5: 125BAD01818BC84CCC30F5FE03ABD947 CRC: 13E338D5 NOTE: this original MLF image. MLF - Microsoft Licensing Fulfillment MSVLSC - Microsoft Volume Licensing Service Center. 10|31|2012 MICROSOFT.OFFICE.PROFESSIONAL.PLUS.2013.X86.VOLUME.ENGLISH.DVD-MSVLSC RELEASE DATE: 10/24/2012 BUILD: 15.0.4420.1017 FILE:…

    • 715 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    import java.io. *; import java.awt. *; import java.awt.event. *; import javax.swing. *; import java.sql.…

    • 3009 Words
    • 13 Pages
    Powerful Essays