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

    # Save the file with a name containing Lab3_, your first initial, and your last name (e.g., Lab3_JSmith.accdb). In Citrix, you will need to click the computer icon in the Save As window to see the different drives. Be sure to save the file to a local drive so it will be on your workstation.…

    • 694 Words
    • 4 Pages
    Satisfactory 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
  • Good Essays

    It-260 Worksheet

    • 512 Words
    • 3 Pages

    Press Ctrl+Prt Scr to take a screen shot of the Roles node in server manager, showing the details for the installed File Services role. Press Ctrl+V to paste the image on the page provided in the lab01_worksheet file.…

    • 512 Words
    • 3 Pages
    Good 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
  • Good Essays

    decrease its file size, thereby making more space available on your disk and letting you…

    • 585 Words
    • 3 Pages
    Good 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

    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

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