1. Trang chủ
  2. » Công Nghệ Thông Tin

The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P136 pdf

5 95 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 132,25 KB

Nội dung

ImplementingObjects•Chapter14 657 19. In your database system, you must frequently convert from EURO currency to USD currency, using the exchange rate stored in the ExchangeRates table. What is the best way to achieve this? A. Create a function that accepts an @EURAmount parameter and returns the USD value. B. Create a stored procedure that accepts an @EURAmount parameter and selects the USD value using the SELECT statement. C. Create a view that accepts an @EURAmount parameter and selects the USD value. D. Create a stored procedure that accepts an @EURAmount parameter and returns the USD value using the SELECT statement. 20. You wish to add a new column to an existing view object. What are some of the ways to do this? (Select all that apply) A. Use Visual Studio object designer. B. Use the SQL Management Studio object designer. C. Use the ALTER VIEW statement. D. Use the ALTER COLUMN statement. 658 Chapter14•ImplementingObjects Self Test Quick Answer Key 1. B 2. A 3. A, F 4. C 5. D 6. C 7. D 8. C 9. D 10. A 11. B 12. C 13. A 14. A 15. B 16. A, B 17. B 18. B 19. A 20. B, C Index A accent sensitivity, 247 ADDRESS parameter, 540 Address Windowing Extensions (AWE), 104 ad hoc distributed queries enabling, 339–340 OPENDATASOURCE function basic syntax for, 348 querying data with, 349 OPENQUERY function basic syntax of, 353 querying data with, 354 OPENROWSET function basic syntax of, 343 for bulk loading data, 347 copying data with, 346 database.schema.object identifier, 343 modifying data with, 346 problem with, 353 querying data with, 344–345 table-valued function, 342 XML file, 347–348 administrator account, 61 Advanced tab, 93 AdventureWorks2008 database bulk operations and recovery model, 335 querying data from a table in, 338–339 schemas, 133 AES algorithm, 538 alias creating, 99–100 managing, 99 ALL_ERRORMSGS option, 269 ALTER CONTRACT command, 528 ALTER DATABASE command, 212, 446 ALTER DDL Statement, 615 ALTER INDEX statement with FILLFACTOR, 264 ALTER PARTITION FUNCTION TSQL command, 585 ALTER QUEUE command, 530 ALTER TABLE statement, 253 Analysis Services, 17, 32 of various editions, 41–43 application log, 444 computer management MMC snap-in, 455–456 severe errors, 455 AS HTTP settings, 487–489 asymmetric encryption, 176 asymmetric keys for encrypting SSN, 179 encryption algorithms, 180 symmetric and, 176 auditing automatic, 146 configuring CDC for, 8 authentication mode advantages and disadvantages of, 140 changing, 138, 141 selection of, 138 automatic failover, 204 AWE (Address Windowing Extensions), 104 B backup compression default option, 108 backups collation considerations, 253–254 compressed. See compressed backups 659 660 Index backups (Continued) filegroups, 582 replicate XML data, 480 replication performance, 421 SQL Server, 466 strategies for, 246, 278–279 system databases, 282–283 types available with SQL Server 2008, 275–277 backup service master key, 174–175 BCP (Bulk Copy Program) csv files, 322–323 exporting data from AdventureWorks2008.Person. Person table, 319–321 flat files and SQL Server, 315 format file creating, 324–325 export from AdventureWorks2008. dbo.Presidents table, 326–329 field definitions for, 326 native files, 321 optional arguments, 317–318 structure of, 315 syntax arguments, 316–317 tab delimited files, 324 Unicode files, 322 BEGIN DIALOG command, 540 Best Practices Analyzer (BPA), 50 binary collations, 249–250 binary file locations, 71 _BIN2 binary collation, 249 BPA (Best Practices Analyzer), 50 BROKER_INSTANCE parameter, 539 bulk copying data, tools for BCP csv files, 322–323 flat files and SQL Server, 315 native files, 321 optional arguments, 317–318 structure of, 315 syntax arguments, 316–317 tab delimited files, 324 BULK INSERT Transact-SQL statement basic syntax for, 330 common options of, 331 importing data file contents into table, 331 in query window in SQL Server Management Studio, 331–332 with data sources, 314 BULK INSERT statement, 329 BULK INSERT Transact-SQL statement basic syntax for, 330 common options of, 331 importing data file contents into table, 331 minimally logged, 334 in query window in SQL Server Management Studio, 331–332 Bulk-Logged recovery model, 275, 333–334 bulk operations. See also bulk copying data, tools for performance optimization of, 336 and recovery model AdventureWorks2008 database, 335 bulk load, 335 minimal logging, 334–335 transaction log backup, 333–334 Business Intelligence Development Studio (BIDS) creating SSIS packages in Integration Services Project, 366–367 new project, 368 transformations, 371–372 Index 661 integrated development environment, 33 with package open, 368–370 projects and solutions, 367–368 Package Designer control flow, 369–370 data flow, 370–371 C case sensitivity, 247 C2 auditing, 107 CDC (Change Data Capture) configuration, auditing table in database, 8 data capture functionality of, 148 cell-level encryption, 178 centralized performance data repository, 246 certificate, 176 Change Data Capture (CDC), 8 CHECK constraints, 642 clustered index, 263 Clustered installation, SQL considerations for, 66 creating clustered resource group during. See clustered resource group, creating Data Directories tab for, 223 Installation Rules page, 223 SQL Server installer, 214 static IP addresses for, 224 troubleshooting, 229 clustered installer, launching, 214–215 clustered resource group, creating, 217 disk selection, 218–219 domain groups, 220–222 network configuration, 219–220 clustered SQL Server changing IP Address of, 229 EFS in, 181–183 FILESTREAM, 223 troubleshooting, 229 using MSDTC, 225–226 Cluster Installation Rules, 222 Cluster Resource Group Screen, 218 Cluster Security Policy, 221 collation binary, 249–250 bit pattern, 247 choice and query results, 252–253 for columns. See column-level collations considerations for backup and restore, 253–254 for database. See database-level collation functionality of, 246 options, customizing, 248–249 rules, data comparison and sorting, 247–248 selection during installation of SQL Server, 246–247 of SQL Server 2008, 250 collection item, 291 column-level collations, 251–252 column-level encryption, 178 column sets and calculated column, comparison of, 260 use of, 261 Combining System Monitor and Profiler Traces, 568–569 command-line interface, 67 command prompt utilities, 34 Common Criteria Compliance, 107 Compact Edition, SQL Server 2008, 35 . 582 replicate XML data, 480 replication performance, 421 SQL Server, 466 strategies for, 246, 278–279 system databases, 282–283 types available with SQL Server 2008, 275–277 backup service master key, 174–175 BCP. 248–249 rules, data comparison and sorting, 247–248 selection during installation of SQL Server, 246–247 of SQL Server 2008, 250 collection item, 291 column-level collations, 251–252 column-level encryption,. currency, using the exchange rate stored in the ExchangeRates table. What is the best way to achieve this? A. Create a function that accepts an @EURAmount parameter and returns the USD value. B.

Ngày đăng: 07/07/2014, 00:20

TỪ KHÓA LIÊN QUAN