You are on page 1of 1

Rules

: A rule specifies the acceptable values that can b


e inserted into that column. A column or alias data
type can have only one rule bound
to it but a column can have both a rule and one or
more check constraints. Rules do not apply to data
already existing in the database at the
time the rules are created. After you create a rule
, execute sp_bindrule to bind the rule to a column
or to alias data type. A rule cannot be
bound to a text, ntext, image, varchar(max), nvarch
ar(max), varbinary(max), xml, CLR user-defined type
, timestamp column and computed
column. You can Create and Drop Rule but cannot ALT
ER. [Note: This feature will be removed in a future
version of Microsoft SQL Server.]
22.
Defaults
: A default specifies a value to be inserted into t
he column to which the object is bound (or into all
columns, in the case of an alias
data type), when no value is explicitly supplied du
ring an insert. A default that conflicts with a rul
e is never inserted. You can Create and Drop
default but cannot ALTER. [Note: This feature will
be removed in a future version of Microsoft SQL Serv
er.]
23.
Plan Guide
: Used to optimize the performance of queries when
you cannot or do not want to change the text of the
query directly. Plan
guides can be useful when a small subset of queries
in a database application deployed from a third-pa
rty vendor are not performing as
expected. Plan guides influence optimization of que
ries by attaching query hints or a fixed query plan
to them.
24.
Service Broker
: Introduced with SQL Server 2005, Service Broker a
dds reliable, scalable, distributed, asynchronous f
unctionality to database
applications. Provide Reliable transactional ordere
d message queue and can talk to other SQL Server br
okers with limited GUI. The basic
functions of sending and receiving messages forms a
conversation.
Each conversation is con
part of a
sidered to be a complete channel of
communication. Each Service Broker conversation is
considered to be a dialog where two participants ar
e involved.
Configuring a Message Queue
: Service Broker uses a messaging or dialog metapho
r, but there's much more to Service Broker than jus
t the
messages. The Service Broker objects must be define
d in the following order:

You might also like