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
  • 相关阅读:
    字符串的格式化操作
    了解格式化输出,字符串和编码
    面试题2
    面试题1
    设计算法1
    C++ STL容器的理解
    网络是怎样连接的-路由器的附加功能
    网络是怎样连接的-路由器的包转发操作(下)
    网络是怎样连接的-路由器的包转发操作(上)
    网络是怎样连接的-交换机的包转发操作
  • 原文地址:https://www.cnblogs.com/thlzhf/p/2819404.html
Copyright © 2011-2022 走看看