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

    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
  • Powerful Essays

    Nt1330 Unit 3 Lab Report

    • 1102 Words
    • 5 Pages

    # Decrypt the password from the file with KMS, save the secret password in LuksClearTextKey…

    • 1102 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1330 Unit 9 Final Paper

    • 491 Words
    • 2 Pages

    You can also see the generated script if in case you needed it, for this you have to select the table then select generate change script from context menu. Bellow I have given a screen show which shows the table “user”’s generated script in a dialog window.…

    • 491 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IRS Use Only - D o not w rit e or st aple in t h is space.…

    • 1580 Words
    • 7 Pages
    Satisfactory 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
  • 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
  • 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
  • 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

    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

    Yijnkj

    • 715 Words
    • 3 Pages

    15.0.4420.1017 FILE: SW_DVD5_Office_Professional_Plus_2013_W32_English_MLF_X18-55138.ISO SIZE: 742,877,184 byte SHA-1: 08754B82E704B324E23ACD088CF3D6C3B6D2DCF8 MD5: 53A44DE5C96352EB70374002DC278CBD CRC: D08D48A5 NOTE: this original MLF image. MLF - Microsoft Licensing Fulfillment MSVLSC - Microsoft Volume Licensing Service Center.…

    • 715 Words
    • 3 Pages
    Satisfactory Essays
  • 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

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

    • 3009 Words
    • 13 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