Quiz: SQL Server 2000
Home > SQL Server Definitions - Quiz: SQL Server 2000
SearchSQLServer.com Definitions (Powered by WhatIs.com)
EMAIL THIS
LOOK UP TECH TERMS Powered by: WhatIs.com
Search listings for thousands of IT terms:
Browse tech terms alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

Quiz: SQL Server 2000



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

DEFINITION -

DIRECTIONS: Match the SQL Server statement in the right-hand column with its description in the left-hand column.

How to take the quiz:
After reading the question, write down the letter of your answer choice. Check your answers by using the answer key at the end of the quiz.



1._____ This allows you to read ten rows from a table.

2. _____This is used to show the text for a given stored procedure.

3._____ This is used to ensure a null field is returned as zero.

4._____ This is used to show all object names in the current database matching a pattern.

5. _____This is used to show the table definition.

6. _____This is used to show all DTS packages that match a pattern.

7._____ This is used to show all constraints for table names in the current database matching a pattern.

8._____ This is used to run UPDATE STATISTICS against all user-defined tables in the current database.

9._____ This is used to show all stored procedures in the current database that match a pattern.

10._____ This is used to ensure an empty string is returned as null.

a) EXEC UPDATE STATISTICS

b) EXECUTE sp_help TABLE_NAME

c) select * from all_CONS_COLUMNS where table_name like '%PATTERN%'

d) EXECUTE sp_helptext PROCEDURE_NAME

e) select distinct name from msdb.dbo.sysdtspackages where name LIKE '%PATTERN%'

f) select * from TABLE_NAME where rowcount <= 10

g) select * from INFORMATION_SCHEMA.CONSTRAINT_TABLE_USAGE where TABLE_NAME LIKE '%PATTERN%'

h) select ISNULL(FIELD_NAME, 0) from TABLE_NAME

i) select TOP 10 * from TABLE_NAME

j) select distinct name from msdb.dbo.sysobjects where name LIKE '%PATTERN%'

k) EXECUTE sp_helptext TABLE_NAME

l) select * from sysobjects where name LIKE '%PATTERN%'

m) select NULLIF(FIELD_NAME, '') from TABLE_NAME

n) EXEC sp_updatestats

o) select * from sysobjects where xtype = 'P' and name LIKE '%PATTERN%'

p) select * from sysobjects where uid = 1 and name LIKE '%PATTERN%'

SCROLL DOWN FOR ANSWER KEY

















See the rest of our quiz topics
ANSWER KEY: 1) i ; 2) d ; 3) h ; 4) l ; 5) b ; 6) j ; 7) g ; 8) n ; 9) o ; 10) m

CONTRIBUTORS: Jean Rynearson
LAST UPDATED: 07 Jun 2006


Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Ensuring high availability of SSAS databases
In part three of this series, Baya Dewald hones in on the administrative side of SQL Server Analysis Services, with details on the various methods on...
Building a data warehousing and BI solution
In part two of his series, Baya Dewald breaks down the process of creating a data warehousing and business intelligence solution, with details on the...
An overview of SQL Server Report Builder 2.0
In this chapter excerpt from "Learning SQL Server 2008 Reporting Services", find out about the interface details and controls available in Report...

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
comma-separated values file  (SearchSQLServer.com)
data aggregation  (SearchSQLServer.com)




Quiz: SQL Server 2000 Solutions - SQL White Paper Library
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts