zoukankan      html  css  js  c++  java
  • SQL Server 2008读书笔记(1):安装和配置SQL Server 2008

    Quick Check

    1.Which edition of SQL Server supports installing more than one instance of SQL

    2. What are the authentication modes that SQL Server can be confi gured with?

    Quick Check Answers

    1. Only SQL Server Enterprise supports multiple instances on the same machine.

    2. You can confi gure SQL Server to operate under either Windows Only or Windows

    #1 Install the AdventureWorks Sample Database

    EXEC sp_configure 'filestream_access_level', 2;
    GO
    
    RECONFIGURE
    GO
    
    RESTORE DATABASE AdventureWorks FROM DISK='C:\Program Files\Microsoft SQL
    Server\100\Tools\Samples\AdventureWorks2008.bak' WITH RECOVERY;
    GO
    
    RESTORE DATABASE AdventureWorksDW FROM DISK='C:\Program Files\Microsoft
    SQL Server\100\Tools\Samples\AdventureWorksDW2008.bak' WITH RECOVERY;
    GO

    2)为数据库实例启用FILESTREAM(文件流)

    EXEC sp_configure filestream_access_level,2
    RECONFIGURE

     Quick Check
    1. What are the two basic components of Database Mail?
    2. What are the two types of mail profi les that can be created?
    Quick Check Answers
    1. Database Mail uses mail profi les which can contain one or more mail accounts.
    2. Mail profi les can be confi gured as either public or private.

    Enable the Database Mail feature:

    EXEC sp_configure 'show advanced options', 1;
    GO
    
    RECONFIGURE;
    GO
    
    EXEC sp_configure 'Database Mail XPs', 1;
    GO
    
    RECONFIGURE WITH OVERRIDE
    GO
  • 相关阅读:
    BZOJ 1021 循环的债务
    BZOJ 1019 汉诺塔
    BZOJ 1018 堵塞的交通
    BZOJ 1017 魔兽地图
    BZOJ 1016 最小生成树计数
    Luogu 3008 [USACO11JAN]道路和飞机Roads and Planes
    Luogu 3625 [APIO2009]采油区域
    Luogu 4139 上帝与集合的正确用法
    Luogu 3629 [APIO2010]巡逻
    Luogu 3626 [APIO2009]会议中心
  • 原文地址:https://www.cnblogs.com/thlzhf/p/2819404.html
Copyright © 2011-2022 走看看