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
Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
Retrieving a hierarchy with recursive relationships can be difficult in SQL. Easily implement these relationships with a parent-child dimension using...
Troubleshoot Web service issues in SQL Server 2005 Reporting Services
Learn why your Web service in SQL Server 2005 Reporting Services (SSRS) is not responding. You could be missing Reporting Services configurations.
Ordering the results of a SQL query
Learn how to order the results of a SQL query when using case statements in a SQL Server Reporting Services (SSRS) report.

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




HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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