MZ@ !L!This program cannot be run in DOS mode. $PEL PC!  . @ s 8 S     H.text  `.rsrc  @@.reloc  @Bp H p #h P '%[3'Y 푘,cڡI℉ vHzgiʴ}rbgP^ayfy[-@|ۻ> 7=dmQқV}6-Jl.s*f( s }}*0U( -s zs }}o  +" {o %{X}X i2*( -s zo }o }*0g( ~ ( ,s z( s }}o  +" {o %{X} X i2*{,~.{o }*6o o! *~*{*(*J(c(c(" *N(c(c(# *N(c(c($ *R(c(c(% *Z(c(c(& *b(c(c(' *b(c(c(( *j(c(c() *J(c(c(* *Z(c(c(+ *0 ,o o o, *0 ,o o o, *0,o s +s *2(. s*Z-s zo o/ *(<,s zo o o/ *2{s*(<,s zo o o0 *(<,s zo o o1 *0 , o o2 *"(<*"(<*No (co3 *N(c(c(4 *6(5 s*:(6 s*2o o7 *6o o8 *6o o9 *:o o: *:o o; *>o o< *>o o= *6o o> *:o o? *>o o@ *(<,s zo o oA s*r-s zo oA s*2i(2*0-s z2iX/sB zsC /c-~D +o oE    , o oF & X +# ,,oF & o oF & X Y2o s*6o oG *6o oH *:o oI *:o oJ *>o oK *>o oL *6o oM *:o oN *>o oO *03   ,, +--o o (*  *03   ,, +--o o (*  *03   ,, +--o o (*  *.(<*.(=*.(>*0 (*Jo oP s*No oQ s*Jo oR s*No oS s*Jo oT s*No oU s*No oV s*vo o o oW s*Jo oX (S*No oY (S*No oZ (S*Ro o[ (S*No o\ (S*Ro o] (S*(<,s zo o o^ *(<,s zo o o_ *04  ,-i  +, s+X i2*Jo o` s*No oa s*2{(b *Fo oc s*Jo od s*Fo oe s*2{o *04 ~D ( ,$sf (g {(b (h (i *Fo oj s*Jo ok s*Fo ol s*Fo om s*Jo on s*Jo oo s*Jo op s*0  (?,o *0 ,s *0  (?, {o *0 ,s *0 (q (?, o (r *0  (s -o s *(t s}s}s}*{*"}*{*"}*{ *"} *~{ -(u sv } { *{ *{*"}*{*"}*{*"}*{ *"} *"(w *09(x -s +'(x u,(x t + (x s *2(y oz *:({ t*0 *0Q(,!o((xo| o&*o| (ooo| o&*0E(xo +o t o,oo} -u ,o~ * '30d(x , (x o -*(x o +/  (x o .+ ( (X i2(*0/( (,o(+o&o*&o*0=, ( + ( (,o(+o&o*0( oo*0f{-*( o,Koo +"o t o3 oo&o} -u , o~ *&.T0M{-*(t{o&(v{o&(x{o&(*0gs } (n,(no((vo+&o t o,oo (o} -u,o~ (to+&o t o,oo (o} -u,o~ ((},p(}o,c(}oo +/o t o-o(  o(o} -u  , o~ { o 1 { o*(13d3<70(x 9(x o 9(x o i>(x o  ,vo ,9o -o iVo o o o o o o ,-o -o io o o o (x o i1;(x o iY`o (x o o o i( *o *0gs o (x o 3 o +o ((((p,(poo(} *0o,ko +Go t o32o({ t o(oooo} -u , o~ * S]6((*n(},(}o(*n{,{o(*0(,$t (loo(lo*01s ( o oE ,(- (lo*V(o(*>((*0Us}(((((z, (lo,to,(*(*( *{ -(u sv } { o *0\(s,S(so +*o e ( tV( tVoo} -u ,o~ *6J0-(lst ((x ,(x o .(x o 3*(x o (x o - (loo > (loo +Fo e ( u-+( u,( t%o o  / + o} -u,o~ ,&& (s *S0o ( oo r o uh , o 3o 3 o .o orpoo &rpo &( oo *r)0L3 ( *.3/(  3*s ( o o o *s z(to(vo(xo*"o* *0J-*o +!o t o- { o &o} -u ,o~ * -86{ *0(n,(no((vo+o t o(o} -u,o~ (to+o t o(o} -u,o~ (  + t  o( X  i2*''Np'0(xo +\ o t o,Hoo +o ( (o -u,o~ o} - u,o~ */&U ht:}(*R}((*0 s o o (y o o (poo Vo (poo o s ( ( t o ooo*0S!(p-*(poo +o (t{o&o -u ,o~ *'A01 % ,*rp( -rp( - +(*(~**(*"( *"(*"(*0Q"(x ,(x o ,(l-*(x o  + o o (X i2*0|#o (ro t ,=o +o  (o -u,o~ *, (  + (lo*'F0H$( o tm -*o 3!( rp o (6 *o *&( *>o(*6(*02%s- o., o+ oo#*Bo(*0&o1 9eoM({(v(oO ,s(oo#oP ,(t ( o#oQ,s(qo#oR , (oS,(v(o#oT,(t(o#oU,(t(o#oV,(xo(o#oW  ,)(r o oo  o+- o#oX  , o o( o#o2  o4  o4  o5  ,K, o;o -  oB,'(v ( s  (  o#+ o$+ , ( --*0i'o9 ,3o +o o &o -u , o~ o - o7oo8(o#*,(k*(rp}}}}*{*(x o .(x o 3}(*0((x o 3*(x o .(*(}o-}(*t (oo(o &(( ( o  oY{-)rpZ  ( ( rp( o+rpooo1ss +Y(vot oo &rpZY  ( ( rpo( oX(vo2(too(voo,orpo( o Oo ,= +)(v ot   o o X  (vo2} *PTO06{,&(,(({ t o*(*0)(( ,Ns ( o o rprp( o &o ( o o o *s o o (y o V(o oo 1Z `o +B o s o VoYYo o X2s ( ( ( *0*s rprp( o o o rpo , o }o r/po  ,o o r7po , o }o rGpo ,} (*0+(( ,*( o-*oo +, o t o3(o( , o} - u,o~ **/8g0,(}o ,(}o i,(}o i1:(}o,%(}oo ,(}oo 1( *(}o ,+(}o  + (-q X i2+^(}o,Q(}oo +o t o(-'o} -u,o~ ( **n{-(*{(*>}(*(rp}}}}}*{*{*(x o .(x o 3}(*0((x o 3*(x o .(*(}o-}(*t (oo(o &(,(oo(o &(( ( o  oY{-)rpZ  ( ( rp( o+rpooo1ss +Y(vot oo &rpZY  ( ( rpo( oX(vo2(too(voo,orpo( o Oo ,= +)(v ot   o o X  (vo2} *wTO06{,&(,(({ t o*(*0)(( ,Ns ( o o rprp( o &o ( o o o *s o o (y o V(o oo 1Z `o +B o s o VoYYo o X2s ( ( ( *0)(( ,Ns ( o o rQprp( o &o ( o o o *s o o (y o V(o oo 1Z `o +B o s o VoYYo o X2s ( ( ( *0*s rprp( o o o rpo , o }o rgpo , o }o r/po  ,o o r7po , o }o rGpo ,} (*0+(( ,*( o-*oo +, o t o3(o( , o} - u,o~ **/8g0,(}o ,(}o i,(}o i1:(}o,%(}oo ,(}oo 1( *(}o ,+(}o  + (-q X i2+^(}o,Q(}oo +o t o(-'o} -u,o~ ( **n{-(*{(*>}(*0G( (x -0s(m(t~D (lo&(ls*(*( *(*0( sC }sC }sC }sC }sC }sC }sC }sC } s }(u sv }!}(}#}$}%*{*"}$*{*{!*{"*"}"*6{(*J, o **{*"}*o 1 oF &oF &oF &oF &*r{~D ~D rp(*r{~D rprp(*r{ rprprp(*r{~D rprp(*r{~D ~D rp(*(,}%{~D ~D rp(*r{~D ~D rp(*r{rprprp(*r{~D ~D rp(*-rp( + rp( (*0|-(o +Jo t o| ( ,0( rp o]((6 (#o} -u , o~ (* Vb0;,7,-( rp ]((6 (*(*:{!o *0o.{(-{o o{}{(-({ {}(- o ({o {Y %{oX}1C{{{o o {{{{o o +{{o {!o +&o e {!( ( o o} -u,o~ sC {(-- {o &{%, rpoF & rpoF &{(- {o & }{%}%{(-3{(,{{o &+{o ({(-+{{}(- o ({(-{o ({{o &{ (-{ o (*3 0/{$,{$*sC {(,*rpoF &{", rpoF &{o &{(-rpoF &{o &{(-rpoF &{o &{(-r/poF &{o &*0/sC { (-erEpoF &{ o &rMpoF &rp(oF &rpoF &rp~D (oF &r]poF &{(-{o &rpoF &(o &{(-rpoF &{o &o *2{o *Z}}} *0`0s {{o &{{o &{{o &{%}%{o {Y 1B{{{{o o {{{o o +{{o %{(X}{!o +% o e {!( ( o o} - u,o~ {{o &{{o &{{o &{{o &*1~{o &-%{X}*N(((*0W1{#-N}#{o +o t oo(o} -u ,o~ **E2{o *6{o *02sC rwpoF &oF &rpoF & (,C(o + o t ( o} - u,o~ rpoF &o *<#_03F,R+ rpoF &o| ,o o-,( rp o(6 oF &*( rp oo(6 oF &*074s rpoorp( ooo*2sC } *V( }'(* 0S{&o }){&o {&o -({&o &{&{)o }'** 7{&{)o {', {&o *05u%}&{&,*ux , o }&*uy , s }&*uz , s }&*u{ , o s }&*(s zs }(s }*{&{*o *:{(o &*006{*,{&{*o }*{( }(*0C-*o tho 2&{&o -{&o o & ***&8h0/7{&o & (,{&o &+*)0;8 {&o  (,{&o +o o *)009 {&o  (,{&o +*)2{&o *0,:s oooo o* 0;s ooo* 0<s o &( *0= (  o**( *0>s o  s  + o o X o Y2 o o 8o tho /ooE 1oo& , -o*(p~):K8)t 0F?s o +o oX o Y2o o o* 0=2s(*f( }+rp}.*{.*"}.*sC },}-({,o *0e@ E &,+0rp*rp*r p*rp*rp*rp*rp*r%p*(s z0<A-*o 38t, o ({,o (oF &o (*o @tm {--%o 3{,{.r1p( oF &{+o o oj {-,( {,oF &{--{o 3r{,'o &*o 30t {,(o & o ({,)o &*o - t/(*o 3 t.(*0Bo E-x*{,1o &*{,0o &*o (*o ({,r5poF &}-o (}-{,rIpoF &*{,rOpoF &o ({,rpoF &*o (*o % 9rYp( -!rop( :rp( :*{,rpoF &o ({,rpoF &{,rpoF &{,rpoF &o ({,rpoF &*{,rpoF &o ({,rpoF &{,rpoF &*{,rpoF &o ({,rpoF &*z{,{+o oioF &*0Ct orpo( &rQp( r[p( -,,, (s z,!\oG 2 oa  XoU ,ToE 1"\oE Yo! 3oE YoU o( rmp(6 o,)o( rp(6 o( (*(*{B*"}B*{D*"}D*{E*"}E*{C*"}C*( o(o(o((*( ((((*:( (*V(- (( &*V(- (( &*0D(:(s z(rpo (rpo ,- (s z( ( (o 0( ( (o /(( -(( &*(( &(rp( :a(( *0*(,-*(  ((6 *0\E~D s ,K +: o! #3oE /o &~D + ( X oE 2*0U(o ,**(o .6(o 3 (o  *(o  ,(o 3*"( *("*N((( *z((( -*(%*&(!*0;Fo  }F{F- (s  z{Fs  ((o (( 9(rp( - (s  z(rpo (rpo ,- (s z( ( (o 0( ( (o /T(o YE+ ((s z((s z(o (s z(( ,*(s  zN({Fo *zrp(%,(( ,**r#p(%-r#p(s  zsJ*0Br5p(%-"(r5p( -r5p(s  z(( &s3*"( *ZrKp(%,s:**Zr]p(%,s6**"( *F(rmpo *^(rwpo (&*Z(rpo ('*"( *F(rpo *0D(rpo ,( *(rpo ,rp($ -**(; rp( -4rp( -'rp( -rp( - rp( ,**0L (rpo , r p( *(rSpo ,*(rmpo (*^(rpo *F(rmpo *0 (rwpo -*( *0 (rpo -*( *^(rpo *0G(rpo  ,F( od  rpoH .` rpoH .` rpoH .` *(rpo ,J( od  rpoH ._ rpoH ._ rpoH ._ *(B,**6(((&*F(rpo *F(rpo *F(rpo *^(E- (F**n(r p( ,se**"( *F(r'po *F(r=po *0 (r_po -*( *^(K- (L**(( -*rqp(%,sY**Zrp(%,s}**Zrp(%,s\**Zr]p(%,s6**Zrp(%,sm**Zrp(%,s{**Zrp(%,s**Zr p(%,s**Zr'p(%,s**ZrIp(%,s**"( *(( -*(rp( ,s^**n(r p( ,se**"( *(( -*(rep( ,sb**"()*F(rqpo *F(r}po *0 (+ ,(rp( ,**"()*F(rpo *0 (+ ,(rep( ,**"( *F(rpo *^(rpo (&*(( -*(rp( ,si**"()*0T (rmpo % ,>r}p( -)rqp( -rp( -rp( -+*****F(repo *F(rpo *"()*Z(rpo ('*^(rpo (&*^(rwpo (&*^(rpo (&*^(r po *^(r= po (&*6(((&*2rp(,*n(r p( ,se**"()*((*Z(rpo ('*n(r p( ,se**"(w*2rp(,*"(w*2rp(,*"(w*2rp(,*"()*F(rQ po *Z(rpo ('*Z(rg po ('*2r p(,*"()*F(repo *Z(r po ('*2r p(,*"( *F(r po *F(r po *0CF% 9-~:=s %r/p( %r p( %r p( %r p( %r p( %r' p( %r1 p( %r= p( %rG p( %rO p ( %r] p ( %re p ( %ro p ( %ry p ( %rp( %r p( %r p( %r p( %r p( %r p( %r p( %r p( %r p( %r p( ~( 9E "**2:BJRRZZZb+hrp +lr/ p +drI p +\rc p +Tr/ p +Lr p +Dr p +{No * *{L*"}L*"}L*{M*"}M*n,s}M{Mo*Z{M-*{Mo *J( s }O*2{Oo *:{Oo &*0<N{Oo +o t oo} -u ,o~ * *0SO {Oo +&o t o, ooo} -u , o~ *2@0DN{Oo +o t o,oo} -u ,o~ * &2J{Oo t*F{Oo s*:( }P*2{Po *2{Po} *2{Po *0(on(oo}Qop}Sor}T{T-I{Q, }U+8oq}Q{Q, }U+os}Q{Q,}Uot}Rov(*0@<(s o;o &(oE}Q}UoF}R*(s (oK}Q}UoL}R*Vsoo+-*VoH, so*VoN, so*{Q*"}Q*09 {T-{Q+ (o  {S-*rq p{S( *(,{T,{R*(o *0P(o( ( , oE 0o*o9on,g, oE 0onoo  +jVrpr{ ponoo rp( +#{U-o,oE 1o*{U3r p +r p ( r p(6 (  o*0Q(  o;(! o=(" o@(# o<($ o>(% o?}[oG}\oC(& oA}_oD}ZoI ,s}`{`o*Z{`-*{`o *{Z*"}Z*{Z,{Z*{`, {`o **09(-(*( r p (((6 *0;{_,+( r p (((6 *(*:(}^*{^*"}^*{[*{\*{]*"}]*V(olo*(oy(ox}aoz(*r{a,{a*(o *"(*b,soo+-*:(o*"(*b,soo+-*:(o*"(*b,soo+-*:(o*0:R( s}boZ ,(*o[ , {bo*0S{bs o~D  s oo_o{bo o &s oo`o{bo o &1 r p( ( r p %X o %X o (6 ( o+:W{bo {b( ( o *2{bo *{b*:( }e*0C( o' ( o ( o ( o ( o( ( *"}c*"}e*{e*{c*{d*"}d*0ST{c- o}c*oo +o {co &o} -u ,o~ *! AB( }j*j{l- s }l{l*j{h- s }h{h*"}h*j{i- s }i{i*"}i*{k*{j*"}j*2() t *"(* *{f-*{fo o+ 2*{fo o+ *{f*"}f*{g*"}g*{k-(u sv }k{ko *0U(:( YE+s(  rp(6 *(  r1po, o '(r1p( o, o ](rp(6 *(s z( YE+U*( r1po, o '(r1p( o, o ]((6 *(s z0?r5 p( rp (Yo, o ]((6 ( *0 E-*r? p( rp (Yo, o ]((6 oW *{f,{fo o+ **06 +%o, o o, o ( ,*X (Y2*06V(os (2(oo &*~D  (,vr] p(- ~. (/   (0   ( (1 rm p( (oo &(r} p( o(o (o(o 86{fo o2  {g,({go o+ /{go o2  (o &{k9{ko @(3z{ko3 tV(Yo, tV($ -M(o  {k(Yo, o tVo o(+&,- (- ( (o &X{fo o+ ?(,(o &*0T{f- (s z{fo o+ . (s z{fo o2 (o(*0Wt orpo( &rp( -rpr p(s zo( r p '((6 o( (*(*{o*"}o*{m*"}m*{n*"}n*( *0jXs }rof}pog}qoh s ojookoolo{ro &o+-*6{r*"}r*{r*{p*"}p*0Y(-{q*{ro +^o t o3ooo+5o3,oo , o+o- ~D oo} -u , o~ r'p{p( ,5( {q{ro to(6 *r+p{p( ,O( {q{ro to{ro to(6 *r/p{p( ,i( {q{ro to{ro to{ro to(6 *r3p{p( 9( {q{ro to{ro to{ro to{ro to(6 *r7p{p( 9( {q{ro to{ro to{ro to{ro to{ro to(6 *r;p{p( 9( {q  {ro to {ro to {ro to {ro to {ro to {ro to (6 *{p(s  zj"}q*( *0E(o(o}uo- (s zo}s}t*02Z{t{s(u -{sr?p(s z*{u*{v-(u sv }v{vo * *0[{v9( o~oo oox o(o#{vo{vo4 o5 +o tV olooo} -u , o~ }v*`+f,soo+-*:( }{*{w*"}w*{z*"}z*6{zo6 *{x*"}x*{y*"}y*6{|* *0s\o!-j~D  (o4 o5 +% o tV - rWp(  ( o} - u,o~ (s7 z*!1R0R]o }| o +o {|%X oo -u , o~ *&@0:{{,*}{ +{|{|o X {|i2*0C^ o+ Y +0X[ o2 o8 o9  3Y +  3X +*1*06(% /*Y 1Yo2 o8 o ( -*0#( r]p ]((6 *No: rsp( *>(*((*R{|oo*:(*o*:(**0J(* ((,*tV**R(o/}*0_s (o' o; rp( (< o o o V rprprpo  rps= rps= o s (( ( *0`{o rp(& 1~D *~D {o %X o2 rpo8 tV( {o o+ /,r'p{o o2 rpo8 o ( -*{~*0z}~((, ~D }}*(( o  /({- (1}tV(2}}+o5}}{}- ~D }}*tV*b(( o  /**^(3-(4{}*>}~}}*6(0o/*^(8}}*{3{}tV(}{*rp(( , {3{}tV(}{*{3{}tV(&~*{3{}tV(&~*&(-*0a(3-(* (4{}((,{}*% 9rp( -6rp( -0rp( -;rp( -:r/p( -9+L{}*{}tV(;oU *(;o*(=*(>,(>*~D ** *J(s> }* *0-b{s> o {-',rSps? }+rps? }  {o@ 8oA rpoB oC ,*oA rpoB oC , oA rpoB oC ,  ,H,EoA rpoB oC ,.{o toA rpoB oD o  oA rpoB oC ,oA rpoB oD oE oC :**0 c 1<( rp](oo(6 +0( rp](o(6 ( ~D o oF + o t3  o, o ( o} -u,o~ o o+ 1,o o2 o, u-o ( R*-N{o *0( {o to tV -~D **0d(, ,, u-*~D *(+ (- (- (*uo, o+ ( ( ( ( ( (F-#((E(D (G*0ie((,~G *o ((,~G *o 1/~G * '[d[d]d] '[d[d]d]sH 9*^(*(*(I*(*0-(+ 1 '[d[d]d]sI 9*(*0-(+ 1 '[d[d]d]sJ *(*0ef (* ((-o 0 ~. 9* (I  [ ]<[<](J  (K 9*(*0rg (* ((-o 0* (I  [ ]<[<](J (*9 (K (/ *(*0e oo rp(( ,>(o' o oz rp( ,(*r%p( ,(*(*0   0P; ; YE djpv|8 0% .s YEag8 .` YEJ\PV+Zr7p*r=p*rGp*rMp*rSp*rYp*r_p*rip*rsp*r}p*rp*rp*rp*rp*rp*rp*0B(( o  /(+(U(To*(-(To*(*0<( rp (-'((-'((6 *0h(X ,Q()-G( r p (-'((-'((6 ( -6( rSp (-'((6 ( +F( r p  (-'( (-'( (6 ( *0i(-% 9i~:qs %rwp( %rp( %rp( %rp( %rp( %rp( %rp( %rp( %rp( %rp ( %rp ( %rp ( %rp ( %rp ( %rp( %rp( %r7p( %rp( %rp( %r p( %rp( %rp( %rp( %r#p( %r)p( %r/p( %r5p( %r;p( ~( 9E#2AP_r""1DS8]rAp(Y*rp(Y*rYp(Y*rp(Y*rp(Y*rp(Y*rprp(Y*()-r prp(Y*r p(Y*rprp(Y*r1prp(Y*r=p(Y*r]p(Y*rp(Y*rp(Y*rp(Y*rprp(Y*rp(Y*r1prp(Y*rp(Y*rp(Y*(-(s z"(Z*(*0r`{-(-(} % ,3rp( -r+p( -rEp( - +  + + {o 2*{o *"}*(*r(}}}*0j(+ (+ (- {,5( r[p o o ]( (6 *}( rpoo(6 *0ck{,*} V}(a(( o 8o t(   8oL oM oN @oL oM oO rpoO oE YoJ 2iXoO %oG 0oO oE {%X oO Yoa X oL oP /{i?c X oL oP /{i?({i2*o} :u,o~ }*A8F0i(b{9}% 9u~-ms %rp( %rp( %rp( %rp( %r1p( %r[p( %rp( %rp( ~( 9E5Me}8{( (Q *{( ( o*{( ( o*{( (R *{( (R *{( (R *{( (R *{( (R **>}}*0l((,~S *tV j .oX i.~S * +/( ( j %X Z_bjZX Xi2sT *(*z((,*tV&tV(U *(*0[m{-rp((} (-(V {o oF +$ o t3 o, <(W , + o} - u,o~ -~G *%9~: s %rp( %r-p( %rOp( %rmp( %rp( %rp( %rp( %rp( %rp( %rp ( %rp ( ~( 9E )Ea}8r+po8 *rWpo8 *rpo8 *rpo8 o-+*rpo8 o-+*rpo8 o-+*rpo8 r po8 (I*r1 po8 *rS po8 ro po8 (I*r po8 *rmpo8 **@0p(K*0|n(- (- V r p ( r p ( r p ( (( o o+ 1o o2 r!po8 **(K*0o(* o s *(*Z(#}* *0Fp#{3.r)!p(( o o2 o, }{*{-"(( o  /(x+(w{*0l/r!p(-r!p(- r"p(,DsC oF &(( o  2 r<"poF &o ((&*Uh)0nq{-_(- (' (s( (r '( (6 ( ((o o2 }{*"}*0@r"p(,r"pr"por#p(,r#pr8#porx#p(,rx#pr#por#p(,r#pr#por$$p(,r$$pr8$porf$p(,rf$pr$por$p(,r$pr$por%p(,r%pr<%por|%p(,r|%pr%por%p(,r%pr8$por%p(,r%pr&po*0U4s (vr!p(- r&p(,r(&pr6&por!p(,r&pr 'por&p(,r3'prC'por!p(- r"p(,r!pr'por"p(,r(pr(por(p(,r(pr)por)p(,r)pr)por!p(-r!p(- r"p(, ra*por+p(,r+pr+po(yo}*0 rs (vr!p(- r&p(,r(&pr,por!p(,r&pr&-por&p(,r3'pr-por!p(- r"p(,r!prl.por"p(,r(pr/por)p(,r)pr&po((  o 2oX 2(yo}*0JrN0p(,<r0por0por1porN0pr2por2po*0&s((  % 9~:s %r!p( %r&p( %r!p( %r"p( %r%p( %r(p( %r%p( %r)p( %r$$p( %r$p ( %rx#p ( %r#p ( %r"p ( %rf$p ( %r#p( %r%p( %r|%p( %rN0p( %r+p( ~ ( 9E="""""""""""""3^8# ((- o  /?(tr(&po8 (tr&po8 Y(qZX+>(tr(&po8 (tr&po8 lY(qZX#A#8# (tr3'po8 u,(tr3'po8  (tr(&po8 X(qZ#@[8do  /)(tr!po8 (qZ81(tr!po8 l(qZ8o  /@(tr(po8 (tr!po8 Y(qZ8(tr(po8 (tr!po8 Yl(qZ+(to8 +no 2eoX 2X(trN0po8 +Co  /((,*tV({+(tr+po8 tV({*0% ,oE -~D *~D (Y &*  *"}*0[t(-  ((  o  2r2p +r4p ('(  ((o o2 }*((,{-(~{o8 *(*r( (((*{*"}*{*"}*{*"}*V( }}*{*"}*{*"}*0Iut (o1*(o/*(o3*(o0**J( s> }*0~: s> ~orprpso ~or]pr]pso ~orprpso ~or=pr=pso ~or pr pso ~orprpso ~orprt6pso ~ orp rpso ~ orp rpso ~eorYperYpso ~forpfrpso ~gorpgrpso ~ orAp rApso ~ or6p r6pso ~ or6p r6pso ~*0v% 9Y~:s %rp( %r]p( %rp( %r=p( %r p( %rp( %rp( %rp( %rp( %rYp ( %rp ( %rp ( %rAp ( %r6p ( %r6p( ~ ( ,tE %++/******* * *e*f*g* * * *sC  (oZ o5 +.o t %X 1 r poF &ooF &o} -u,o~ o (s zz;0w}{( }s Vrpo o s o[ rpo\ }o[ r%po\ }{-+o[ oz (&o[ (] (s zs {(o &r6po &rc7po &j sC  o[ 81o oz (rpoz o^ ,aoE 1Wr7poF &( ( &oF &rpoF &(_ oF &rpoF &o` &+ko t  oo o( ( o or7po ooF & (] ( sa z jX j1j j]3o o &o Xi? j1j j].o o &r 8po &{o 1r18p+rY8p ( r8pob -+o(6  (  o  sc    od (   oe  o &( (r9p(*|Z(oo t*0'xsf sf К(g o oF 8o t3  ({o t-Eo ((] sh (< oi {o oj & r49po8 o: .K ({o t,ok oj &+ok o &oj &o} :"u  , o~ (*$ 0ay- rL9po8 + r49po8 o - r`9po8 + rx9po8  s  ((sa z *LL0zsC ol o oF +to tq om oF &rpoF &om o8 o: o &rpoF &r9poF &om o8 o &r9poF &o} -u , o~ o *0w{o +O o t  +1ok o u ,ok {o on X ok o 2 o} - u,o~ *[b0|o( s Vrpo o {,]( r9p{(o {(o ooo(6 (< o +L( r :p{(o ooo(6 (< o s {o ( o o2 o, tV(< *0}(  {,:( r^:p{(o {(o (6 +)( r:p{(o (6 rpo( 9( r:prx9po8 (or`;po8 tV(o r|;po8 tV(o r;po8 tV(o (6 ( (< К(g r;po8 o: 3L( r;por;po8 tV(o (6 ( (< x( r;por;po8 tV(o r;po8 tV(o (6 (  ((sa z(< * *Atp0#( r]p ]((6 *03~( s }o] {oco &o+-*{*( *0 oE - ` 8_oX 9    +q  % ,] r8<p( -: r><p( -0 rD<p( -& rJ<p( - rP<p( -+ + + ++ X   i2, @ +-` -` -` -` *0t orX<po( &r<p( r=p( - (s zo( r#=p  (6 o-orW=po+)o( r=p(6 o( (*(*>( (*>( (*0k}}o}{3oo }+{}oo(o(*0}{o}{@+]({o  ++{-~G o +{o X {i2{o o (-,}{op }{o}*%i,0s{}}, o +} {,>(u sv { +!o tooo X o 2 o 8o t o( oq ( ,H oq ( {}{ o(( }}{,I oo t,2{ o| }{}o$X% {/ o} :)u,o~ *]0s }{( o  o +X o t oq or ,r/ p {o o(s st ou {- X% {/ o} - u,o~ *$d{3{o {o2 o, *{ov *{3{o {o2 o, *{*{3{o {o2 o *{*0#{ow ,{{ox &*0{-* +O{{,8{{{{(o. (X {2 +-{{,{{o/X {2*0{-* 8{{9{u:{{oy ,+{{{{(z 8w{u ,A{{o{ ,){{{(| o} 8%;{{ {{ o~ ,){ {o 8V(g {{@{{ ;o~ ,u o ,c{{r=p;V(g o ,*  { o &{X {?*6((*2{o *2{o * *0B}{,{o - {op {,{o}*0Dp{o +o o o+ Yo {2o o+ {0* *0( ,(*0s{o o+ }+(%{X}{2{o o+ Y +{o o Y {/{*2{o~ *{*{1{1{o X*&{*N{o (*6(*6(*0,(t i1i+ jj( j*6(*0,(t i1i+ jj( j* *Z({o *6(9*6(:*6(*((o o o *6(*6(<*6(*6(o*6(*Z({o *N{o (*6(tV*"(*0D^i {2+{  +(X 2 +  X {2*Z({o *0r>pr>pr)>pri>pr>pr>pr?pr'?pV ru?p~r?p~r?p( r?pr @pr9@pr@pr@pr@pr)>prAprAprCAprYApruApV ~ rAp ~ rAp ~ rAp ~ rAp ~  rAp  ~  rAp  ~  rAp ~ rAp ~ rAp ~ rAp ~ rAp ~ rAp ~ rAp ~ rAp ~ rAp ( s?  V~rAp~rAp~rAp~rAp~ rAp ~( Ds? *0FPoE Q8PoA rApoB oC ,vri pPoA rApoB oD ](rm p( }PoA rApoB o }{PoA rApoB o X}82PoA rApoB oC ,`PoA rApoB oD }PoA rApoB o }{PoA rApoB o X}8PoA rBpoB oC 9-*PoA rBpoB oD }PoA rBpoB o }{PoA rBpoB o X} ri p{""(rm p( }+PoE QPoC :@PoC ,`PoE QPoA r+BpoB oC ,?PoA r+BpoB oD }{PoA r+BpoB o X}{oE *0(-*PoA rCBpoB oC 9{}~D }{ ~D }(-*}PoA rCBpoB oC ,A{}{}~D }~D }(-*}*0m}}}rp}rp}rp}rp}}}}rp}rp}~o@ 8oA rApoB oC 9rKBpoA rApoB oD ($ -oA rApoB o }+ZrYBpoA rApoB oD ($ -$}oA rApoB o }+*oE oC :MoE +;oA rApoB oC ,oA rApoB oD }+oE oC -( ,reBp{($ ,D*oA rApoB oC ,$ruBpoA rApoB oD ($ ,*oE oC -}}rp}rp}( {}{}{}{}{}*0    ~o@ 8{1AoA r{BpoB oC ,Y +oA rBpoB oC ,X =-oA rBpoB oC ,-o o X* 8oA rBpoB oC ,o *oA rBpoB oC , 8oA rBpoB oC ,X 8oA rBpoB oC , +y,7oA rpoB oC ,oA rpoB oD  +?oA rBpoB oC , +# , oA rBpoB oC ,o *oE oC :y*0Vr CprCpr'Cp    ~o@ 8-/oA r1CpoB oC ,-A1=oA rApoB oC ,%%X oD ($ ,3o oA r?CpoB oC , oA rMCpoB oC ,,*3 * oE oC :@,*3 **( *0   oo % 9~:=s %rUCp( %r[Cp( %reCp( %roCp( %ryCp( %rCp( %rCp( %rCp( %rCp( %rCp ( %rCp ( %rCp ( %rCp ( %rCp ( %rCp( %rCp( %rCp( %rCp( %rDp( %rp( %rp( %rDp( %rDp( %rDp( %r%Dp( %r+Dp( %r5Dp( %r?Dp( %rIDp( %rip( %rp( %rSDp( %r=p ( %r]Dp!( %rgDp"( %r}p#( %rqDp$( %r{Dp%( %rDp&( %rp'( %rDp(( %rDp)( %rDp*( %rDp+( %rDp,( %rDp-( %r_p.( %rDp/( %rsp0( %rDp1( %rSp2( %rp3( %rMp4( %r7p5( %rGp6( %rDp7( %rDp8( %rDp9( %rYp:( %rDp;( %rDp<( ~( 9 E= !(/6=DLT\dlt| #(-27<AFKPUZ_dinsx}8 8 8 8z 8s 8l 8e 8^ 8W 8P 8H 8@ 88 80 8( 8  8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8! 8" 8# +{$ +v% +q& +l' +g( +b) +]* +X+ +S, +N- +I. +D/ +?0 +:1 +52 +03 ++4 +&5 +!6 +7 +8 +9 + : +; +< *0q   oo % 9S~:s %rUCp( %rDp( %rDp( %rSp( %rp( %r Ep( %rMp( %rEp( %r7p( %rGp ( %rp ( %rDp ( %rYp ( %rDp ( ~( ,{ E "&+05:+; +7 +3 +/ ++ +' +# + + + + +  + + *0f   oo % 9H~:Js %rEp( %rEp( %r)Ep( %r3Ep( %r=Ep( %rGEp( %rQEp( %r[Ep( %reEp( %roEp ( %ryEp ( %rEp ( %rDp ( %rDp ( %rEp( %rip( %rEp( %rEp( %rEp( %rEp( %rEp( %rEp( %rEp( %rEp( %rEp( ~( 9 E "&+05:?DINSX]bglq+r +n +j +f +b +^ +Z +V +R +N +I +D +? +: +5 +0 ++ +& +! + + + +  + + *( *0(t -s o*(*J(s }L*0 *0l(t {Lo +5o t (x o (y o|o too} -u , o~ *AY0?4o ooooolooloo &*0sC t ({Lo +! o t rEpoF &( o} - u,o~ (lo(lo(*"-O0D({Lo +o t o o} -u ,o~ *20F({Lo +o t o o} -u ,o~ * 407o0&(+s o{Lo &o0-*{M*"}M*b( os }M*N( o}M*:{Mo *6{Mo *0:,{M{Mo &*{Mo t> {Mo o &*01 +"{Mo ,{Mo -*X o2*0M-*{Mo t> {Mo  +o {Mo .*X o2*:( }]*{]*s*0s o *"(*0s o *"(*F{]o *s*s*s*s*s*s*s*s*" s*" s*" s*" s*" s*(*"(*:(( *03(os (  + ( X i2*b(o t>(*2(s *N(oo *N(oo *&( *&( *0s o *"(*0s o *"(**0sC (: o rEp( oF &  (o +9o  ,%, + r poF &o oF &X o} -u,o~ o *3Fy{^*"}^*6(o *V(o }^*6(o *V(o }^*6(o *V(o }^*6(o *V(o }^*6(o *V(o }^*6(o *V(o }^*6(o *V(o }^*6(o *V(o }^*:( o *Z( o }^*:( o *Z( o }^*:( o *Z( o }^*:( o *Z( o }^*:( o *Z( o }^*0  ((((((((( ( ( ( (s_ (((s`  ((((((((( (sa ( ( ( sb(((sc(((sd(se*2~_(*R~_(}^*2~`(*R~`(}^*2~a(*R~a(}^*2~b(*R~b(}^*2~c(*R~c(}^*2~d(*R~d(}^*2~e(*R~e(}^*:( }*{*s*0s o*"(C*0s o*"(E*F{o *s@*s@*s@*s@*s@*s@*s@*s@*" s@*" s@*" s@*" s@*" s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*"s@*" s@*"!s@*""s@*"#s@*"$s@*"%s@*"&s@*"'s@*"(s@*")s@*"*s@*"+s@*",s@*"-s@*".s@*"/s@*"0s@*"1s@*"2s@*"3s@*"4s@*"5s@*"6s@*"7s@*"8s@*"9s@*":s@*";s@*"s@*"?s@*"@s@*"As@*"Bs@*"Cs@*"Ds@*"Es@*"Fs@*"Gs@*"Hs@*"Is@*(*"(*:((*03(os (  + (X i2*b(o t>(*2(s*N(oAo *N(oAo *&(*&(*0s o*"(*0s o*"(*J*0sC (: o rEp( oF &  (o +9o  ,%, + r poF &o oF &X o} -u,o~ o *3Fy{*"}*6(o *V(o }*6(o *V(o }*6(o *V(o }*6(o *V(o }*6(o *V(o }*6(o *V(o }*6(o *V(o }*6(o *V(o }*:( o *Z( o }*:( o *Z( o }*:( o *Z( o }*:( o *Z( o }*:( o *Z( o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:(o *Z(o }*:( o *Z( o }*:(!o *Z(!o }*:("o *Z("o }*:(#o *Z(#o }*:($o *Z($o }*:(%o *Z(%o }*:(&o *Z(&o }*:('o *Z('o }*:((o *Z((o }*:()o *Z()o }*:(*o *Z(*o }*:(+o *Z(+o }*:(,o *Z(,o }*:(-o *Z(-o }*:(.o *Z(.o }*:(/o *Z(/o }*:(0o *Z(0o }*:(1o *Z(1o }*:(2o *Z(2o }*:(3o *Z(3o }*:(4o *Z(4o }*:(5o *Z(5o }*:(6o *Z(6o }*:(7o *Z(7o }*:(8o *Z(8o }*:(9o *Z(9o }*:(:o *Z(:o }*:(;o *Z(;o }*:(o *Z(>o }*:(?o *Z(?o }*:(@o *Z(@o }*:(Ao *Z(Ao }*:(Bo *Z(Bo }*:(Co *Z(Co }*:(Do *Z(Do }*:(Eo *Z(Eo }*:(Fo *Z(Fo }*:(Go *Z(Go }*:(Ho *Z(Ho }*:(Io *Z(Io }*0H I (H(I(J(K(L(M(N(O(P (Q (R (S (T (U(V(W(X(Y(Z([(\(](^(_(`(a(b(c(d(e(f(g (h!(i"(j#(k$(l%(m&(n'(o((p)(q*(r+(s,(t-(u.(v/(w0(x1(y2(z3({4(|5(}6(~7(8(9(:(;(<(=(>(?(@(A(B(C(D(E(F(G(H(s  (H(I(J(K(L(M(N(O(P (Q (R (S (Ts (H(I(Js (K (L (M s(N(O(P(Qs(R(S(Ts(U(Vs(W(X(Ys(Z([(\s  (] (^ (_ s  (` (a s  (b (c (d s  (e (f s  (g (h (i (j (k (l (m (n (o  (p  (q  (r  (s  (t (u (v s(g(h(is(j(k(ls(m(n(os(p(q(rs(s(t(us(vs(w(x(y(z({(|(}(~( ( ( ( ( ((((s(w(x(ys(z({s(|(}(~s(((s(((s(((s(((s((((((s(((s(((s*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*2~(*R~(}*:(}*0_{:s (o' o; rEp( (< o o o V rpr Fpo  rps= o (( ( }{*~(),~G *(-ov* *"}*(t*0(u o rp(& 1~G *s o o2 r Fpo8 o (|  oAoX% o o+ /#o o2 rpo8 o ( -*0i% 9~:Is %r7Fp( %rQFp( %riFp( %rFp( %rFp( %rFp( %rFp( %rFp( %rFp( %r Gp ( %r+Gp ( %rOGp ( %rsGp ( %rGp ( %rGp( %rGp( %rGp( %r Hp( %r%Hp( %rGHp( %rgHp( %rHp( %rHp( %rHp( %rHp( %r Ip( %r=Ip( %r]Ip( %r{Ip( %rIp( %rIp( %rIp( %rIp ( %rIp!( %rJp"( %rJp#( %r3Jp$( %rGJp%( %rwJp&( %rJp'( %rJp(( %rJp)( %rKp*( %rKp+( %r=Kp,( %rYKp-( %ryKp.( %rKp/( %rKp0( %rLp1( %r%Lp2( %rELp3( %raLp4( %r{Lp5( %rLp6( %rLp7( %rLp8( %rLp9( %rLp:( %rMp;( %r/Mp<( %rEMp=( %rMp>( %rMp?( %rMp@( %r-NpA( %reNpB( %rNpC( %rNpD( %rOpE( %r1OpF( %raOpG( %rOpH( ~( 9EI #)/5;AGMSY_ekqw} %+17=CIOU[agmsy8(H*(I*(J*(K*(L*(M*(N*(O*(P*(Q*(R*(S*(T*(U*(V*(W*(X*(Y*(Z*([*(\*(]*(^*(_*(`*(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*({*(|*(}*(~*(*(*(*(*(*(*(*(*(*(*(*(*(*(*(*(*(*(*(H*(t*0(u o rp(& 1~G *s o o2 r Fpo8 o (  ooX% o o+ /#o o2 rpo8 o ( -*0fi% 9X~: s %rOp( %rOp( %rOp( %rPp( %r/Pp( %rGPp( %r]Pp( %rwPp( %rPp( %rPp ( %rPp ( %rPp ( %rQp ( ~( 9E  &,28>DJ+N(*(*(*(*(*(*(*(*(*(*(*(*(*(*0-(t s  rpo! rpo" o$ o& ( s  rpo! rpo" o$ o& ( s  rMQpo! rpo" o$ o& ( s  r_Qpo! rc po" o$ o& ( s  rwQpo! rpo" o$ o& ( s  rQpo! rc po" o$ o& ( *0  *0( o s ( o (x o +- ({ o  oq ( o &Xi2rp( ( rQpo u.,o -+ o 3o oF 8o t3rQpo8 o   , oE 1rQp ( , rQpo8 o  -rp+ rQp ( (  , ( (% :arQpo8 o ( ( (%  ,  @.o  (x o 8  %9rp( -KrQp( -Jrp( -NrMQp( -Wr_Qp( -VrwQp( -y8   o +|   o +j  rQpo8 o +S   o +F  rQpr_Qpo8 o ( -+o +  rwQpo8 o Xi?o  o o} : u,o~ s *A(+(+(+(+(*.+.+.+.+s *(*0s (- ( ,*s o o o ,^ o o +/o tto o ,o o &o} -u,o~ *C<(*(*(*.rQp(*.rRp(*.rGRp(*.rsRp(*.rRp(*.rRp(*0rRp (*0r%Sp (*0r]Sp (*0rSp (*0rSp (*.rSp(*0rTp (*0r-Tp (*.rWTp(*0rwTp (*0rTp (*0rTp (*.rTp(*0r Up (*.r+Up(*.rCUp(*0r[Up (*.rUp(*0rUp (*0rUp (*0rUp (*0rCVp (*.rVp(*.rVp(*( *~**F~~o *0 ~~o (5 *rVp(g o o s *( * lSystem.Resources.ResourceReader, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089#System.Resources.RuntimeResourceSetPADPADPÉdl dǬ 4H !L~G긄ѿr\ŕ\⯯E݆}X/l hkj:3ra7jc0VPh+qm6x{78eBSERv\+@CouldNotGetInfoFromDependencyRow,CouldNotInstantiateObj26DatabaseNameMustBeSpecifiedUFDatabaseNameMustBeSpecifiedinTheUrnw*EnumObjectTagNotFound"FailedToCreateUrn(FailedToLoadAssembly&FailedToLoadResFile$IncorectVersionTag0InvalidConfigurationFile*InvalidConnectionType InvalidSqlServer(InvalidUrnForDependsInvalidVersionLMissingSectionu,NoClassNamePostProcessNotDbObjectNotDerivedFromNotSingleDb 6NullVersionOnLoadingCfgFile3$OnlyPathOrFullNamem&PropMustBeSpecified8QueryNotSupportedPostProcessSqlServer80NameSqlServer90NameTooManyDbLevels0TooManyLinkMultipleElems2UnknownOperatorjUnknownType}6UnsupportedTypeDepDiscovery0Failed to retrieve dependency information ({0}).!could not instantiate object {0}. Database name must be specified.3The database name must be specified in the urn: {0}%Enumeration object tag was not found.)failed to create Urn for object code: {0}failed to load assembly {0}.File {0} was not found. The file might be missing in sources or misspelled in config.xml, or case sensitivity may not be preserved.Incorrect version tag. Configuration file is not valid.Connection type is not valid.Operation not supported on {0}..Urn is not valid for dependency discovery: {0}'Operation not supported on version {0}.0invalid configuration file: missing section {0}.& tag missing class_name.object is not under database.{0} is not derived from {1}.%objects are not in a single database.8Version was not specified on loading configuration file.-Only Path or only FullName must be specified.{0} must be specified on {1}.8Cannot provide DataReader because of the properties: {0}SQL Server 2000SQL Server 2005too many database levels.6no more then 4 elements in LinkMultiple supported: {0}Unknown operator.Unknown type: {0}.e{0} is not supported in dependency discovery. Only objects of the following types are supported: {1}.> t.dbname = dtb.name create table #tmplog (dbname sysname null, log_size float null, log_space_used float null, status int) INSERT INTO #tmplog EXEC ('DBCC SQLPERF(LOGSPACE)') drop table #tmplog df.database_id = dtb.database_id and 1=df.data_space_id and 1 = df.file_id dmi.database_id = dtb.database_id drs.database_id = dtb.database_id dtb.name dtb.dbid suser_sname(dtb.sid) dtb.crdate rtrim(dtb.filename) NULL t.log_size*(100-t.log_space_used)*10.24 NULL NULL 0 (select count(*) from master.dbo.sysprocesses p where dtb.dbid=p.dbid) dtb.cmptlevel '' dtb.category (select top 1 fg.groupname from dbo.sysfilegroups as fg where fg.status & 0x10 <> 0 ) case when dtb.name in ('master','model','msdb','tempdb') then 1 else category & 16 end dtb.name dtb.database_id suser_sname(dtb.owner_sid) dtb.create_date null 0 0 0 0 0 (select count(*) from master.dbo.sysprocesses p where dtb.database_id=p.dbid) dtb.compatibility_level '' dtb.is_published*1+dtb.is_subscribed*2+dtb.is_merge_published*4 dtb.service_broker_guid dtb.is_fulltext_enabled dtb.collation_name ISNULL((select top 1 ftc.name from sys.fulltext_catalogs as ftc where ftc.is_default=1),N'') (select top 1 ds.name from sys.data_spaces as ds where ds.is_default=1) 0 isnull(dtb.source_database_id, 0) (select count(1) from sys.databases dtbmir where dtbmir.source_database_id = dtb.database_id) ISNULL(DB_NAME(dtb.source_database_id), N'') dmi.mirroring_partner_name dmi.mirroring_role coalesce(dmi.mirroring_safety_level + 1, 0) coalesce(dmi.mirroring_state + 1, 0) dmi.mirroring_witness_name coalesce(dmi.mirroring_witness_state + 1, 0) case when dmi.mirroring_partner_name is null then 0 else 1 end dmi.mirroring_guid dmi.mirroring_role_sequence dmi.mirroring_safety_sequence dmi.mirroring_failover_lsn dtb.log_reuse_wait case when DATABASEPROPERTY(dtb.name,'IsShutDown') is null then 0x200 else 0 end | case when 1 = dtb.is_in_standby then 0x40 else 0 end | case when 1 = dtb.is_cleanly_shutdown then 0x80 else 0 end | case dtb.state when 1 then 0x2 when 2 then 0x8 when 3 then 0x4 when 4 then 0x10 when 5 then 0x100 when 6 then 0x20 else 1 end drs.recovery_fork_guid drs.database_guid dtb.is_auto_create_stats_on dtb.is_auto_update_stats_on case when dtb.name in ('master','model','msdb','tempdb') then 1 else dtb.is_distributor end DATABASEPROPERTYEX(dtb.name, 'IsFulltextEnabled') DATABASEPROPERTYEX(dtb.name, 'Collation') case -- if all these are false then we are in the Normal state -- except some return NULL if it's AutoClosed when (DATABASEPROPERTY(dtb.name,'IsInLoad') = 0 and (DATABASEPROPERTY(dtb.name,'IsInRecovery') = 0 or DATABASEPROPERTY(dtb.name,'IsInRecovery') is null) and (DATABASEPROPERTY(dtb.name,'IsNotRecovered') = 0 or DATABASEPROPERTY(dtb.name,'IsNotRecovered') is null) and DATABASEPROPERTY(dtb.name,'IsSuspect') = 0 and DATABASEPROPERTY(dtb.name,'IsOffline') = 0 and DATABASEPROPERTY(dtb.name,'IsInStandBy') = 0 and (DATABASEPROPERTY(dtb.name,'IsShutDown') = 0 or DATABASEPROPERTY(dtb.name,'IsShutDown') is null) and DATABASEPROPERTY(dtb.name,'IsEmergencyMode') = 0) then 1 else 0 end | case when DATABASEPROPERTY(dtb.name,'IsInLoad') = 1 then 2 else 0 end | case when DATABASEPROPERTY(dtb.name,'IsInRecovery') = 1 and DATABASEPROPERTY(dtb.name,'IsNotRecovered') = 1 then 4 else 0 end | case when DATABASEPROPERTY(dtb.name,'IsInRecovery') = 1 then 8 else 0 end | case when DATABASEPROPERTY(dtb.name,'IsSuspect') = 1 then 16 else 0 end | case when DATABASEPROPERTY(dtb.name,'IsOffline') = 1 then 32 else 0 end | case when DATABASEPROPERTY(dtb.name,'IsInStandBy') = 1 then 64 else 0 end | case when DATABASEPROPERTY(dtb.name,'IsShutDown') = 1 then 128 when DATABASEPROPERTY(dtb.name,'IsShutDown') is null then (512 + 128) else 0 end | case when DATABASEPROPERTY(dtb.name,'IsEmergencyMode') = 1 then 256 else 0 end ( case LOWER(convert( nvarchar(128), DATABASEPROPERTYEX(dtb.name, 'Updateability'))) when 'read_write' then 1 else 0 end) DATABASEPROPERTYEX(dtb.name, 'Version') CHARINDEX(N'_CS_', CAST(DATABASEPROPERTYEX(dtb.name, 'Collation') AS nvarchar(255))) DATABASEPROPERTY(dtb.name,'IsFulltextEnabled') 0 0 0 0 0 0 0 0 0 '' has_dbaccess(dtb.name) (select max(backup_finish_date) from msdb..backupset where type = 'L' and database_name = dtb.name) (select max(backup_finish_date) from msdb..backupset where type = 'D' and database_name = dtb.name)  declare @PageSize float select @PageSize=v.low/1024.0 from master..spt_values v where v.number=1 and v.type='E' g.groupname g.groupid g.status & 0x08 g.status & 0x10 ISNULL((select sum(s.size * @PageSize) from dbo.sysfiles s where s.groupid = g.groupid), 0) cast(g.name as varbinary(256)) g.data_space_id g.is_read_only g.is_default ISNULL((select sum(gs.size)*convert(float,8) from sys.database_files gs where gs.data_space_id = g.data_space_id), 0) { s.type = 0 and s.database_id = db_id() and (s.drop_lsn IS NULL) create table #tmpspc (Fileid int, FileGroup int, TotalExtents int, UsedExtents int, Name sysname, FileName nchar(520)) insert #tmpspc EXEC ('dbcc showfilestats') drop table #tmpspc FILEPROPERTY(s.name, N'IsPrimaryFile') tspc.UsedExtents*convert(float,64) (tspc.TotalExtents - tspc.UsedExtents)*convert(float,64) n s.groupid = 0 s.type = 1 and s.database_id = db_id() tspclog.DatabaseName = db_name() create table #tmplogspc (DatabaseName sysname, LogSize float, SpaceUsedPerc float, Status bit) insert #tmplogspc EXEC ('dbcc sqlperf(logspace)') drop table #tmplogspc tspclog.LogSize * tspclog.SpaceUsedPerc * 10.24 1 v1.low=0 and v1.type='SRV' r.type ='R' and r.name != N'public' v1.name = r.name and v1.low = 0 v1.name v2.name r.name r.principal_id N''  log.language = l.name log.type in ('U', 'G', 'S', 'C', 'K') AND log.principal_id not between 101 and 255 AND log.name <> N'##MS_AgentSigningCertificate##' l.name = log.default_language_name sqllog.principal_id = log.principal_id sp.grantee_principal_id = log.principal_id and sp.type = N'COSQ' c.credential_id = log.credential_id cert.sid = log.sid ak.sid = log.sid log.loginname ISNULL(log.language, N'') l.alias log.dbname log.denylogin CASE WHEN 0 <> log.isntuser THEN 0 WHEN 0 <> log.isntgroup THEN 1 ELSE 2 END CASE WHEN (0 = log.isntuser AND 0 = log.isntgroup) THEN 99 WHEN (0 = log.denylogin and 0 = log.hasaccess) THEN 0 WHEN (0 = log.denylogin ) THEN 1 ELSE 2 END log.hasaccess log.sid log.createdate log.updatedate CASE log.sid WHEN 0x01 THEN 1 ELSE 0 END log.name ISNULL(log.default_language_name,N'') l.alias log.default_database_name CASE sp.state WHEN N'D' THEN 1 ELSE 0 END CASE WHEN N'U' = log.type THEN 0 WHEN N'G' = log.type THEN 1 WHEN N'S' = log.type THEN 2 WHEN N'C' = log.type THEN 3 WHEN N'K' = log.type THEN 4 END CASE WHEN (N'U' != log.type AND N'G' != log.type) THEN 99 WHEN (sp.state is null) THEN 0 WHEN (N'G'=sp.state) THEN 1 ELSE 2 END CASE WHEN (sp.state is null) THEN 0 ELSE 1 END log.sid sqllog.is_policy_checked sqllog.is_expiration_checked log.create_date log.modify_date LOGINPROPERTY(log.name, N'IsLocked') LOGINPROPERTY(log.name, N'IsExpired') LOGINPROPERTY(log.name, N'IsMustChange') log.principal_id ISNULL(c.name,N'') ISNULL(cert.name,N'') ISNULL(ak.name,N'') log.is_disabled CASE WHEN log.principal_id < 256 THEN 1 ELSE 0 END n create table #loginmappings( LoginName sysname NULL, DBName sysname NULL, UserName sysname NULL, AliasName sysname NULL ) declare @db_name nvarchar(512) declare crs cursor local fast_forward for ( select name from master.dbo.sysdatabases where 1 = has_dbaccess(name)) for ( select name from sys.databases where 1 = has_dbaccess(name)) open crs fetch crs into @db_name while @@fetch_status >= 0 begin set @db_name = quotename(@db_name) exec('use ' + @db_name + ' INSERT #loginmappings select suser_sname(u.sid), db_name(), u.name, null from dbo.sysusers u where suser_sname(u.sid) is not null') exec('use ' + @db_name + ' INSERT #loginmappings select suser_sname(u.sid), db_name(), u.name, null from sys.database_principals AS u where suser_sname(u.sid) is not null') fetch crs into @db_name end close crs deallocate crs drop table #loginmappings logmap.LoginName logmap.DBName logmap.UserName  ((u.issqlrole != 1 and u.isapprole != 1 ) or (u.sid=0x00)) and u.isaliased != 1 and u.hasdbaccess != 0 u.type in ('U', 'S', 'G', 'C', 'K') dp.grantee_principal_id = u.principal_id and dp.type = N'CO' cert.sid = u.sid ak.sid = u.sid u.name u.uid ISNULL(suser_sname(u.sid),N'') CASE WHEN u.uid = 1 OR u.uid = 16382 OR u.uid = 16383 THEN 1 ELSE 0 END CASE WHEN 0 <> u.isntuser THEN 0 WHEN 0 <> u.isntgroup THEN 1 ELSE 2 END 0 u.sid u.hasdbaccess u.createdate u.updatedate u.principal_id ISNULL(suser_sname(u.sid),N'') CASE WHEN u.principal_id < 5 OR u.principal_id = 16382 OR u.principal_id = 16383 THEN 1 ELSE 0 END CASE WHEN N'U' = u.type THEN 0 WHEN N'G' = u.type THEN 1 WHEN N'S' = u.type THEN 2 WHEN N'C' = u.type THEN 3 WHEN N'K' = u.type THEN 4 END CASE dp.state WHEN N'G' THEN 1 WHEN 'W' THEN 1 ELSE 0 END u.sid CASE WHEN N'C' = u.type THEN 1 WHEN N'K' = u.type THEN 2 WHEN N'S' = u.type AND suser_sname(u.sid) IS NULL THEN 3 ELSE 0 END ISNULL(cert.name,N'') ISNULL(ak.name,N'') u.create_date u.modify_date ISNULL(u.default_schema_name,N'') = rl.issqlrole = 1 ou.uid = rl.altuid rl.type = 'R' ou.principal_id = rl.owning_principal_id rl.name rl.uid rl.createdate rl.updatedate rl.principal_id rl.create_date rl.modify_date ou.name m rl.isapprole = 1 rl.type = 'A' rl.name rl.uid rl.createdate rl.updatedate rl.principal_id rl.default_schema_name rl.create_date rl.modify_date , create table #fixdrv ( Name sysname NOT NULL, Size int NOT NULL ) insert #fixdrv EXECUTE master.dbo.xp_fixeddrives update #fixdrv set Name = Name + ':' drop table #fixdrv Name Size / create table #fixdrv ( Name sysname NOT NULL, Size int NOT NULL ) insert #fixdrv EXECUTE master.dbo.xp_fixeddrives 1 update #fixdrv set Name = Name + ':' drop table #fixdrv Name Size 4 create table #fixdrv ( Name sysname NOT NULL, Size int NOT NULL ) insert #fixdrv EXECUTE master.dbo.xp_fixeddrives 2 update #fixdrv set Name = Name + ':' drop table #fixdrv Name Size [ create table #cdromdrv ( Name sysname NOT NULL, Size int NOT NULL ) insert #cdromdrv EXECUTE master.dbo.xp_fixeddrives 3 update #cdromdrv set Name = Name + ':' drop table #cdromdrv Name Size  create table #fixdrv ( Name sysname NOT NULL, Size int NOT NULL, Type sysname NULL ) insert #fixdrv (Name, Size) EXECUTE master.dbo.xp_fixeddrives update #fixdrv set Type = 'Fixed' where Type IS NULL insert #fixdrv (Name, Size) EXECUTE master.dbo.xp_fixeddrives 1 update #fixdrv set Type = 'Remote' where Type IS NULL insert #fixdrv (Name, Size) EXECUTE master.dbo.xp_fixeddrives 2 update #fixdrv set Type = 'Removable' where Type IS NULL insert #fixdrv (Name, Size) EXECUTE master.dbo.xp_fixeddrives 3 update #fixdrv set Type = 'CD-ROM' where Type IS NULL update #fixdrv set Name = Name + ':' drop table #fixdrv Name Size Type  create table #filetmpfin (Name nvarchar(255) NOT NULL, IsFile bit NULL) if(@Name is null) begin create table #filetmp (Name nvarchar(255) NOT NULL, depth int NOT NULL, IsFile bit NULL ) insert #filetmp EXECUTE master.dbo.xp_dirtree @Path, 1, 1 insert #filetmpfin select Name, IsFile from #filetmp f drop table #filetmp end if(NOT @Name is null) begin declare @FullName nvarchar(300) if(@Path is null) select @FullName = @Name else select @FullName = @Path + '\' + @Name create table #filetmp2 ( Exist bit NOT NULL, IsDir bit NOT NULL, DirExist bit NULL ) insert #filetmp2 EXECUTE master.dbo.xp_fileexist @FullName insert #filetmpfin select @Name, 1-IsDir from #filetmp2 where Exist = 1 or IsDir = 1 drop table #filetmp2 end drop table #filetmpfin Name @Path+'\'+Name @Path IsFile  s.name s.langid s.dateformat s.alias s.days s.datefirst s.months s.shortmonths s.upgrade s.lcid s.msglangid a! srv.srvid != 0 srv.srvid != 0 AND srv.srvname = so.srvname srv.server_id != 0 create table #tmp_srvoptions([srvname] nvarchar(255) not null, [collationcompatible] bit not null, [dataaccess] bit not null, [dist] bit not null, [dpub] bit not null, [pub] bit not null, [rpc] bit not null, [rpcout] bit not null, [sub] bit not null) declare @srvname nvarchar(255) declare @collation_compatible bit declare @data_access bit declare @dist bit declare @pub bit declare @dpub bit declare @rpc bit declare @rpc_out bit declare @sub bit create table #tmp(opt nvarchar(100)) declare srvname_cursor cursor for select srvname FROM dbo.sysservers WHERE srvid <> 0 open srvname_cursor fetch next from srvname_cursor into @srvname while @@FETCH_STATUS = 0 begin truncate table #tmp insert #tmp exec sp_serveroption @srvname set @collation_compatible = case when exists ( select * from #tmp where opt = 'collation compatible') then 1 else 0 end set @data_access = case when exists ( select * from #tmp where opt = 'data access') then 1 else 0 end set @dist = case when exists ( select * from #tmp where opt = 'dist') then 1 else 0 end set @dpub = case when exists ( select * from #tmp where opt = 'dpub') then 1 else 0 end set @pub = case when exists ( select * from #tmp where opt = 'pub') then 1 else 0 end set @rpc = case when exists ( select * from #tmp where opt = 'rpc') then 1 else 0 end set @rpc_out = case when exists ( select * from #tmp where opt = 'rpc out') then 1 else 0 end set @sub = case when exists ( select * from #tmp where opt = 'sub') then 1 else 0 end insert into #tmp_srvoptions([srvname], [collationcompatible], [dataaccess], [dist], [dpub], [pub], [rpc], [rpcout], [sub]) values (@srvname, @collation_compatible, @data_access, @dist, @dpub, @pub, @rpc, @rpc_out, @sub) fetch next from srvname_cursor into @srvname end close srvname_cursor deallocate srvname_cursor drop table #tmp drop table #tmp_srvoptions srv.srvname srv.srvid ISNULL(srv.catalog,N'') ISNULL(srv.datasource,N'') ISNULL(srv.location,N'') srv.srvproduct srv.providername null so.collationcompatible so.dataaccess so.dist so.dpub so.pub so.rpc so.rpcout so.sub srv.collationcompatible srv.dataaccess srv.dist srv.dpub srv.pub srv.rpc srv.rpcout srv.sub ISNULL(COLLATIONPROPERTYFROMID(srv.srvcollation, 'name'),N'') srv.connecttimeout srv.lazyschemavalidation srv.querytimeout srv.useremotecollation srv.name srv.server_id ISNULL(srv.catalog,N'') ISNULL(srv.data_source,N'') ISNULL(srv.location,N'') srv.product srv.provider srv.is_collation_compatible srv.is_data_access_enabled srv.is_distributor 0 srv.is_publisher srv.is_remote_login_enabled srv.is_rpc_out_enabled srv.is_subscriber ISNULL(srv.collation_name,N'') srv.connect_timeout srv.lazy_schema_validation srv.query_timeout srv.uses_remote_collation srv.modify_date null  (tbl.type='U' or tbl.type='S') idx.id = tbl.id and idx.indid < 2 idx.object_id = tbl.object_id and idx.index_id < 2 tbl.lob_data_space_id = dstext.data_space_id declare @PageSize float select @PageSize=v.low/1024.0 from master.dbo.spt_values v where v.number=1 and v.type='E' CASE WHEN (OBJECTPROPERTY(tbl.id, N'tableisfake')=1) THEN 1 ELSE 0 END @PageSize*((SELECT sum(sidx.dpages) FROM dbo.sysindexes sidx WHERE sidx.indid < 2 and sidx.id = tbl.id) + (SELECT isnull(sum(sidx.used), 0) FROM dbo.sysindexes sidx WHERE sidx.indid = 255 and sidx.id = tbl.id)) @PageSize*(SELECT sum(isnull(sidx.used,0)-isnull(sidx.dpages,0)) FROM dbo.sysindexes sidx WHERE sidx.indid < 2 and sidx.id = tbl.id) CASE idx.indid WHEN 1 THEN 1 ELSE 0 END ISNULL((SELECT top 1 s.groupname FROM dbo.sysfilegroups s, dbo.sysindexes i WHERE i.id = tbl.id and i.indid in (0,1)AND i.groupid = s.groupid), N'') tbl.replinfo idx.rows OBJECTPROPERTY(tbl.id,N'IsAnsiNullsOn') OBJECTPROPERTY(tbl.id,N'IsQuotedIdentOn') idx.rowcnt CASE idx.index_id WHEN 1 THEN 1 ELSE 0 END ISNULL(dstext.name,N'') tbl.is_replicated ISNULL( ( select sum (spart.rows) from sys.partitions spart where spart.object_id = tbl.object_id and spart.index_id < 2), 0) tbl.uses_ansi_nulls OBJECTPROPERTY(tbl.object_id,N'IsQuotedIdentOn') 0 ISNULL((select @PageSize * SUM(CASE WHEN a.type <> 1 THEN a.used_pages WHEN p.index_id < 2 THEN a.data_pages ELSE 0 END) FROM sys.indexes as i JOIN sys.partitions as p ON p.object_id = i.object_id and p.index_id = i.index_id JOIN sys.allocation_units as a ON a.container_id = p.partition_id where i.object_id = tbl.object_id),0.0) ISNULL((select @PageSize * SUM(a.used_pages - CASE WHEN a.type <> 1 THEN a.used_pages WHEN p.index_id < 2 THEN a.data_pages ELSE 0 END) FROM sys.indexes as i JOIN sys.partitions as p ON p.object_id = i.object_id and p.index_id = i.index_id JOIN sys.allocation_units as a ON a.container_id = p.partition_id where i.object_id = tbl.object_id),0.0)  v.type = 'V' v.type = 'V' 0 v.has_opaque_metadata  sp.xtype = N'P' OR sp.xtype = N'RF' sp.type = N'P' OR sp.type = N'RF' OR sp.type='PC' spp.object_id = sp.object_id OBJECTPROPERTY(sp.id, N'ExecIsStartup') CASE sp.xtype WHEN N'RF' THEN 1 ELSE 0 END 1 ISNULL(spp.is_auto_executed,0) CASE sp.type WHEN N'RF' THEN 1 ELSE 0 END CASE WHEN sp.type = N'P' THEN 1 WHEN sp.type = N'PC' THEN 2 ELSE 1 END  lnklgn.ishqoutmap = 1 lnklgn.sid=xlnklgn.sid and ISNULL(xlnklgn.ishqoutmap,0) = 0 ll.local_principal_id = sp.principal_id ISNULL(xlnklgn.name, '') ISNULL(lnklgn.name, N'') convert(bit,lnklgn.selfoutmap) ISNULL(sp.name, '') ISNULL(ll.remote_name, N'') ll.uses_self_credential ll.modify_date l create table #SmoMemberTemp ( role_col sysname NOT NULL, mem_col sysname NOT NULL, id_col varbinary(85) ) insert into #SmoMemberTemp (role_col, mem_col, id_col) exec master.dbo.sp_helpsrvrolemember drop table #SmoMemberTemp p.principal_id = m.member_principal_id lgnmb.mem_col p.name ^) create table #tmp_sp_get_sqlagent_properties (auto_start int null, msx_server_name sysname null, sqlagent_type int null, startup_account nvarchar(255) null, sqlserver_restart int null, jobhistory_max_rows int null, jobhistory_max_rows_per_job int null, errorlog_file nvarchar(255) null, errorlogging_level int null, error_recipient nvarchar(30) null, monitor_autostart int null, local_host_server sysname null, job_shutdown_timeout int null, cmdexec_account varbinary(64) null, regular_connections int null, host_login_name nvarchar(128) null, host_login_password varbinary(512) null, login_timeout int null, idle_cpu_percent int null, idle_cpu_duration int null, oem_errorlog int null, sysadmin_only int null, email_profile nvarchar(64) null, email_save_in_sent_folder int null, cpu_poller_enabled int null) insert into #tmp_sp_get_sqlagent_properties(auto_start, msx_server_name, sqlagent_type, startup_account, sqlserver_restart, jobhistory_max_rows, jobhistory_max_rows_per_job, errorlog_file, errorlogging_level, error_recipient, monitor_autostart, local_host_server, job_shutdown_timeout, cmdexec_account, regular_connections, host_login_name, host_login_password, login_timeout, idle_cpu_percent, idle_cpu_duration, oem_errorlog, sysadmin_only, email_profile, email_save_in_sent_folder, cpu_poller_enabled) exec msdb.dbo.sp_get_sqlagent_properties create table #tmpMsxAccountName ( domain nvarchar(255) null, username nvarchar(255) null) if ( ( (@@microsoftversion / power(2, 24) = 8) and (@@microsoftversion & 0xffff >= 760) ) or (@@microsoftversion / power(2, 24) > 8)) begin insert into #tmpMsxAccountName(domain, username) exec master.dbo.xp_sqlagent_msx_account N'GET' end create table #tmp_sp_get_sqlagent_properties (auto_start int null, msx_server_name sysname null, sqlagent_type int null, startup_account nvarchar(255) null, sqlserver_restart int null, jobhistory_max_rows int null, jobhistory_max_rows_per_job int null, errorlog_file nvarchar(255) null, errorlogging_level int null, error_recipient nvarchar(30) null, monitor_autostart int null, local_host_server sysname null, job_shutdown_timeout int null, cmdexec_account varbinary(64) null, regular_connections int null, host_login_name nvarchar(128) null, host_login_password varbinary(512) null, login_timeout int null, idle_cpu_percent int null, idle_cpu_duration int null, oem_errorlog int null, sysadmin_only int null, email_profile nvarchar(64) null, email_save_in_sent_folder int null, cpu_poller_enabled int null, replace_alert_tokens_enabled int null) insert into #tmp_sp_get_sqlagent_properties(auto_start, msx_server_name, sqlagent_type, startup_account, sqlserver_restart, jobhistory_max_rows, jobhistory_max_rows_per_job, errorlog_file, errorlogging_level, error_recipient, monitor_autostart, local_host_server, job_shutdown_timeout, cmdexec_account, regular_connections, host_login_name, host_login_password, login_timeout, idle_cpu_percent, idle_cpu_duration, oem_errorlog, sysadmin_only, email_profile, email_save_in_sent_folder, cpu_poller_enabled, replace_alert_tokens_enabled) exec msdb.dbo.sp_get_sqlagent_properties create table #tmpMsxAccountName (msx_connection int null, msx_credential_id int null, msx_credential_name nvarchar(300) null, msx_login_name nvarchar(300) null) insert into #tmpMsxAccountName(msx_connection, msx_credential_id, msx_credential_name, msx_login_name) exec msdb.dbo.sp_msx_get_account declare @DatabaseMailProfile nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'DatabaseMailProfile', @param = @DatabaseMailProfile OUT, @no_output = N'no_output' declare @AgentMailType int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'UseDatabaseMail', @param = @AgentMailType OUT, @no_output = N'no_output' drop table #tmp_sp_get_sqlagent_properties drop table #tmpMsxAccountName @@SERVERNAME serverproperty(N'Servername') ISNULL(tsgsp.msx_server_name,N'') tsgsp.sqlagent_type tsgsp.sqlserver_restart tsgsp.monitor_autostart tsgsp.jobhistory_max_rows tsgsp.jobhistory_max_rows_per_job tsgsp.errorlog_file tsgsp.errorlogging_level ISNULL(tsgsp.error_recipient,N'') tsgsp.job_shutdown_timeout ISNULL(tsgsp.email_profile,N'') tsgsp.email_save_in_sent_folder tsgsp.oem_errorlog tsgsp.cpu_poller_enabled tsgsp.idle_cpu_percent tsgsp.idle_cpu_duration tsgsp.login_timeout ISNULL(tsgsp.host_login_name,N'') ISNULL(tsgsp.local_host_server,N'') tsgsp.auto_start ISNULL((select top 1 ISNULL(domain + N'\', N'') + username as [UserName] from #tmpMsxAccountName),N'') tsgsp.sysadmin_only tsgsp.replace_alert_tokens_enabled ISNULL((select top 1 msx_login_name from #tmpMsxAccountName),N'') ISNULL((select top 1 msx_credential_name from #tmpMsxAccountName),N'') ISNULL(@DatabaseMailProfile,N'') ISNULL(@AgentMailType, 0) 1 e$ i.indid > 0 and i.indid < 255 and 1 != INDEXPROPERTY(i.id,i.name,N'IsStatistics') and 1 != INDEXPROPERTY(i.id,i.name,N'IsHypothetical') k.parent_obj = i.id AND k.name = i.name AND k.xtype IN (N'PK', N'UQ') i.index_id > 0 and i.is_hypothetical = 0 s.stats_id = i.index_id AND s.object_id = i.object_id k.parent_object_id = i.object_id AND k.unique_index_id = i.index_id xi.object_id = i.object_id AND xi.index_id = i.index_id xi2.object_id = xi.object_id AND xi2.index_id = xi.using_xml_index_id declare @PageSize float select @PageSize=v.low/1024.0 from master.dbo.spt_values v where v.number=1 and v.type='E' i.name i.indid OBJECTPROPERTY(i.id,N'IsMSShipped') INDEXPROPERTY(i.id,i.name,N'IsFulltextKey') CASE WHEN (i.status & 0x1000000) <> 0 THEN 1 ELSE 0 END INDEXPROPERTY(i.id,i.name,N'IndexFillFactor') CASE WHEN (i.indid = 1) THEN (i.used - i.dpages - ISNULL((SELECT SUM(j.used) FROM dbo.sysindexes AS j WHERE (j.indid > 1) AND (j.indid < 255) AND (j.id = i.id) AND (j.name = i.name)), 0)) * @PageSize ELSE i.used * @PageSize END CASE i.indid WHEN 1 THEN 1 ELSE 0 END CASE WHEN 0 != i.status&0x800 THEN 1 WHEN 0 != i.status&0x1000 THEN 2 ELSE 0 END i.status&2 CASE WHEN 0 != (i.status&0x01) THEN 1 ELSE 0 END INDEXPROPERTY(i.id, i.name, N'IsRowLockDisallowed') INDEXPROPERTY(i.id, i.name, N'IsPageLockDisallowed') INDEXPROPERTY(i.id, i.name, N'IsPadIndex') ISNULL(k.status & 4, 0) i.name i.index_id OBJECTPROPERTY(i.object_id,N'IsMSShipped') INDEXPROPERTY(i.object_id,i.name,N'IsFulltextKey') s.no_recompute i.fill_factor ISNULL((select @PageSize * SUM(a.used_pages - CASE WHEN a.type <> 1 THEN a.used_pages WHEN p.index_id < 2 THEN a.data_pages ELSE 0 END) FROM sys.partitions as p JOIN sys.allocation_units as a ON a.container_id = p.partition_id WHERE p.object_id = i.object_id AND p.index_id = i.index_id),0.0) CASE i.index_id WHEN 1 THEN 1 ELSE 0 END i.is_primary_key + 2*i.is_unique_constraint i.is_unique i.ignore_dup_key ~i.allow_row_locks ~i.allow_page_locks INDEXPROPERTY(i.object_id, i.name, N'IsPadIndex') i.is_disabled case when i.type=3 then 1 else 0 end case UPPER(ISNULL(xi.secondary_type,'')) when 'P' then 1 when 'V' then 2 when 'R' then 3 else 0 end ISNULL(xi2.name, N'') ISNULL(k.is_system_named, 0) clmns.id = ic.id and clmns.colid = ic.colid and clmns.number = 0 ic.column_id > 0 and (ic.key_ordinal > 0 or ic.partition_ordinal = 0) clmns.object_id = ic.object_id and clmns.column_id = ic.column_id clmns.name ic.keyno COLUMNPROPERTY(ic.id, clmns.name, N'IsComputed') INDEXKEY_PROPERTY(ic.id, ic.indid, ic.keyno, N'IsDescending') clmns.name (case ic.key_ordinal when 0 then cast(1 as tinyint) else ic.key_ordinal end) COLUMNPROPERTY(ic.object_id, clmns.name, N'IsComputed') ic.is_descending_key ic.is_included_column  sp.proxy_id = tshj.proxy_id create table #tmp_sp_help_proxy (proxy_id int null, name nvarchar(300) null, credential_identity nvarchar(300) null, enabled tinyint null, description nvarchar(max) null, user_sid binary(200) null, credential_id int null, credential_identity_exists int null) insert into #tmp_sp_help_proxy(proxy_id, name, credential_identity, enabled, description, user_sid, credential_id, credential_identity_exists) exec msdb.dbo.sp_help_proxy drop table #tmp_sp_help_proxy drop table #tmp_sp_help_jobstep tshj.step_name tshj.step_id CASE LOWER(tshj.subsystem) when 'tsql' THEN 1 WHEN 'activescripting' THEN 2 WHEN 'cmdexec' THEN 3 WHEN 'snapshot' THEN 4 WHEN 'logreader' THEN 5 WHEN 'distribution' THEN 6 WHEN 'merge' THEN 7 WHEN 'queuereader' THEN 8 WHEN 'analysisquery' THEN 9 WHEN 'analysiscommand' THEN 10 WHEN 'dts' THEN 11 WHEN 'ssis' THEN 11 ELSE 0 END ISNULL(tshj.command,N'') ISNULL(tshj.command,N'') tshj.cmdexec_success_code tshj.on_success_action tshj.on_success_step_id tshj.on_fail_action tshj.on_fail_step_id ISNULL(tshj.server,N'') ISNULL(tshj.database_name,N'') ISNULL(tshj.database_user_name,N'') tshj.retry_attempts tshj.retry_interval tshj.os_run_priority ISNULL(tshj.output_file_name,N'') tshj.last_run_outcome tshj.last_run_duration tshj.last_run_retries null tshj.flags ISNULL(sp.name,N'')  drop table #jobstep_outputlog_tmp tjsol.job_id tjsol.job_name tjsol.step_id tjsol.step_name tjsol.step_uid tjsol.date_created tjsol.date_modified tjsol.log_size tjsol.log A drop table #tmp_sp_help_jobschedule tshj.schedule_name tshj.schedule_id tshj.date_created tshj.enabled tshj.freq_type tshj.freq_interval tshj.freq_subday_type tshj.freq_subday_interval tshj.freq_relative_interval tshj.freq_recurrence_factor null 0 0 null (SELECT COUNT(*) FROM msdb.dbo.sysjobschedules as js WHERE (js.schedule_id = tshj.schedule_id)) tshj.job_count 0 create table #tmp_sp_help_schedule (schedule_id int null, schedule_uid uniqueidentifier null, schedule_name nvarchar(128) null, enabled int null, freq_type int null, freq_interval int null, freq_subday_type int null, freq_subday_interval int null, freq_relative_interval int null, freq_recurrence_factor int null, active_start_date int null, active_end_date int null, active_start_time int null, active_end_time int null, date_created datetime null, schedule_description nvarchar(4000) null, job_count int null) insert into #tmp_sp_help_schedule exec msdb.dbo.sp_help_schedule drop table #tmp_sp_help_schedule tshs.schedule_name tshs.schedule_id tshs.date_created tshs.enabled tshs.freq_type tshs.freq_interval tshs.freq_subday_type tshs.freq_subday_interval tshs.freq_relative_interval tshs.freq_recurrence_factor null 0 0 null tshs.job_count sjs.name sjs.schedule_id sjs.date_created convert(bit,sjs.enabled) sjs.freq_type sjs.freq_interval sjs.freq_subday_type sjs.freq_subday_interval sjs.freq_relative_interval sjs.freq_recurrence_factor cast(null as datetime) 0 cast(null as datetime) 0 (SELECT COUNT(*) FROM msdb.dbo.sysjobschedules as js WHERE (js.schedule_id = sjs.schedule_id)) f declare @command nvarchar(300) select @command = 'dbcc checkprimaryfile (N'''+ @fileName + ''' , 2)' create table #smoPrimaryFileProp(property sql_variant NULL, value sql_variant NULL) insert #smoPrimaryFileProp exec (@command) drop table #smoPrimaryFileProp rtrim(@fileName) p.property p.value 4 create table #OLEDBProv ( Name sysname NOT NULL, ParseName sysname NOT NULL,Description sysname NOT NULL ) insert #OLEDBProv EXECUTE master.dbo.xp_enum_oledb_providers drop table #OLEDBProv op.Name op.ParseName op.Description & drop table #OLEDBProvProp prop.Name prop.ID prop.Description prop.Flags  declare @command nvarchar(300) select @command = 'dbcc checkprimaryfile (N''' + @fileName + ''' , 3)' create table #SmoPrimayChildren(status INT,fileid INT,name sysname,filename nvarchar(512)) insert #SmoPrimayChildren exec (@command) drop table #SmoPrimayChildren s.name s.fileid case when (s.status & 0x40) = 0 then 1 else 0 end RTRIM(s.filename) p @@SERVERNAME serverproperty(N'Servername') ISNULL(serverproperty(N'instancename'),N'')  cstr.type = 'C'  tr.type = 'TR' tr.type in ('TR', 'TA') trr.object_id = tr.object_id tei.object_id = tr.object_id and tei.type=1 teu.object_id = tr.object_id and teu.type=2 ted.object_id = tr.object_id and ted.type=3 mod.object_id = tr.object_id asmbl.assembly_id = mod.assembly_id 1-OBJECTPROPERTY(tr.id,N'ExecIsTriggerDisabled') OBJECTPROPERTY(tr.id, N'ExecIsInsteadOfTrigger') OBJECTPROPERTY(tr.id,N'ExecIsInsertTrigger') CASE WHEN OBJECTPROPERTY(tr.id, N'ExecIsFirstInsertTrigger') = 1 THEN 0 WHEN OBJECTPROPERTY(tr.id, N'ExecIsLastInsertTrigger') = 1 THEN 2 ELSE 1 END OBJECTPROPERTY(tr.id,N'ExecIsUpdateTrigger') CASE WHEN OBJECTPROPERTY(tr.id, N'ExecIsFirstUpdateTrigger') = 1 THEN 0 WHEN OBJECTPROPERTY(tr.id, N'ExecIsLastUpdateTrigger') = 1 THEN 2 ELSE 1 END OBJECTPROPERTY(tr.id,N'ExecIsDeleteTrigger') CASE WHEN OBJECTPROPERTY(tr.id, N'ExecIsFirstDeleteTrigger') = 1 THEN 0 WHEN OBJECTPROPERTY(tr.id, N'ExecIsLastDeleteTrigger') = 1 THEN 2 ELSE 1 END OBJECTPROPERTY(tr.id,N'ExecIsTriggerNotForRepl') 1 ~trr.is_disabled trr.is_instead_of_trigger ISNULL(tei.object_id,0) CASE WHEN tei.is_first = 1 THEN 0 WHEN tei.is_last = 1 THEN 2 ELSE 1 END ISNULL(teu.object_id,0) CASE WHEN teu.is_first = 1 THEN 0 WHEN teu.is_last = 1 THEN 2 ELSE 1 END ISNULL(ted.object_id,0) CASE WHEN ted.is_first = 1 THEN 0 WHEN ted.is_last = 1 THEN 2 ELSE 1 END trr.is_not_for_replication CASE WHEN tr.type = N'TR' THEN 1 WHEN tr.type = N'TA' THEN 2 ELSE 1 END udf.xtype in ( 'TF', 'FN', 'IF') and udf.name not like N'#%%' ret_param.id = udf.id and ret_param.number = 0 and ret_param.name='' udf.type in ('TF', 'FN', 'IF', 'FS', 'FT') ret_param.object_id = udf.object_id and ret_param.is_output = 1 OBJECTPROPERTY(udf.id, N'IsDeterministic') (case when 1 = OBJECTPROPERTY(udf.id, N'IsScalarFunction') then 1 when 1 = OBJECTPROPERTY(udf.id, N'IsInlineFunction') then 3 when 1 = OBJECTPROPERTY(udf.id, N'IsTableFunction') then 2 else 0 end) 1 OBJECTPROPERTYEX(udf.object_id, N'IsDeterministic') (case when 'FN' = udf.type then 1 when 'FS' = udf.type then 1 when 'IF' = udf.type then 3 when 'TF' = udf.type then 2 when 'FT' = udf.type then 2 else 0 end) CASE WHEN udf.type IN ('FN','IF','TF') THEN 1 WHEN udf.type IN ('FS','FT') THEN 2 ELSE 1 END ret_param.name & ik.id = clmns.id and 0 != ik.status & 0x0800 cik.indid = ik.indid and cik.colid = clmns.colid and cik.id = clmns.id d.id = clmns.cdefault and 0=d.category & 0x0800 r.id = clmns.domain ic.object_id = clmns.object_id and ic.column_id = clmns.column_id cc.object_id = clmns.object_id and cc.column_id = clmns.column_id ik.object_id = clmns.object_id and 1=ik.is_primary_key cik.index_id = ik.index_id and cik.column_id = clmns.column_id and cik.object_id = clmns.object_id and 0 = cik.is_included_column d.object_id = clmns.default_object_id r.object_id = clmns.rule_object_id clmns.name clmns.colid clmns.isnullable clmns.iscomputed ISNULL(cik.colid, 0) COLUMNPROPERTY(clmns.id, clmns.name, N'UsesAnsiTrim') clmns.colstat & 2 clmns.colstat & 8 COLUMNPROPERTY(clmns.id, clmns.name, N'IsFulltextIndexed') cast(clmns.id as nvarchar(20)) + '_' + cast(clmns.colid as nvarchar(20)) + '_' + cast(db_id() as nvarchar(20)) + '_0' COLUMNPROPERTY(clmns.id, clmns.name, N'IsIdentity') ISNULL((select top 1 1 from dbo.sysforeignkeys AS colfk where colfk.fkey = clmns.colid and colfk.fkeyid = clmns.id), 0) ISNULL(clmns.collation, N'') (case when clmns.cdefault = 0 then N'' else d.name end) (case when clmns.cdefault = 0 then N'' else user_name(d.uid) end) (case when clmns.domain = 0 then N'' else r.name end) (case when clmns.domain = 0 then N'' else user_name(r.uid) end) clmns.name clmns.column_id clmns.is_nullable clmns.is_computed ISNULL(cik.index_column_id, 0) clmns.is_ansi_padded clmns.is_rowguidcol ISNULL(ic.is_not_for_replication, 0) COLUMNPROPERTY(clmns.object_id, clmns.name, N'IsFulltextIndexed') ISNULL(cc.definition,N'') ISNULL(cc.is_persisted, 0) ISNULL(clmns.collation_name, N'') ISNULL((select TOP 1 1 from sys.foreign_key_columns AS colfk where colfk.parent_column_id = clmns.column_id and colfk.parent_object_id = clmns.object_id), 0) clmns.is_identity ISNULL(ic.seed_value,0) ISNULL(ic.increment_value,0) (case when clmns.default_object_id = 0 then N'' when d.parent_object_id > 0 then N'' else d.name end) (case when clmns.default_object_id = 0 then N'' when d.parent_object_id > 0 then N'' else schema_name(d.schema_id) end) (case when clmns.rule_object_id = 0 then N'' else r.name end) (case when clmns.rule_object_id = 0 then N'' else schema_name(r.schema_id) end)  sv.category_id = tshc.category_id tsho_e.id = sv.notify_email_operator_id tsho_ns.id = sv.notify_netsend_operator_id tsho_p.id = sv.notify_page_operator_id create table #tmp_sp_help_category (category_id int null, category_type tinyint null, name nvarchar(128) null) insert into #tmp_sp_help_category exec msdb.dbo.sp_help_category create table #tmp_sp_help_operator (id int null, name nvarchar(128) null, enabled tinyint null, email_address nvarchar(100) null, last_email_date int null, last_email_time int null, pager_address nvarchar(100) null, last_pager_date int null, last_pager_time int null, weekday_pager_start_time int null, weekday_pager_end_time int null, saturday_pager_start_time int null, saturday_pager_end_time int null, sunday_pager_start_time int null, sunday_pager_end_time int null, pager_days tinyint null, netsend_address nvarchar(100) null, last_netsend_date int null, last_netsend_time int null, category_name nvarchar(128) null) insert into #tmp_sp_help_operator exec msdb.dbo.sp_help_operator drop table #tmp_sp_help_operator drop table #tmp_sp_help_category sv.name sv.job_id sv.originating_server sv.enabled ISNULL(sv.description,N'') sv.start_step_id ISNULL(suser_sname(sv.owner_sid), N'') sv.notify_level_eventlog sv.notify_level_email sv.notify_level_netsend sv.notify_level_page sv.delete_level sv.date_created sv.date_modified sv.version_number tshc.name ISNULL(tsho_e.name,N'') ISNULL(tsho_ns.name,N'') ISNULL(tsho_p.name,N'') null null null null null null null null null null null  declare @Arg sysname declare @Param sysname declare @n int select @n=0 select @Param='dummy' create table #srvargs (value nvarchar(512) NOT NULL) while(not @Param is null) begin select @Param=null select @Arg='SqlArg'+convert(nvarchar,@n) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer\Parameters', @Arg, @Param OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer\Parameters', @Arg, @Param OUTPUT insert #srvargs select @Param where not @Param is null select @n=@n+1 end drop table #srvargs arg.value O u.uid = m.id drop table #tmp_role_member_ids u.principal_id = m.id drop table #tmp_role_member_ids u.name u.uid suser_sname(u.sid) u.principal_id suser_sname(u.sid) / 'Server[@Name=' + quotename(@@SERVERNAME,'''') + ']/Database[@Name=' + quotename(db_name(),'''') + ']/' + (case when (uob.sysstat & 0xf) = 0 then 'UserDefinedFunction' when (uob.sysstat & 0xf) = 1 or (uob.sysstat & 0xf) = 3 then 'Table' when (uob.sysstat & 0xf) = 2 then 'View' when (uob.sysstat & 0xf) = 4 then 'StoredProcedure' when (uob.sysstat & 0xf) = 6 then 'Default' when (uob.sysstat & 0xf) = 7 then 'Rule' when (uob.sysstat & 0xf) = 8 then 'Trigger' when (uob.sysstat & 0xf) = 9 then 'PrimaryKey' when (uob.sysstat & 0xf) = 10 then 'Check' when (uob.sysstat & 0xf) = 11 then 'ForeignKey' when (uob.sysstat & 0xf) = 12 then 'UserDefinedDataType' else 'Unknown' end) + '[@Name='+quotename(uob.name,'''')+']' 'Server[@Name=' + quotename(cast(serverproperty(N'Servername') as sysname),'''') + ']/Database[@Name=' + quotename(db_name(),'''') + ']/' + (case when (uob.sysstat & 0xf) = 0 then 'UserDefinedFunction' when (uob.sysstat & 0xf) = 1 or (uob.sysstat & 0xf) = 3 then 'Table' when (uob.sysstat & 0xf) = 2 then 'View' when (uob.sysstat & 0xf) = 4 then 'StoredProcedure' when (uob.sysstat & 0xf) = 6 then 'Default' when (uob.sysstat & 0xf) = 7 then 'Rule' when (uob.sysstat & 0xf) = 8 then 'Trigger' when (uob.sysstat & 0xf) = 9 then 'PrimaryKey' when (uob.sysstat & 0xf) = 10 then 'Check' when (uob.sysstat & 0xf) = 11 then 'ForeignKey' when (uob.sysstat & 0xf) = 12 then 'UserDefinedDataType' else 'Unknown' end) + '[@Name='+quotename(uob.name,'''')+']' uob.name uob.id user_name(uob.uid) uob.crdate (uob.sysstat & 0xf)  drop table #tmpntgrp t.name t.description j create table #tmpntlogin ( [Account name] sysname NULL, Type sysname NULL, [Privilege] sysname NULL, [Mapped login name] sysname NULL, [Permission path] sysname NULL) insert into #tmpntlogin exec master.dbo.xp_logininfo drop table #tmpntlogin [Account name] Type [Privilege] [Mapped login name] [Permission path] k obj.xtype=N'R' obj.type=N'R' and (0 = obj.parent_object_id or obj.parent_object_id is null) v   v.type = 'C ' and not cfg.status is null and v.number = cfg.config ucfg.config = cfg.config v.name v.number v.low v.high cfg.status & 1 cfg.status & 2 ucfg.value cfg.value cfg.comment cfg.name cfg.configuration_id cfg.minimum cfg.maximum cfg.is_dynamic cfg.is_advanced cfg.value cfg.value_in_use cfg.description  obj.xtype=N'D' and obj.name not like N'#%%' and 0=(obj.category & 0x0800) obj.type=N'D' and not(obj.parent_object_id > 0)  st.xusertype != st.xtype and st.name != N'sysname' def.id = st.tdefault rul.id = st.domain st.schema_id!=4 and st.system_type_id!=240 and st.user_type_id != st.system_type_id def.object_id = st.default_object_id rul.object_id = st.rule_object_id st.xusertype st.user_type_id st.length st.allownulls st.variable (case when st.tdefault = 0 then N'' else def.name end) (case when st.tdefault = 0 then N'' else user_name(def.uid) end) (case when st.domain = 0 then N'' else rul.name end) (case when st.domain = 0 then N'' else user_name(rul.uid) end) st.collation st.max_length st.is_nullable (case when st.default_object_id = 0 then N'' else def.name end) (case when st.default_object_id = 0 then N'' else schema_name(def.schema_id) end) (case when st.rule_object_id = 0 then N'' else rul.name end) (case when st.rule_object_id = 0 then N'' else schema_name(rul.schema_id) end) st.collation_name CASE WHEN baset.name IN ( N'varchar', N'varbinary', N'nvarchar' ) THEN 1 ELSE 0 END cstr.type=N'F' rfr.constid = cstr.id ki.indid = rfr.rkeyindid AND ki.id = rfr.rkeyid rfr.rkeyid = rtbl.id ki.index_id = cstr.key_index_id and ki.object_id = cstr.referenced_object_id rtbl.object_id = cstr.referenced_object_id ki.name rtbl.name user_name(rtbl.uid) OBJECTPROPERTY(cstr.id, N'CnstIsDeleteCascade') OBJECTPROPERTY(cstr.id, N'CnstIsUpdateCascade') ki.name rtbl.name schema_name(rtbl.schema_id) cstr.delete_referential_action cstr.update_referential_action  param.number = 1 or (param.number = 0 and 1 = OBJECTPROPERTY(param.id, N'IsScalarFunction') and isnull(param.name, '') != '') param.is_output = 0 ! t.id = c.id and t.type = 'U' t.object_id = c.object_id c.name t.name user_name(t.uid) schema_name(t.schema_id)  @@OPTIONS & 1 @@OPTIONS & 2 @@OPTIONS & 4 @@OPTIONS & 8 @@OPTIONS & 16 @@OPTIONS & 32 @@OPTIONS & 64 @@OPTIONS & 128 @@OPTIONS & 256 @@OPTIONS & 512 @@OPTIONS & 1024 @@OPTIONS & 2048 @@OPTIONS & 4096 @@OPTIONS & 8192 @@OPTIONS & 16384  st.xusertype = st.xtype or st.name=N'sysname' st.schema_id=4 CASE WHEN st.name IN (N'decimal', N'numeric') THEN 1 ELSE 0 END CASE WHEN st.name IN ( N'varchar', N'varbinary', N'nvarchar' ) THEN 1 ELSE 0 END CASE WHEN st.name IN (N'decimal', N'int', N'numeric', N'smallint', N'tinyint', N'bigint') THEN 1 ELSE 0 END CASE WHEN st.name IN ( N'char', N'varchar', N'binary', N'varbinary', N'nchar', N'nvarchar' ) THEN 1 ELSE 0 END st.allownulls CASE WHEN st.name IN (N'char', N'varchar', N'binary', N'varbinary', N'nchar', N'nvarchar') THEN st.prec ELSE st.length END st.xprec st.xscale ISNULL(st.collation,N'') st.is_nullable CASE WHEN st.name IN (N'nchar', N'nvarchar') THEN st.max_length/2 ELSE st.max_length END ISNULL(st.collation_name,N'') st.user_type_id st.precision st.scale  (o.status & 0x10) <> 0 o.name o.phyname o.cntrltype o.status & 0x08  xproc.xtype='X' xproc.type='X' >     OBJECTPROPERTY({0}.id,N'ExecIsAnsiNullsOn') OBJECTPROPERTY({0}.id,N'ExecIsQuotedIdentOn') OBJECTPROPERTY({0}.id, N'IsSchemaBound') (SELECT TOP 1 encrypted FROM dbo.syscomments p WHERE {0}.id = p.id AND p.colid=1 and p.number < 2) {0}.status & 4 CASE WHEN ISNULL({0}.definition, s{0}.definition) IS NULL THEN 1 ELSE 0 END ISNULL({0}.is_recompiled, s{0}.is_recompiled) Y   Y 4 cstr.xtype='D' and cstr.name not like N'#%%' and 0!=convert(bit,cstr.category & 0x0800) m c.colid case when c.number > 1 then c.number else 0 end c.text cast(c.id as nvarchar(20)) + N'_' + cast(db_id() as nvarchar(20)) + N'_' + cast(case when c.number > 1 then c.number else 0 end as nvarchar(20)) A  (st.indid <> 0 and st.indid <> 255) and 0 = OBJECTPROPERTY(st.id,N'IsMSShipped') st.name st.indid case when (st.status & 16777216) <> 0 then 1 else 0 end STATS_DATE(st.id, st.indid) 1 - INDEXPROPERTY(st.id,st.name,N'IsStatistics') INDEXPROPERTY(st.id,st.name,N'IsAutoStatistics') '' st.stats_id st.no_recompute STATS_DATE(st.object_id, st.stats_id) 1 - INDEXPROPERTY(st.object_id,st.name,N'IsStatistics') st.auto_created '' null ~ cl.name COLLATIONPROPERTY(name, 'CodePage') COLLATIONPROPERTY(name, 'LCID') COLLATIONPROPERTY(name, 'ComparisonStyle') cl.description ) l.req_mode = v.number and v.type = N'L' and db_id() = l.rsc_dbid l.req_spid v.name db_name(l.rsc_dbid) object_name(l.rsc_objid) object_name(l.rsc_indid) l.req_status [ create table #err_log_tmp(ArchiveNo int, CreateDate nvarchar(24)) create table #err_log_tmp(ArchiveNo int, CreateDate nvarchar(24), Size int) insert #err_log_tmp exec master.dbo.sp_enumerrorlogs drop table #err_log_tmp er.ArchiveNo er.ArchiveNo CONVERT(datetime, er.CreateDate, 101) er.Size  create table #err_log_text_tmp_final(Text nvarchar(4000), ArchiveNo int null, LogDate datetime null, ProcessInfo nvarchar(100) null) declare @text_offset int declare @process_info_length int set @text_offset = 34 set @process_info_length = 10 drop table #err_log_text_tmp_final ert.LogDate ert.ProcessInfo ert.Text v  r.session_id = p.session_id pr.spid = p.session_id p.spid p.spid suser_sname(p.sid) p.hostname p.status p.cmd db_name(p.dbid) p.cpu p.memusage p.blocked case when p.spid < 51 then 1 else 0 end p.session_id p.session_id p.login_name p.host_name r.status r.command db_name(r.database_id) p.cpu_time p.memory_usage r.blocking_session_id ~p.is_user_process p.program_name 0 p.ecid pr.ecid  v.number = l.mode AND v.type = N'L' v2.number = l.ltype AND v2.type = N'LR' CREATE TABLE #t(spid int, mode int, dbid int NULL, objid int, objid2 int, indid int, status tinyint, ltype tinyint, objname sysname NULL, indname sysname NULL, dbname sysname NULL, sch sysname NULL) INSERT #t SELECT spid = req_spid, mode = req_mode, dbid=rsc_dbid, objid=l.rsc_objid, objid2=l.rsc_objid, indid=l.rsc_indid, status = l.req_status, ltype = l.rsc_type, objname=NULL, indname=NULL, dbname = NULL, sch = NULL FROM master.dbo.syslockinfo l WHERE rsc_dbid != db_id('tempdb') OR rsc_objid != object_id('#t') update #t set dbname = d.name FROM #t t LEFT OUTER JOIN master.dbo.sysdatabases d ON d.dbid = t.dbid update #t set dbname = d.name FROM #t t LEFT OUTER JOIN sys.databases d ON d.database_id = t.dbid update #t set objid2 = -objid2 where dbname is null DECLARE name_cursor CURSOR FOR select t.dbid, t.dbname FROM #t t GROUP BY t.dbid, t.dbname OPEN name_cursor DECLARE @dbid int DECLARE @dbname sysname DECLARE @sql nvarchar(1000) FETCH NEXT FROM name_cursor INTO @dbid, @dbname WHILE (@@FETCH_STATUS <> -1) BEGIN IF (@@FETCH_STATUS <> -2) BEGIN SELECT @sql = 'use ' + quotename(@dbname) + ' update #t set objname = o.name, indname = i.name, sch=user_name(o.uid) FROM #t AS t '+ 'LEFT JOIN dbo.sysobjects AS o ON o.id = t.objid LEFT OUTER JOIN dbo.sysindexes AS i ON i.id = t.objid AND i.indid = t.indid '+ 'WHERE t.ltype in (4,5) AND t.dbid = ' + CAST(@dbid AS NVARCHAR(20)) IF( NOT @dbname IS NULL )--resource database SELECT @sql = 'use ' + quotename(@dbname) ELSE SELECT @sql = '' SELECT @sql = @sql + ' update #t set objname = o.name, indname = i.name, sch=schema_name(o.schema_id) FROM #t AS t '+ 'LEFT JOIN sys.all_objects AS o ON o.object_id = t.objid2 LEFT OUTER JOIN sys.indexes AS i ON i.object_id = t.objid2 AND i.index_id = t.indid '+ 'WHERE t.ltype in (4,5) AND t.dbid = ' + CAST(@dbid AS NVARCHAR(20)) EXEC(@sql) END FETCH NEXT FROM name_cursor INTO @dbid, @dbname END CLOSE name_cursor DEALLOCATE name_cursor drop table #t l.spid v.name l.dbname l.sch l.objname l.indname l.status  create table #tpdv ( Name nvarchar(512) NOT NULL) insert #tpdv (Name) EXECUTE master.dbo.xp_get_tape_devices drop table #tpdv Name  NULL NULL NULL 6 DECLARE @PageSize float SELECT @PageSize=v.low/1024.0 FROM master..spt_values v WHERE v.number=1 AND v.type='E' rtrim(s.name) s.fileid rtrim(s.filename) (s.size * @PageSize) case when s.maxsize=-1 then -1 else s.maxsize * @PageSize end CASE WHEN (0 <>(s.status & 0x100000)) THEN s.growth ELSE s.growth * @PageSize END CASE WHEN s.growth=0 THEN 99 WHEN (0 <>(s.status & 0x100000)) THEN 1 ELSE 0 END s.name s.file_id s.physical_name s.size * CONVERT(float,8) CASE when s.max_size=-1 then -1 else s.max_size * CONVERT(float,8) END CASE s.is_percent_growth WHEN 1 THEN s.growth ELSE s.growth*8 END CASE when s.growth=0 THEN 99 ELSE s.is_percent_growth END s.is_media_read_only s.is_read_only case s.state when 6 then 1 else 0 end s.is_sparse S bkps.name bkps.backup_set_id bkps.backup_set_uuid bkps.media_set_id bkps.first_family_number bkps.first_media_number bkps.last_family_number bkps.last_media_number bkps.catalog_family_number bkps.catalog_media_number bkps.position bkps.expiration_date bkps.software_vendor_id bkps.description bkps.user_name bkps.software_major_version bkps.software_minor_version bkps.software_build_version bkps.time_zone bkps.mtf_minor_version bkps.first_lsn bkps.last_lsn bkps.checkpoint_lsn bkps.database_backup_lsn bkps.database_creation_date bkps.backup_start_date bkps.backup_finish_date CASE bkps.type WHEN 'D' THEN 1 WHEN 'I' THEN 2 WHEN 'L' THEN 3 WHEN 'F' THEN 4 END bkps.sort_order bkps.code_page bkps.compatibility_level bkps.database_version bkps.backup_size bkps.database_name bkps.server_name bkps.machine_name bkps.flags bkps.unicode_locale bkps.unicode_compare_style bkps.collation_name bkps.is_password_protected  rthist.restore_history_id rthist.restore_date rthist.destination_database_name rthist.user_name rthist.backup_set_id CASE rthist.restore_type WHEN 'D' THEN 1 WHEN 'F' THEN 2 WHEN 'L' THEN 3 WHEN 'V' THEN 4 END rthist.replace rthist.recovery rthist.restart rthist.stop_at rthist.device_count rthist.stop_at_mark_name rthist.stop_before  rtsf.file_number rtsf.destination_phys_drive rtsf.destination_phys_name  rtsfg.filegroup_name  bkpf.first_family_number bkpf.first_media_number bkpf.filegroup_name bkpf.page_size bkpf.file_number bkpf.backed_up_page_count bkpf.file_type bkpf.source_file_block_size bkpf.file_size bkpf.logical_name bkpf.physical_drive bkpf.physical_name  bkpmf.media_family_id bkpmf.family_sequence_number bkpmf.media_count bkpmf.logical_device_name bkpmf.physical_device_name CASE WHEN bkpmf.device_type > 100 THEN bkpmf.device_type - 100 ELSE bkpmf.device_type END CASE WHEN bkpmf.device_type > 100 THEN 1 ELSE 0 END bkpmf.physical_block_size  bkpms.media_set_id bkpms.media_uuid bkpms.media_family_count bkpms.name bkpms.description bkpms.software_name bkpms.software_vendor_id bkpms.MTF_major_version l create table #tmp_sp_help_alert (id int null, name nvarchar(128) null, event_source nvarchar(100) null, event_category_id int null, event_id int null, message_id int null, severity int null, enabled tinyint null, delay_between_responses int null, last_occurrence_date int null, last_occurrence_time int null, last_response_date int null, last_response_time int null, notification_message nvarchar(512) null, include_event_description tinyint null, database_name nvarchar(128) null, event_description_keyword nvarchar(100) null, occurrence_count int null, count_reset_date int null, count_reset_time int null, job_id uniqueidentifier null, job_name nvarchar(128) null, has_notification int null, flags int null, performance_condition nvarchar(512) null, category_name nvarchar(128) null, type int null) insert into #tmp_sp_help_alert exec msdb.dbo.sp_help_alert create table #tmp_sp_help_alert (id int null, name nvarchar(128) null, event_source nvarchar(100) null, event_category_id int null, event_id int null, message_id int null, severity int null, enabled tinyint null, delay_between_responses int null, last_occurrence_date int null, last_occurrence_time int null, last_response_date int null, last_response_time int null, notification_message nvarchar(512) null, include_event_description tinyint null, database_name nvarchar(128) null, event_description_keyword nvarchar(100) null, occurrence_count int null, count_reset_date int null, count_reset_time int null, job_id uniqueidentifier null, job_name nvarchar(128) null, has_notification int null, flags int null, performance_condition nvarchar(512) null, category_name nvarchar(128) null, wmi_namespace nvarchar(max) null, wmi_query nvarchar(max) null, type int null) insert into #tmp_sp_help_alert exec msdb.dbo.sp_help_alert drop table #tmp_sp_help_alert tsha.id tsha.name ISNULL(tsha.event_source,N'') tsha.message_id tsha.severity tsha.enabled tsha.delay_between_responses null null ISNULL(tsha.notification_message,N'') tsha.include_event_description ISNULL(tsha.database_name,N'') ISNULL(tsha.event_description_keyword,N'') tsha.occurrence_count null ISNULL(tsha.job_id, convert(uniqueidentifier, N'00000000-0000-0000-0000-000000000000')) ISNULL(tsha.job_name,N'') tsha.has_notification ISNULL(tsha.performance_condition,N'') ISNULL(tsha.category_name,N'') ISNULL(tsha.wmi_namespace,N'') ISNULL(tsha.wmi_query,N'') tsha.type  create table #tmp_sp_help_operator (id int null, name nvarchar(128) null, enabled tinyint null, email_address nvarchar(100) null, last_email_date int null, last_email_time int null, pager_address nvarchar(100) null, last_pager_date int null, last_pager_time int null, weekday_pager_start_time int null, weekday_pager_end_time int null, saturday_pager_start_time int null, saturday_pager_end_time int null, sunday_pager_start_time int null, sunday_pager_end_time int null, pager_days tinyint null, netsend_address nvarchar(100) null, last_netsend_date int null, last_netsend_time int null, category_name nvarchar(128) null) insert into #tmp_sp_help_operator exec msdb.dbo.sp_help_operator drop table #tmp_sp_help_operator tsho.name tsho.id tsho.enabled ISNULL(tsho.email_address,N'') null ISNULL(tsho.pager_address,N'') null 0 0 0 0 0 0 tsho.pager_days ISNULL(tsho.netsend_address,N'') null ISNULL(tsho.category_name,N'')  create table #tmp_sp_help_targetserver (server_id int null, server_name nvarchar(30) null, location nvarchar(200) null, time_zone_adjustment int null, enlist_date datetime null, last_poll_date datetime null, status int null, unread_instructions int null, local_time datetime null, enlisted_by_nt_user nvarchar(200) null, poll_interval int null) insert into #tmp_sp_help_targetserver exec msdb.dbo.sp_help_targetserver drop table #tmp_sp_help_targetserver tsht.server_name tsht.server_id tsht.location tsht.time_zone_adjustment tsht.enlist_date tsht.last_poll_date tsht.status tsht.poll_interval tsht.unread_instructions tsht.local_time .# declare @FailSafeOperator nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafeOperator', @param = @FailSafeOperator OUT, @no_output = N'no_output' declare @NotificationMethod int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertNotificationMethod', @param = @NotificationMethod OUT, @no_output = N'no_output' declare @ForwardingServer nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertForwardingServer', @param = @ForwardingServer OUT, @no_output = N'no_output' declare @ForwardingSeverity int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertForwardingSeverity', @param = @ForwardingSeverity OUT, @no_output = N'no_output' declare @ForwardAlways int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertForwardAlways', @param = @ForwardAlways OUT, @no_output = N'no_output' declare @PagerToTemplate nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerToTemplate', @param = @PagerToTemplate OUT, @no_output = N'no_output' declare @PagerCCTemplate nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerCCTemplate', @param = @PagerCCTemplate OUT, @no_output = N'no_output' declare @PagerSubjectTemplate nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerSubjectTemplate', @param = @PagerSubjectTemplate OUT, @no_output = N'no_output' declare @PagerSendSubjectOnly int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerSendSubjectOnly', @param = @PagerSendSubjectOnly OUT, @no_output = N'no_output' declare @FailSafeEmailAddress nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafeEmailAddress', @param = @FailSafeEmailAddress OUT, @no_output = N'no_output' declare @FailSafePagerAddress nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafePagerAddress', @param = @FailSafePagerAddress OUT, @no_output = N'no_output' declare @FailSafeNetSendAddress nvarchar(255) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafeNetSendAddress', @param = @FailSafeNetSendAddress OUT, @no_output = N'no_output' declare @FailSafeOperator nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafeOperator', @param = @FailSafeOperator OUT, @no_output = N'no_output' declare @NotificationMethod int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertNotificationMethod', @param = @NotificationMethod OUT, @no_output = N'no_output' declare @ForwardingServer nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertForwardingServer', @param = @ForwardingServer OUT, @no_output = N'no_output' declare @ForwardingSeverity int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertForwardingSeverity', @param = @ForwardingSeverity OUT, @no_output = N'no_output' declare @ForwardAlways int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertForwardAlways', @param = @ForwardAlways OUT, @no_output = N'no_output' declare @PagerToTemplate nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerToTemplate', @param = @PagerToTemplate OUT, @no_output = N'no_output' declare @PagerCCTemplate nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerCCTemplate', @param = @PagerCCTemplate OUT, @no_output = N'no_output' declare @PagerSubjectTemplate nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerSubjectTemplate', @param = @PagerSubjectTemplate OUT, @no_output = N'no_output' declare @PagerSendSubjectOnly int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertPagerSendSubjectOnly', @param = @PagerSendSubjectOnly OUT, @no_output = N'no_output' declare @FailSafeEmailAddress nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafeEmailAddress', @param = @FailSafeEmailAddress OUT, @no_output = N'no_output' declare @FailSafePagerAddress nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafePagerAddress', @param = @FailSafePagerAddress OUT, @no_output = N'no_output' declare @FailSafeNetSendAddress nvarchar(255) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'AlertFailSafeNetSendAddress', @param = @FailSafeNetSendAddress OUT, @no_output = N'no_output' N'AlertSystem' ISNULL(@FailSafeOperator,N'') @NotificationMethod ISNULL(@ForwardingServer,N'') @ForwardingSeverity ISNULL(@ForwardAlways, 0) ISNULL(@PagerToTemplate,N'') ISNULL(@PagerCCTemplate,N'') ISNULL(@PagerSubjectTemplate,N'') @PagerSendSubjectOnly ISNULL(@FailSafeEmailAddress,N'') ISNULL(@FailSafePagerAddress,N'') ISNULL(@FailSafeNetSendAddress,N'')  create table #tmp_sp_help_targetservergroup (servergroup_id int null, name nvarchar(128) null) insert into #tmp_sp_help_targetservergroup exec msdb..sp_help_targetservergroup drop table #tmp_sp_help_targetservergroup tsht.name tsht.servergroup_id  drop table #tmp_sp_help_targetservergroup_member tshtm.server_name tshtm.server_id & {0}.definition " create table #tmp_sp_help_jobhistory (instance_id int null, job_id uniqueidentifier null, job_name nvarchar(128) null, step_id int null, step_name nvarchar(128) null, sql_message_id int null, sql_severity int null, message nvarchar(1024) null, run_status int null, run_date int null, run_time int null, run_duration int null, operator_emailed nvarchar(128) null, operator_netsent nvarchar(128) null, operator_paged nvarchar(128) null, retries_attempted int null, server nvarchar(30) null) insert into #tmp_sp_help_jobhistory exec msdb.dbo.sp_help_jobhistory @mode='FULL' drop table #tmp_sp_help_jobhistory tshj.instance_id tshj.sql_message_id tshj.message tshj.step_id tshj.step_name tshj.sql_severity tshj.job_id tshj.job_name tshj.run_status convert(datetime, stuff(stuff(cast(tshj.run_date as nchar(8)), 7, 0, '-'), 5, 0, '-') + N' ' + stuff(stuff(substring(cast(1000000 + tshj.run_time as nchar(7)), 2, 6), 5, 0, ':'), 3, 0, ':'), 120) tshj.run_duration tshj.operator_emailed tshj.operator_netsent tshj.operator_paged tshj.retries_attempted tshj.server - drop table #tmp_sp_help_jobserver tshj.server_name tshj.server_id tshj.enlist_date tshj.last_poll_date null tshj.last_run_duration tshj.last_run_outcome tshj.last_outcome_message  create table #err_log_tmp(ArchiveNo int, CreateDate nvarchar(24), Size int) insert #err_log_tmp exec master.dbo.sp_enumerrorlogs 2 create table #err_log_tmp(ArchiveNo int, CreateDate datetime, Size int, ErrorLog NVARCHAR(255)) DECLARE @errorlog_path NVARCHAR(255) DECLARE @errorlog_dir NVARCHAR(255) DECLARE @errorlog_partfile NVARCHAR(255) DECLARE @errorlog NVARCHAR(255) DECLARE @dotIdx INT DECLARE @slashIdx INT DECLARE @logexists INT DECLARE @ArchiveNo INT EXECUTE master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'ErrorLogFile', @errorlog_path OUTPUT, N'no_output' EXECUTE master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'ErrorLogFile', @errorlog_path OUTPUT, N'no_output' --> EXECUTE master.dbo.xp_fileexist @errorlog_path, @logexists OUTPUT IF(@logexists = 1) BEGIN create table #err_logs_dir_tmp(ErrorLog NVARCHAR(255), d int, f int) create table #file_details_tmp(AltName NVARCHAR(32) NULL, Size int, CDate INT, CTime INT, LWDate INT, LWTime INT, LADate INT, LATime INT, Attributes INT) INSERT #file_details_tmp EXECUTE master.dbo.xp_getfiledetails @errorlog_path SET @errorlog_path = REVERSE(@errorlog_path) SET @dotIdx = CHARINDEX(N'.', @errorlog_path); SET @slashIdx = CHARINDEX(N'\', @errorlog_path); SET @errorlog_path = REVERSE(@errorlog_path) SET @errorlog_dir = @errorlog_path if(@slashIdx <> 0) BEGIN SET @errorlog_dir = SUBSTRING(@errorlog_path, 1, LEN(@errorlog_path) - @slashIdx) SET @errorlog_partfile= SUBSTRING(@errorlog_path, LEN(@errorlog_path) - @slashIdx + 2, 255) END if(@dotIdx <> 0) BEGIN SET @errorlog_partfile = SUBSTRING(@errorlog_partfile, 1, LEN(@errorlog_partfile) - @dotIdx + 1) END INSERT #err_logs_dir_tmp EXECUTE master.dbo.xp_dirtree @errorlog_dir, 1, 1 INSERT #err_log_tmp(ArchiveNo, CreateDate, Size, ErrorLog) SELECT 0, -- convert the 2 int's (20020912 152026) to yyyy-mm-dd hh:mi:ss CONVERT(datetime, STUFF(STUFF(STR(LWDate, 8), 7, 0, '-'), 5, 0, '-') + ' ' + STUFF(STUFF(REPLACE(STR(LWTime,6), ' ', '0'), 5, 0, ':'), 3, 0, ':') , 120), Size, @errorlog_path FROM #file_details_tmp DELETE #file_details_tmp declare crslogs insensitive cursor for ( SELECT ErrorLog FROM #err_logs_dir_tmp WHERE ErrorLog like @errorlog_partfile + '[1-9]' ) for read only open crslogs fetch crslogs into @errorlog while @@fetch_status >= 0 begin SET @ArchiveNo = CONVERT(INT, SUBSTRING(@errorlog, LEN(@errorlog_partfile) + 1, 1)) SET @errorlog = @errorlog_dir + '\' + @errorlog INSERT #file_details_tmp EXECUTE master.dbo.xp_getfiledetails @errorlog INSERT #err_log_tmp(ArchiveNo, CreateDate, Size, ErrorLog) SELECT @ArchiveNo, -- convert the 2 int's (20020912 152026) to yyyy-mm-dd hh:mi:ss CONVERT(datetime, STUFF(STUFF(STR(LWDate, 8), 7, 0, '-'), 5, 0, '-') + ' ' + STUFF(STUFF(REPLACE(STR(LWTime,6), ' ', '0'), 5, 0, ':'), 3, 0, ':') , 120), Size, @errorlog FROM #file_details_tmp DELETE #file_details_tmp fetch crslogs into @errorlog end close crslogs deallocate crslogs DROP TABLE #file_details_tmp DROP TABLE #err_logs_dir_tmp END drop table #err_log_tmp er.ArchiveNo er.ArchiveNo er.CreateDate CONVERT(datetime, er.CreateDate, 101) er.Size drop table #err_log_text_tmp ert.LogDate ert.ErrorLevel ert.Text  convert(nchar(1), am.name)= convert(nchar(1), srddrv.DriveName) create table #avmed (name nvarchar(512), low_free int, high_free int, type int) insert #avmed exec master.dbo.xp_availablemedia update #avmed set name = convert(nchar(2), name) create table #tmpsrdDrive ( DriveName nvarchar(255) ) insert #tmpsrdDrive select * from ::fn_servershareddrives() create table #tmpsrdDrive ( DriveName nvarchar(255) ) insert #tmpsrdDrive select * from sys.fn_servershareddrives() drop table #avmed drop table #tmpsrdDrive am.name am.low_free am.high_free case when am.low_free >= 0 then 0. + am.low_free else 4294967296. + am.low_free end + 4294967296. * am.high_free am.type case when srddrv.DriveName is null then 0 else 1 end " clmns.id = c.id and clmns.colid = c.colid clmns.name c.keyno COL_NAME(sic.object_id, sic.column_id) sic.stats_column_id M declare @UserOption int select @UserOption=c.value from master.dbo.sysconfigures c, master.dbo.spt_values v where v.type = 'C ' and not c.status is null and v.number = c.config and v.name='user options' declare @UserOption int select @UserOption=c.value from sys.sysconfigures c where not c.status is null and c.comment='user options' @UserOption & 1 @UserOption & 2 @UserOption & 4 @UserOption & 8 @UserOption & 16 @UserOption & 32 @UserOption & 64 @UserOption & 128 @UserOption & 256 @UserOption & 512 @UserOption & 1024 @UserOption & 2048 @UserOption & 4096 @UserOption & 8192 @UserOption & 16384  create table #SVer(ID int, Name sysname, Internal_Value int, Value nvarchar(512)) insert #SVer exec master.dbo.xp_msver declare @NetName sysname exec master.dbo.xp_getnetname @NetName OUTPUT declare @SmoRoot nvarchar(512) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\Setup', N'SQLPath', @SmoRoot OUTPUT declare @RegPathParams sysname declare @Arg sysname declare @Param sysname declare @MasterPath nvarchar(512) declare @LogPath nvarchar(512) declare @ErrorLogPath nvarchar(512) declare @n int select @n=0 select @RegPathParams=N'Software\Microsoft\MSSQLServer\MSSQLServer'+'\Parameters' select @Param='dummy' while(not @Param is null) begin select @Param=null select @Arg='SqlArg'+convert(nvarchar,@n) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @RegPathParams, @Arg, @Param OUTPUT if(@Param like '-d%') begin select @Param=substring(@Param, 3, 255) select @MasterPath=substring(@Param, 1, len(@Param) - charindex('\', reverse(@Param))) end else if(@Param like '-l%') begin select @Param=substring(@Param, 3, 255) select @LogPath=substring(@Param, 1, len(@Param) - charindex('\', reverse(@Param))) end else if(@Param like '-e%') begin select @Param=substring(@Param, 3, 255) select @ErrorLogPath=substring(@Param, 1, len(@Param) - charindex('\', reverse(@Param))) end select @n=@n+1 end drop table #SVer create table #SVer(ID int, Name sysname, Internal_Value int, Value nvarchar(512)) insert #SVer exec master.dbo.xp_msver declare @SmoRoot nvarchar(512) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\Setup', N'SQLPath', @SmoRoot OUTPUT declare @RegPathParams sysname declare @Arg sysname declare @Param sysname declare @MasterPath nvarchar(512) declare @LogPath nvarchar(512) declare @ErrorLogPath nvarchar(512) declare @n int select @n=0 select @RegPathParams=N'Software\Microsoft\MSSQLServer\MSSQLServer'+'\Parameters' select @Param='dummy' while(not @Param is null) begin select @Param=null select @Arg='SqlArg'+convert(nvarchar,@n) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @RegPathParams, @Arg, @Param OUTPUT if(@Param like '-d%') begin select @Param=substring(@Param, 3, 255) select @MasterPath=substring(@Param, 1, len(@Param) - charindex('\', reverse(@Param))) end else if(@Param like '-l%') begin select @Param=substring(@Param, 3, 255) select @LogPath=substring(@Param, 1, len(@Param) - charindex('\', reverse(@Param))) end else if(@Param like '-e%') begin select @Param=substring(@Param, 3, 255) select @ErrorLogPath=substring(@Param, 1, len(@Param) - charindex('\', reverse(@Param))) end select @n=@n+1 end drop table #SVer (select Value from #SVer where Name = N'ProductName') (select Value from #SVer where Name = N'WindowsVersion') (select Value from #SVer where Name = N'Language') (select Value from #SVer where Name = N'Platform') (select Internal_Value from #SVer where Name = N'PhysicalMemory') (select Internal_Value from #SVer where Name = N'ProcessorCount') (@@microsoftversion / 0x1000000) & 0xff (@@microsoftversion / 0x10000) & 0xff @@microsoftversion & 0xffff case when 'a' <> 'A' then 1 else 0 end FULLTEXTSERVICEPROPERTY('IsFullTextInstalled') @LogPath @MasterPath @ErrorLogPath @@MAX_PRECISION @SmoRoot (select Value from #SVer where Name = N'ProductVersion') @NetName SUBSTRING(@@version,PATINDEX(N'%Corporation%',@@version)+DATALENGTH('Corporation')+2,PATINDEX(N'% on %',@@version)-(PATINDEX(N'%Corporation%',@@version)+DATALENGTH('Corporation')+2)) SERVERPROPERTY(N'ProductVersion') SERVERPROPERTY(N'MachineName') SERVERPROPERTY(N'Edition') SERVERPROPERTY(N'ProductLevel') SERVERPROPERTY('IsClustered') SERVERPROPERTY('IsSingleUser') SERVERPROPERTY('EngineEdition') case when (select password from master.dbo.syslogins where sid = 0x01) is null then 1 else 0 end null convert(sysname, serverproperty(N'collation')) ! declare @NumErrorLogs int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'NumErrorLogs', @NumErrorLogs OUTPUT declare @SmoDefaultFile nvarchar(512) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultData', @SmoDefaultFile OUTPUT declare @SmoDefaultLog nvarchar(512) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultLog', @SmoDefaultLog OUTPUT declare @SmoLoginMode int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', @SmoLoginMode OUTPUT declare @SmoAuditLevel int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'AuditLevel', @SmoAuditLevel OUTPUT declare @SmoTapeLoadWaitTime int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'Tapeloadwaittime', @SmoTapeLoadWaitTime OUTPUT declare @BackupDirectory nvarchar(512) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'BackupDirectory', @BackupDirectory OUTPUT declare @SmoMailProfile nvarchar(512) exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'MailAccountName', @SmoMailProfile OUTPUT declare @SmoPerfMonMode int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'Performance', @SmoPerfMonMode OUTPUT if @SmoPerfMonMode is null begin set @SmoPerfMonMode = 1000 end declare @NumErrorLogs int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'NumErrorLogs', @NumErrorLogs OUTPUT declare @SmoDefaultFile nvarchar(512) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultData', @SmoDefaultFile OUTPUT declare @SmoDefaultLog nvarchar(512) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultLog', @SmoDefaultLog OUTPUT declare @SmoLoginMode int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', @SmoLoginMode OUTPUT declare @SmoAuditLevel int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'AuditLevel', @SmoAuditLevel OUTPUT declare @SmoTapeLoadWaitTime int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'Tapeloadwaittime', @SmoTapeLoadWaitTime OUTPUT declare @BackupDirectory nvarchar(512) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'BackupDirectory', @BackupDirectory OUTPUT declare @SmoMailProfile nvarchar(512) exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'MailAccountName', @SmoMailProfile OUTPUT declare @SmoPerfMonMode int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'Performance', @SmoPerfMonMode OUTPUT if @SmoPerfMonMode is null begin set @SmoPerfMonMode = 1000 end @SmoAuditLevel ISNULL(@SmoDefaultFile,N'') ISNULL(@SmoDefaultLog,N'') ISNULL(@NumErrorLogs, -1) (case when @SmoLoginMode < 3 then @SmoLoginMode else 9 end) @SmoTapeLoadWaitTime ISNULL(@SmoMailProfile,N'') @BackupDirectory @SmoPerfMonMode  cfk.colid=fk.fkey and cfk.id = fk.fkeyid crk.colid=fk.rkey and crk.id = fk.rkeyid fk.parent_column_id = cfk.column_id and fk.parent_object_id = cfk.object_id fk.referenced_column_id = crk.column_id and fk.referenced_object_id = crk.object_id cfk.name fk.keyno crk.name cfk.name fk.constraint_column_id crk.name  comt.colid comt.text cast(comt.id as nvarchar(20)) + N'_' + cast(comt.number as nvarchar(20)) + N'_' + cast(db_id() as nvarchar(20)) + N'_0'  s{0}.uid = {0}.uid s{0}.name SCHEMA_NAME({0}.schema_id)  CASE WHEN (OBJECTPROPERTY({0}.id, N'IsMSShipped')=1) THEN 1 WHEN 1 = OBJECTPROPERTY({0}.id, N'IsSystemTable') THEN 1 ELSE 0 END {0}.is_ms_shipped  CASE WHEN (OBJECTPROPERTY({0}.id, N'IsMSShipped')=1) THEN 1 WHEN 1 = OBJECTPROPERTY({0}.id, N'IsSystemTable') THEN 1 ELSE 0 END case when {0}.is_ms_shipped = 1 then 1 when ( select major_id from sys.extended_properties where major_id = {0}.object_id and minor_id = 0 and class = 1 and name = N'microsoft_database_tools_support') is not null then 1 else 0 end  cstr.status & 4 1 - ISNULL(OBJECTPROPERTY(cstr.id, N'CnstIsNotTrusted'),0) 1 - ISNULL(OBJECTPROPERTY(cstr.id, N'CnstIsDisabled'),0) ISNULL(OBJECTPROPERTY(cstr.id, N'CnstIsNotRepl'),0) cstr.is_system_named ~cstr.is_not_trusted ~cstr.is_disabled cstr.is_not_for_replication V ic.partition_ordinal > 0 c.object_id = ic.object_id and c.column_id = ic.column_id c.name ic.partition_ordinal  spf.name spf.function_id spf.boundary_value_on_right spf.create_date spf.fanout  st.system_type_id = st.user_type_id and spp.system_type_id = st.system_type_id spp.parameter_id ISNULL(spp.collation_name,N'')  sprv.boundary_id sprv.value  sps.function_id = spf.function_id sps.name sps.data_space_id spf.name ISNULL((case when spf.fanout < (select count(*) from sys.destination_data_spaces sdd where sps.data_space_id = sdd.partition_scheme_id) then (select sf.name from sys.filegroups sf, sys.destination_data_spaces sdd where sf.data_space_id = sdd.data_space_id and sps.data_space_id = sdd.partition_scheme_id and sdd.destination_id > spf.fanout) else null end),N'')  sf.data_space_id = sdd.data_space_id sf.name sdd.destination_id  fg{0}.groupname CASE WHEN 'FG'=ds{0}.type THEN ds{0}.name ELSE N'' END CASE WHEN 'PS'=ds{0}.type THEN ds{0}.name ELSE N'' END CASE WHEN 'PS'=ds{0}.type THEN 1 ELSE 0 END usrt.xusertype = {0}.xusertype baset.xusertype = {0}.xtype and baset.xusertype = baset.xtype s{0}.uid = usrt.uid usrt.user_type_id = {0}.user_type_id baset.user_type_id = {0}.system_type_id and baset.user_type_id = baset.system_type_id s{0}.schema_id = usrt.schema_id xsc{0}.xml_collection_id = {0}.xml_collection_id s2{0}.schema_id = xsc{0}.schema_id usrt.name s{0}.name ISNULL(baset.name, N'') CASE WHEN baset.name IN (N'char', N'varchar', N'binary', N'varbinary', N'nchar', N'nvarchar') THEN {0}.prec ELSE {0}.length END {0}.xprec {0}.xscale CASE WHEN baset.name IN (N'nchar', N'nvarchar') AND {0}.max_length <> -1 THEN {0}.max_length/2 ELSE {0}.max_length END {0}.precision {0}.scale ISNULL(xsc{0}.name, N'') ISNULL(s2{0}.name, N'') ISNULL( (case {0}.is_xml_document when 1 then 2 else 1 end), 0) ! p.name p.value  p.name p.value  H create table #extprops(owner sysname null, objname sysname null, name sysname, value sql_variant null) drop table #extprops J create table #extprops(owner sysname null, parentobjname sysname null, objname sysname null, name sysname , value sql_variant null) drop table #extprops create table #extprops(owner sysname null, parentobjname sysname null, objname sysname null, name sysname , value sql_variant null) drop table #extprops   p.major_id=0 AND p.minor_id=0 AND p.class=0 p.name p.value z s{0}.uid = {0}.uid s{0}.schema_id = {0}.schema_id {0}.name s{0}.name  tbl.id = {0}.id tbl.object_id = {0}.object_id {0}.name tbl.name user_name(tbl.uid) schema_name(tbl.schema_id) - sm{0}.object_id = {0}.object_id ssm{0}.object_id = {0}.object_id OBJECTPROPERTYEX({0}.object_id,N'ExecIsAnsiNullsOn') OBJECTPROPERTYEX({0}.object_id,N'ExecIsQuotedIdentOn') OBJECTPROPERTYEX({0}.object_id, N'IsSchemaBound') ^ am{0}.object_id = {0}.object_id asmbl{0}.assembly_id = am{0}.assembly_id case when am{0}.object_id is null then N'' else asmbl{0}.name end case when am{0}.object_id is null then N'' else am{0}.assembly_class end case when am{0}.object_id is null then N'' else am{0}.assembly_method end C bkps.backup_set_id = btmp.backup_set_id declare @server_name nvarchar(512) set @server_name = @@SERVERNAME declare @server_name nvarchar(512) set @server_name = cast(serverproperty(N'Servername') as nvarchar(512)) DECLARE @first_full_backupset_id INTEGER ,@first_full_backup_startdate DATETIME CREATE TABLE #backupset( backup_set_id INTEGER NOT NULL ,is_in_restore_plan bit NOT NULL ,backup_start_date datetime NOT NULL ,type CHAR(1) NOT NULL ,database_name nvarchar(256) NOT NULL ) /**********************************************************************/ /* Identify the first */ /**********************************************************************/ SELECT @first_full_backupset_id = backupset_outer.backup_set_id ,@first_full_backup_startdate = backupset_outer.backup_start_date FROM msdb.dbo.backupset backupset_outer WHERE backupset_outer.database_name = @db_name AND backupset_outer.server_name = @server_name AND backupset_outer.type = 'D' -- Full Database Backup AND backupset_outer.backup_start_date = ( SELECT MAX(backupset_inner.backup_start_date) FROM msdb.dbo.backupset backupset_inner WHERE backupset_inner.database_name = backupset_outer.database_name AND backupset_inner.server_name = @server_name AND backupset_inner.type = backupset_outer.type AND backupset_inner.backup_start_date <= @restore_to_datetime) /*******************************************************************************************/ /* Find the first full database backup needed in the restore plan and store its attributes */ /* in #backupset work table */ /*******************************************************************************************/ INSERT #backupset( backup_set_id ,is_in_restore_plan ,backup_start_date ,type ,database_name ) SELECT backup_set_id ,1 -- The full database backup is always needed for the restore plan ,backup_start_date ,type ,database_name FROM msdb.dbo.backupset WHERE msdb.dbo.backupset.backup_set_id = @first_full_backupset_id AND msdb.dbo.backupset.server_name = @server_name /***************************************************************/ /* Find the log and differential backups that occurred after */ /* the full backup and store them in #backupset work table */ /***************************************************************/ INSERT #backupset( backup_set_id ,is_in_restore_plan ,backup_start_date ,type ,database_name ) SELECT backup_set_id ,0 ,backup_start_date ,type ,database_name FROM msdb.dbo.backupset WHERE msdb.dbo.backupset.database_name = @db_name AND msdb.dbo.backupset.server_name = @server_name AND msdb.dbo.backupset.type IN ('I', 'L') -- Differential, Log backups AND msdb.dbo.backupset.backup_start_date >= @first_full_backup_startdate /**********************************************************************************/ /* identify and mark the backup logs that need to be included in the restore plan */ /**********************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'I' AND #backupset.backup_start_date = (SELECT MAX(backupset_inner.backup_start_date) FROM #backupset backupset_inner WHERE backupset_inner.type = #backupset.type AND backupset_inner.backup_start_date <= @restore_to_datetime) /**************************************************************************************/ /* Log backups that occurred after the different are always part of the restore plan. */ /**************************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'L' AND #backupset.backup_start_date <= @restore_to_datetime AND #backupset.backup_start_date >= (SELECT backupset_inner.backup_start_date FROM #backupset backupset_inner WHERE backupset_inner.type = 'I' AND backupset_inner.is_in_restore_plan = 1) /**************************************************************************************/ /* If @restore_to_datetime is greater than the last startdate of the last log backup, */ /* include the next log backup in the restore plan */ /**************************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'L' AND #backupset.backup_start_date = (SELECT MIN(backupset_inner.backup_start_date) FROM #backupset backupset_inner WHERE backupset_inner.type = 'L' AND backupset_inner.backup_start_date > @restore_to_datetime AND backupset_inner.is_in_restore_plan = 0) /**************************************************************************************/ /* If there are no differential backups, all log backups that occurred after the full */ /* backup are needed in the restore plan. */ /**************************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'L' AND #backupset.backup_start_date <= @restore_to_datetime AND NOT EXISTS(SELECT * FROM #backupset backupset_inner WHERE backupset_inner.type = 'I') DECLARE @first_full_backupset_id INTEGER ,@first_full_backup_startdate DATETIME CREATE TABLE #backupset( backup_set_id INTEGER NOT NULL ,is_in_restore_plan bit NOT NULL ,backup_start_date datetime NOT NULL ,type CHAR(1) NOT NULL ,database_name nvarchar(256) NOT NULL ) /**********************************************************************/ /* Identify the first */ /**********************************************************************/ SELECT @first_full_backupset_id = backupset_outer.backup_set_id ,@first_full_backup_startdate = backupset_outer.backup_start_date FROM msdb.dbo.backupset backupset_outer WHERE backupset_outer.database_name = @db_name AND backupset_outer.server_name = @server_name AND backupset_outer.type = 'D' -- Full Database Backup AND backupset_outer.backup_start_date = ( SELECT MAX(backupset_inner.backup_start_date) FROM msdb.dbo.backupset backupset_inner WHERE backupset_inner.database_name = backupset_outer.database_name AND backupset_inner.server_name = @server_name AND backupset_inner.type = backupset_outer.type AND backupset_inner.backup_start_date <= @restore_to_datetime AND backupset_inner.is_copy_only = 0 ) AND backupset_outer.is_copy_only = 0 /*******************************************************************************************/ /* Find the first full database backup needed in the restore plan and store its attributes */ /* in #backupset work table */ /*******************************************************************************************/ INSERT #backupset( backup_set_id ,is_in_restore_plan ,backup_start_date ,type ,database_name ) SELECT backup_set_id ,1 -- The full database backup is always needed for the restore plan ,backup_start_date ,type ,database_name FROM msdb.dbo.backupset WHERE msdb.dbo.backupset.backup_set_id = @first_full_backupset_id AND msdb.dbo.backupset.server_name = @server_name /***************************************************************/ /* Find the log and differential backups that occurred after */ /* the full backup and store them in #backupset work table */ /***************************************************************/ INSERT #backupset( backup_set_id ,is_in_restore_plan ,backup_start_date ,type ,database_name ) SELECT backup_set_id ,0 ,backup_start_date ,type ,database_name FROM msdb.dbo.backupset WHERE msdb.dbo.backupset.database_name = @db_name AND msdb.dbo.backupset.server_name = @server_name AND msdb.dbo.backupset.type IN ('I', 'L') -- Differential, Log backups AND msdb.dbo.backupset.backup_start_date >= @first_full_backup_startdate /**********************************************************************************/ /* identify and mark the backup logs that need to be included in the restore plan */ /**********************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'I' AND #backupset.backup_start_date = (SELECT MAX(backupset_inner.backup_start_date) FROM #backupset backupset_inner WHERE backupset_inner.type = #backupset.type AND backupset_inner.backup_start_date <= @restore_to_datetime) /**************************************************************************************/ /* Log backups that occurred after the different are always part of the restore plan. */ /**************************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'L' AND #backupset.backup_start_date <= @restore_to_datetime AND #backupset.backup_start_date >= (SELECT backupset_inner.backup_start_date FROM #backupset backupset_inner WHERE backupset_inner.type = 'I' AND backupset_inner.is_in_restore_plan = 1) /**************************************************************************************/ /* If @restore_to_datetime is greater than the last startdate of the last log backup, */ /* include the next log backup in the restore plan */ /**************************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'L' AND #backupset.backup_start_date = (SELECT MIN(backupset_inner.backup_start_date) FROM #backupset backupset_inner WHERE backupset_inner.type = 'L' AND backupset_inner.backup_start_date > @restore_to_datetime AND backupset_inner.is_in_restore_plan = 0) /**************************************************************************************/ /* If there are no differential backups, all log backups that occurred after the full */ /* backup are needed in the restore plan. */ /**************************************************************************************/ UPDATE #backupset SET is_in_restore_plan = 1 WHERE #backupset.type = 'L' AND #backupset.backup_start_date <= @restore_to_datetime AND NOT EXISTS(SELECT * FROM #backupset backupset_inner WHERE backupset_inner.type = 'I') drop table #backupset bkps.name bkps.backup_set_id btmp.is_in_restore_plan bkps.backup_set_uuid bkps.media_set_id bkps.first_family_number bkps.first_media_number bkps.last_family_number bkps.last_media_number bkps.catalog_family_number bkps.catalog_media_number bkps.position bkps.expiration_date bkps.software_vendor_id bkps.description bkps.user_name bkps.software_major_version bkps.software_minor_version bkps.software_build_version bkps.time_zone bkps.mtf_minor_version bkps.first_lsn bkps.last_lsn bkps.checkpoint_lsn bkps.database_backup_lsn bkps.database_creation_date bkps.backup_start_date bkps.backup_finish_date bkps.type bkps.sort_order bkps.code_page bkps.compatibility_level bkps.database_version bkps.backup_size bkps.database_name bkps.server_name bkps.machine_name bkps.flags bkps.unicode_locale bkps.unicode_compare_style bkps.collation_name y drop table #alert_notification_tmp ant.OperatorId ant.OperatorName ant.UseEmail ant.UsePager ant.UseNetSend ant.HasEmail ant.HasPager ant.HasNetSend  drop table #operator_notification_tmp ont.AlertId ont.AlertName ont.UseEmail ont.UsePager ont.UseNetSend ont.HasEmail ont.HasPager ont.HasNetSend  drop table #operator_job_notification_tmp ont.JobId ont.JobName ont.NotifyLevelEmail ont.NotifyLevelNetSend ont.NotifyLevelPage 6 princip.principal_id = asmbl.principal_id asmbl.name asmbl.assembly_id asmbl.create_date ISNULL(ASSEMBLYPROPERTY(asmbl.assembly_id, N'CultureInfo'), N'') asmbl.permission_set princip.name asmbl.is_visible ISNULL(ASSEMBLYPROPERTY(asmbl.name, N'PublicKey'), CONVERT(varbinary(8000), N'')) ASSEMBLYPROPERTY(asmbl.name, N'VersionMajor') ASSEMBLYPROPERTY(asmbl.name, N'VersionMinor') ASSEMBLYPROPERTY(asmbl.name, N'VersionBuild') ASSEMBLYPROPERTY(asmbl.name, N'VersionRevision')  afiles.name afiles.file_id afiles.content 4 asmbl.assembly_id = atypes.assembly_id atypes.user_type_id atypes.max_length ISNULL(atypes.collation_name,N'') atypes.precision atypes.scale atypes.is_nullable asmbl.name ISNULL(atypes.assembly_class,N'') atypes.is_binary_ordered atypes.is_fixed_length 0 0x0 0 z obj.type=N'AF' am.object_id = obj.object_id asmbl.assembly_id = am.assembly_id ret_param.object_id = obj.object_id and ret_param.is_output = 1 asmbl.name am.assembly_class  par.is_output = 0 par.name par.parameter_id ! DECLARE @FullTextDefaultPath NVARCHAR(512) EXECUTE master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer', N'FullTextDefaultPath', @FullTextDefaultPath OUTPUT @@SERVERNAME serverproperty(N'Servername') ISNULL(FULLTEXTSERVICEPROPERTY('ResourceUsage'), 0) @FullTextDefaultPath ISNULL(FULLTEXTSERVICEPROPERTY('ConnectTimeout'),0) * 10000000 ISNULL(FULLTEXTSERVICEPROPERTY('DataTimeout'),0) * 10000000 0 CASE WHEN FULLTEXTSERVICEPROPERTY('VerifySignature') = 0 THEN 1 WHEN FULLTEXTSERVICEPROPERTY('VerifySignature') = 1 THEN 0 ELSE 0 END FULLTEXTSERVICEPROPERTY('LoadOSResources')  cat.data_space_id = fg.data_space_id ci.ftcatid = cat.fulltext_catalog_id cat.principal_id=dp.principal_id ci.ftcatid = cat.ftcatid create table #tmpcatinfo ([ftcatid] smallint,[name] sysname,[path] nvarchar(260),[status] int,[number_fulltext_tables] int) if( 1 = DATABASEPROPERTYEX(db_name(), 'IsFulltextEnabled') ) begin insert #tmpcatinfo execute dbo.sp_help_fulltext_catalogs end create table #tmpcatinfo ([ftcatid] smallint,[name] sysname,[path] nvarchar(260),[status] int,[number_fulltext_tables] int) if( 1 = DATABASEPROPERTY(db_name(), 'IsFulltextEnabled') ) begin insert #tmpcatinfo execute dbo.sp_help_fulltext_catalogs end drop table #tmpcatinfo cat.name cat.fulltext_catalog_id FULLTEXTCATALOGPROPERTY(cat.name,'AccentSensitivity') cat.is_default fg.name dp.name cat.ftcatid FULLTEXTCATALOGPROPERTY(cat.name,'LogSize') FULLTEXTCATALOGPROPERTY(cat.name,'IndexSize') FULLTEXTCATALOGPROPERTY(cat.name,'ItemCount') FULLTEXTCATALOGPROPERTY(cat.name,'UniqueKeyCount') FULLTEXTCATALOGPROPERTY(cat.name,'PopulateStatus') 0 cast(null as datetime) ci.path ci.number_fulltext_tables ; dp1.principal_id = s.principal_id s.name s.schema_id dp1.name  cat.fulltext_catalog_id = fti.fulltext_catalog_id si.index_id=fti.unique_index_id and si.object_id=fti.object_id cat.name fti.is_enabled OBJECTPROPERTY(fti.object_id,'TableFullTextPopulateStatus') (case change_tracking_state when 'M' then 1 when 'A' then 2 else 0 end) OBJECTPROPERTY(fti.object_id,'TableFullTextItemCount') OBJECTPROPERTY(fti.object_id,'TableFullTextDocsProcessed') OBJECTPROPERTY(fti.object_id,'TableFullTextPendingChanges') OBJECTPROPERTY(fti.object_id,'TableFullTextFailCount') si.name   COLUMNPROPERTY(cols.id, cols.name, 'IsFulltextIndexed') <> 0 sl.lcid=cols.language col.object_id = icol.object_id and col.column_id = icol.column_id sl.lcid=icol.language_id col2.column_id = icol.type_column_id and col2.object_id = icol.object_id cols.name (select ISNULL(scol2.name,N'') from sysdepends as sdep, syscolumns as scol2 where cols.colid = sdep.number and cols.id = sdep.id and cols.id = scol2.id and sdep.depnumber = scol2.colid) (select ISNULL(scol2.name,N'') from sysdepends as sdep, syscolumns as scol2 where cols.colid = sdep.number and cols.id = sdep.id and sdep.deptype = 1 and cols.id = scol2.id and sdep.depnumber = scol2.colid) sl.alias col.name sl.alias ISNULL(col2.name,N'') 7e-- parameters: -- 1. create table #tempdep (objid int NOT NULL, objtype smallint NOT NULL) -- contains source objects -- 2. @find_referencing_objects defines ordering -- 1 order for drop -- 0 order for script declare @must_set_nocount_off bit set @must_set_nocount_off = 0 IF @@OPTIONS & 512 = 0 set @must_set_nocount_off = 1 set nocount on declare @u int declare @udf int declare @v int declare @sp int declare @def int declare @rule int declare @tr int declare @uda int declare @uddt int declare @xml int declare @udt int declare @assm int declare @part_sch int declare @part_func int declare @synonym int set @u = 3 set @udf = 0 set @v = 2 set @sp = 4 set @def = 6 set @rule = 7 set @tr = 8 set @uda = 11 set @synonym = 12 --above 100 -> not in sys.objects set @uddt = 101 set @xml = 102 set @udt = 103 set @assm = 1000 set @part_sch = 201 set @part_func = 202 /* * Create #t1 as temp object holding areas. Columns are: * object_id - temp object id * object_type - temp object type * relative_id - parent or child object id * relative_type - parent or child object type * rank - NULL means dependencies not yet evaluated, else nonNULL. * soft_link - this row should not be used to compute ordering among objects * object_name - name of the temp object * object_schema - name the temp object's schema (if any) * relative_name - name of the relative object * relative_schema - name of the relative object's schema (if any) * degree - the number of relatives that the object has, will be used for computing the rank * object_key - surrogate key that combines object_id and object_type * relative_key - surrogate key that combines relative_id and relative_type */ create table #t1( object_id int NULL, object_type smallint NULL, relative_id int NULL, relative_type smallint NULL, rank smallint NULL, soft_link bit NULL, object_name sysname NULL, object_schema sysname NULL, relative_name sysname NULL, relative_schema sysname NULL, degree int NULL, object_key bigint NULL, relative_key bigint NULL ) create unique clustered index i1 on #t1(object_id, object_type, relative_id, relative_type) with IGNORE_DUP_KEY declare @iter_no int set @iter_no = 1 declare @rows int set @rows = 1 declare @rowcount_ck int set @rowcount_ck = 0 insert #t1 (relative_id, relative_type, rank) select l.objid, l.objtype, @iter_no from #tempdep l while @rows > 0 begin set @rows = 0 if( 1 = @find_referencing_objects ) begin --tables that reference uddts or udts (parameters that reference types are in sql_dependencies ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.object_id, @u, @iter_no + 1 from #t1 as t join sys.columns as c on c.user_type_id = t.relative_id join sys.tables as tbl on tbl.object_id = c.object_id -- eliminate views where @iter_no = t.rank and (t.relative_type=@uddt OR t.relative_type=@udt) set @rows = @rows + @@rowcount --tables that reference defaults ( only default objects ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.object_id, @u, @iter_no + 1 from #t1 as t join sys.columns as clmns on clmns.default_object_id = t.relative_id join sys.objects as o on o.object_id = t.relative_id and 0 = isnull(o.parent_object_id, 0) where @iter_no = t.rank and t.relative_type = @def set @rows = @rows + @@rowcount --types that reference defaults ( only default objects ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.user_type_id, @uddt, @iter_no + 1 from #t1 as t join sys.types as tp on tp.default_object_id = t.relative_id join sys.objects as o on o.object_id = t.relative_id and 0 = isnull(o.parent_object_id, 0) where @iter_no = t.rank and t.relative_type = @def set @rows = @rows + @@rowcount --tables that reference rules insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.object_id, @u, @iter_no + 1 from #t1 as t join sys.columns as clmns on clmns.rule_object_id = t.relative_id where @iter_no = t.rank and t.relative_type = @rule set @rows = @rows + @@rowcount --types that reference rules insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.user_type_id, @uddt, @iter_no + 1 from #t1 as t join sys.types as tp on tp.rule_object_id = t.relative_id where @iter_no = t.rank and t.relative_type = @rule set @rows = @rows + @@rowcount --tables that reference XmlSchemaCollections insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.object_id, @u, @iter_no + 1 from #t1 as t join sys.columns as c on c.xml_collection_id = t.relative_id join sys.tables as tbl on tbl.object_id = c.object_id -- eliminate views where @iter_no = t.rank and t.relative_type = @xml set @rows = @rows + @@rowcount --procedures that reference XmlSchemaCollections insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.object_id, case when o.type in ( 'P', 'RF', 'PC' ) then @sp else @udf end, @iter_no + 1 from #t1 as t join sys.parameters as c on c.xml_collection_id = t.relative_id join sys.objects as o on o.object_id = c.object_id where @iter_no = t.rank and t.relative_type = @xml set @rows = @rows + @@rowcount --udf, sp, uda, trigger all that reference assembly insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, am.object_id, (case o.type when 'AF' then @uda when 'PC' then @sp when 'FS' then @udf when 'FT' then @udf when 'TA' then @tr else @udf end), @iter_no + 1 from #t1 as t join sys.assembly_modules as am on am.assembly_id = t.relative_id join sys.objects as o on am.object_id = o.object_id where @iter_no = t.rank and t.relative_type = @assm set @rows = @rows + @@rowcount -- CLR udf, sp, uda that reference udt insert #t1 (object_id, object_type, relative_id, relative_type, rank) select distinct t.relative_id, t.relative_type, am.object_id, (case o.type when 'AF' then @uda when 'PC' then @sp when 'FS' then @udf when 'FT' then @udf when 'TA' then @tr else @udf end), @iter_no + 1 from #t1 as t join sys.parameters as sp on sp.user_type_id = t.relative_id join sys.assembly_modules as am on sp.object_id = am.object_id join sys.objects as o on sp.object_id = o.object_id where @iter_no = t.rank and t.relative_type = @udt set @rows = @rows + @@rowcount --udt that reference assembly insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, at.user_type_id, @udt, @iter_no + 1 from #t1 as t join sys.assembly_types as at on at.assembly_id = t.relative_id where @iter_no = t.rank and t.relative_type = @assm set @rows = @rows + @@rowcount --assembly that reference assembly insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, ar.assembly_id, @assm, @iter_no + 1 from #t1 as t join sys.assembly_references as ar on ar.referenced_assembly_id = t.relative_id where @iter_no = t.rank and t.relative_type = @assm set @rows = @rows + @@rowcount --table references table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, fk.parent_object_id, @u, @iter_no + 1 from #t1 as t join sys.foreign_keys as fk on fk.referenced_object_id = t.relative_id where @iter_no = t.rank and t.relative_type = @u set @rows = @rows + @@rowcount --table,view references partition scheme insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, idx.object_id, case o.type when 'V' then @v else @u end, @iter_no + 1 from #t1 as t join sys.indexes as idx on idx.data_space_id = t.relative_id join sys.objects as o on o.object_id = idx.object_id where @iter_no = t.rank and t.relative_type = @part_sch set @rows = @rows + @@rowcount --partition scheme references partition function insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, ps.data_space_id, @part_sch, @iter_no + 1 from #t1 as t join sys.partition_schemes as ps on ps.function_id = t.relative_id where @iter_no = t.rank and t.relative_type = @part_func set @rows = @rows + @@rowcount --view, procedure references table, view, procedure --procedure references type --table(check) references procedure --trigger references table, procedure insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, case when 'C' = obj.type then obj.parent_object_id else dp.object_id end, case when obj.type in ('U', 'C') then @u when 'V' = obj.type then @v when 'TR' = obj.type then @tr when obj.type in ( 'P', 'RF', 'PC' ) then @sp when obj.type in ( 'TF', 'FN', 'IF', 'FS', 'FT' ) then @udf end, @iter_no + 1 from #t1 as t join sys.sql_dependencies as dp on -- reference table, view procedure ( class < 2 and dp.referenced_major_id = t.relative_id and t.relative_type in ( @u, @v, @sp, @udf) ) --reference type or ( 2 = class and dp.referenced_major_id = t.relative_id and t.relative_type in (@uddt, @udt)) --reference xml namespace ( not supported by server right now ) --or ( 3 = class and dp.referenced_major_id = t.relative_id and @xml = t.relative_type ) join sys.objects as obj on obj.object_id = dp.object_id and obj.type in ( 'U', 'V', 'P', 'RF', 'PC', 'TR', 'TF', 'FN', 'IF', 'FS', 'FT', 'C') where @iter_no = t.rank set @rows = @rows + @@rowcount end -- 1 = @find_referencing_objects else begin -- find referenced objects --check references table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, dp.object_id, 77 /*place holder for check*/, @iter_no from #t1 as t join sys.sql_dependencies as dp on -- reference table class < 2 and dp.referenced_major_id = t.relative_id and t.relative_type = @u join sys.objects as obj on obj.object_id = dp.object_id and obj.type = 'C' where @iter_no = t.rank set @rowcount_ck = @@rowcount --view, procedure referenced by table, view, procedure --type referenced by procedure --check referenced by table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select distinct case when 77 = t.relative_type then obj2.parent_object_id else t.relative_id end, -- object_id case when 77 = t.relative_type then @u else relative_type end, -- object_type dp.referenced_major_id, -- relative_id case -- relative_type when dp.class < 2 then case when 'U' = obj.type then @u when 'V' = obj.type then @v when 'TR' = obj.type then @tr when obj.type in ( 'P', 'RF', 'PC' ) then @sp when obj.type in ( 'TF', 'FN', 'IF', 'FS', 'FT' ) then @udf when exists (select * from sys.synonyms syn where syn.object_id = dp.referenced_major_id ) then @synonym end when dp.class = 2 then (case when exists (select * from sys.assembly_types sat where sat.user_type_id = dp.referenced_major_id) then @udt else @uddt end) end, @iter_no + 1 from #t1 as t join sys.sql_dependencies as dp on -- reference table, view procedure ( class < 2 and dp.object_id = t.relative_id and t.relative_type in ( @u, @v, @sp, @udf, @tr, 77) ) --reference type or ( 2 = class and dp.object_id = t.relative_id ) --reference xml namespace ( not supported by server right now ) --or ( 3 = class and dp.referenced_major_id = t.relative_id and @xml = t.relative_type ) left join sys.objects as obj on obj.object_id = dp.referenced_major_id and dp.class < 2 and obj.type in ( 'U', 'V', 'P', 'RF', 'PC', 'TF', 'FN', 'IF', 'FS', 'FT', 'TR') left join sys.objects as obj2 on obj2.object_id = t.relative_id and 77 = t.relative_type where @iter_no = t.rank set @rows = @rows + @@rowcount if @rowcount_ck > 0 begin delete from #t1 where relative_type = 77 end --table or view referenced by trigger insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tr.parent_id, case o.type when 'V' then @v else @u end, @iter_no + 1 from #t1 as t join sys.triggers as tr on tr.object_id = t.relative_id join sys.objects as o on o.object_id = tr.parent_id where @iter_no = t.rank and t.relative_type = @tr set @rows = @rows + @@rowcount --table referenced by table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, fk.referenced_object_id, @u, @iter_no + 1 from #t1 as t join sys.foreign_keys as fk on fk.parent_object_id = t.relative_id where @iter_no = t.rank and t.relative_type = @u set @rows = @rows + @@rowcount --assembly referenced by assembly insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, ar.referenced_assembly_id, @assm, @iter_no + 1 from #t1 as t join sys.assembly_references as ar on ar.assembly_id = t.relative_id where @iter_no = t.rank and t.relative_type = @assm set @rows = @rows + @@rowcount --assembly referenced by udt insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, at.assembly_id, @assm, @iter_no + 1 from #t1 as t join sys.assembly_types as at on at.user_type_id = t.relative_id where @iter_no = t.rank and t.relative_type = @udt set @rows = @rows + @@rowcount -- assembly referenced by udf, sp, uda, trigger insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, am.assembly_id, @assm, @iter_no + 1 from #t1 as t join sys.assembly_modules as am on am.object_id = t.relative_id where @iter_no = t.rank and t.relative_type in ( @udf, @sp, @uda, @tr) set @rows = @rows + @@rowcount -- udt referenced by CLR udf, sp, uda insert #t1 (object_id, object_type, relative_id, relative_type, rank) select distinct t.relative_id, t.relative_type, at.user_type_id, @udt, @iter_no + 1 from #t1 as t join sys.parameters as sp on sp.object_id = t.relative_id join sys.assembly_modules as am on am.object_id = sp.object_id join sys.assembly_types as at on sp.user_type_id = at.user_type_id where @iter_no = t.rank and t.relative_type in (@udf, @sp, @uda) set @rows = @rows + @@rowcount --clr types referenced by tables ( types referenced by parameters are in sql_dependencies ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.user_type_id, @udt, @iter_no + 1 from #t1 as t join sys.columns as c on c.object_id = t.relative_id join sys.assembly_types as tp on tp.user_type_id = c.user_type_id where @iter_no = t.rank and t.relative_type = @u set @rows = @rows + @@rowcount end set @iter_no = @iter_no + 1 end --main loop --objects that don't need to be in the loop because they don't reference anybody if( 0 = @find_referencing_objects ) begin --alias types referenced by tables ( types referenced by parameters are in sql_dependencies ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.user_type_id, @uddt, @iter_no + 1 from #t1 as t join sys.columns as c on c.object_id = t.relative_id join sys.types as tp on tp.user_type_id = c.user_type_id and tp.schema_id != 4 -- sys where t.relative_type = @u and tp.user_type_id not in (select user_type_id from sys.assembly_types) if @@rowcount > 0 begin set @iter_no = @iter_no + 1 end --defaults referenced by types insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.default_object_id, @def, @iter_no + 1 from #t1 as t join sys.types as tp on tp.user_type_id = t.relative_id and tp.default_object_id > 0 join sys.objects as o on o.object_id = tp.default_object_id and 0 = isnull(o.parent_object_id, 0) where t.relative_type = @uddt --defaults referenced by tables( only default objects ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.default_object_id, @def, @iter_no + 1 from #t1 as t join sys.columns as clmns on clmns.object_id = t.relative_id join sys.objects as o on o.object_id = clmns.default_object_id and 0 = isnull(o.parent_object_id, 0) where t.relative_type = @u --rules referenced by types insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.rule_object_id, @rule, @iter_no + 1 from #t1 as t join sys.types as tp on tp.user_type_id = t.relative_id and tp.rule_object_id > 0 where t.relative_type = @uddt --rules referenced by tables insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.rule_object_id, @rule, @iter_no + 1 from #t1 as t join sys.columns as clmns on clmns.object_id = t.relative_id and clmns.rule_object_id > 0 where t.relative_type = @u --XmlSchemaCollections referenced by table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.xml_collection_id, @xml, @iter_no + 1 from #t1 as t join sys.columns as c on c.object_id = t.relative_id and c.xml_collection_id > 0 where t.relative_type = @u --XmlSchemaCollections referenced by procedures insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.xml_collection_id, @xml, @iter_no + 1 from #t1 as t join sys.parameters as c on c.object_id = t.relative_id and c.xml_collection_id > 0 where t.relative_type in ( @sp, @udf) --partition scheme referenced by table,view insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, ps.data_space_id, @part_sch, @iter_no + 1 from #t1 as t join sys.indexes as idx on idx.object_id = t.relative_id join sys.partition_schemes as ps on ps.data_space_id = idx.data_space_id where t.relative_type in (@u, @v) --partition function referenced by partition scheme insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, ps.function_id, @part_func, @iter_no + 1 from #t1 as t join sys.partition_schemes as ps on ps.data_space_id = t.relative_id where t.relative_type = @part_sch end --cleanup circular references delete #t1 where object_id = relative_id and object_type=relative_type --allow circular dependencies by cuting one of the branches --mark as soft links dependencies between tables or table depending on udf -- at script time we will need to take care to script fks and checks separately update #t1 set soft_link = 1 where ( object_type = @u and relative_type = @u ) or ( 0 = @find_referencing_objects and object_type = @u and relative_type = @udf ) or ( 1 = @find_referencing_objects and relative_type = @u and object_type = @udf ) --add independent objects first in the list insert #t1 ( object_id, object_type, rank) select t.relative_id, t.relative_type, 1 from #t1 t where t.relative_id not in ( select t2.object_id from #t1 t2 where not t2.object_id is null ) --delete initial objects delete #t1 where object_id is null -- compute the surrogate keys to make sorting easier update #t1 set object_key = object_id + convert(bigint, 0xfFFFFFFF) * object_type update #t1 set relative_key = relative_id + convert(bigint, 0xfFFFFFFF) * relative_type create index index_key on #t1 (object_key, relative_key) update #t1 set rank = 0 -- computing the degree of the nodes update #t1 set degree = ( select count(*) from #t1 t_alias where t_alias.object_key = #t1.object_key and t_alias.relative_id is not null and t_alias.soft_link is null) -- perform topological sorting set @iter_no=1 while 1=1 begin update #t1 set rank=@iter_no where degree=0 -- end the loop if no more rows left to process if (@@rowcount=0) break update #t1 set degree=NULL where rank = @iter_no update #t1 set degree = ( select count(*) from #t1 t_alias where t_alias.object_key = #t1.object_key and t_alias.relative_key is not null and t_alias.relative_key in (select t_alias2.object_key from #t1 t_alias2 where t_alias2.rank=0 and t_alias2.soft_link is null) and t_alias.rank=0 and t_alias.soft_link is null) where degree is not null set @iter_no=@iter_no+1 end --add name schema update #t1 set object_name = o.name, object_schema = schema_name(o.schema_id) from sys.objects AS o where o.object_id = #t1.object_id and object_type in ( @u, @udf, @v, @sp, @def, @rule, @uda) update #t1 set relative_type = case op.type when 'V' then @v else @u end, object_name = o.name, object_schema = schema_name(o.schema_id), relative_name = op.name, relative_schema = schema_name(op.schema_id) from sys.objects AS o join sys.objects AS op on op.object_id = o.parent_object_id where o.object_id = #t1.object_id and object_type = @tr update #t1 set object_name = t.name, object_schema = schema_name(t.schema_id) from sys.types AS t where t.user_type_id = #t1.object_id and object_type in ( @uddt, @udt ) update #t1 set object_name = x.name, object_schema = schema_name(x.schema_id) from sys.xml_schema_collections AS x where x.xml_collection_id = #t1.object_id and object_type = @xml update #t1 set object_name = p.name, object_schema = null from sys.partition_schemes AS p where p.data_space_id = #t1.object_id and object_type = @part_sch update #t1 set object_name = p.name, object_schema = null from sys.partition_functions AS p where p.function_id = #t1.object_id and object_type = @part_func update #t1 set object_name = a.name, object_schema = null from sys.assemblies AS a where a.assembly_id = #t1.object_id and object_type = @assm update #t1 set object_name = syn.name, object_schema = schema_name(syn.schema_id) from sys.synonyms AS syn where syn.object_id = #t1.object_id and object_type = @synonym -- delete objects for which we could not resolve the table name or schema -- because we may not have enough privileges delete from #t1 where object_name is null or (object_schema is null and object_type not in (@assm, @part_func, @part_sch)) --final select select object_id, object_type, relative_id, relative_type, object_name, object_schema, relative_name, relative_schema from #t1 order by rank, relative_id drop table #t1 drop table #tempdep IF @must_set_nocount_off > 0 set nocount off 2-- parameters: -- 1. create table #tempdep (objid int NOT NULL, objtype smallint NOT NULL) -- contains source objects -- 2. @find_referencing_objects defines ordering -- 1 order for drop -- 0 order for script declare @must_set_nocount_off bit set @must_set_nocount_off = 0 IF @@OPTIONS & 512 = 0 set @must_set_nocount_off = 1 set nocount on declare @u int declare @udf int declare @v int declare @sp int declare @def int declare @rule int declare @tr int declare @uddt int set @u = 3 set @udf = 0 set @v = 2 set @sp = 4 set @def = 6 set @rule = 7 set @tr = 8 --above 100 -> not in dbo.sysobjects set @uddt = 101 /* * Create #t1 as temp object holding areas. Columns are: * object_id - temp object id * object_type - temp object type * relative_id - parent or child object id * relative_type - parent or child object type * rank - NULL means dependencies not yet evaluated, else nonNULL. * soft_link - this row should not be used to compute ordering among objects * object_name - name of the temp object * object_schema - name the temp object's schema (if any) * relative_name - name of the relative object * relative_schema - name of the relative object's schema (if any) * degree - the number of relatives that the object has, will be used for computing the rank */ create table #t1( object_id int NULL, object_type smallint NULL, relative_id int NULL, relative_type smallint NULL, rank smallint NULL, soft_link bit NULL, object_name sysname NULL, object_schema sysname NULL, relative_name sysname NULL, relative_schema sysname NULL, degree int NULL ) create unique clustered index i1 on #t1(object_id, object_type, relative_id, relative_type) with IGNORE_DUP_KEY declare @iter_no int set @iter_no = 1 declare @rows int set @rows = 1 declare @rowcount_ck int set @rowcount_ck = 0 insert #t1 (relative_id, relative_type, rank) select l.objid, l.objtype, @iter_no from #tempdep l while @rows > 0 begin set @rows = 0 if( 1 = @find_referencing_objects ) begin --tables that reference types ( parameters that reference types are in sql_dependencies ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.id, case when o.type in ('U') then @u when o.type in ( 'P', 'RF', 'PC' ) then @sp when o.type in ( 'TF', 'FN', 'IF' ) then @udf end, @iter_no + 1 from #t1 as t join dbo.syscolumns as c on c.xusertype = t.relative_id join dbo.sysobjects as o on o.id = c.id and o.type in ( 'U', 'P', 'RF', 'PC', 'TF', 'FN', 'IF') where @iter_no = t.rank and t.relative_type=@uddt set @rows = @rows + @@rowcount --tables that reference defaults ( only default objects ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.id, @u, @iter_no + 1 from #t1 as t join dbo.syscolumns as clmns on clmns.cdefault = t.relative_id join dbo.sysobjects as o on o.id = t.relative_id and (o.category & 0x0800) = 0 where @iter_no = t.rank and t.relative_type = @def set @rows = @rows + @@rowcount --types that reference defaults ( only default objects ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.xusertype, @uddt, @iter_no + 1 from #t1 as t join dbo.systypes as tp on tp.tdefault = t.relative_id join dbo.sysobjects as o on o.id = t.relative_id and (o.category & 0x0800) = 0 where @iter_no = t.rank and t.relative_type = @def set @rows = @rows + @@rowcount --tables that reference rules insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.id, @u, @iter_no + 1 from #t1 as t join dbo.syscolumns as clmns on clmns.domain = t.relative_id where @iter_no = t.rank and t.relative_type = @rule set @rows = @rows + @@rowcount --types that reference rules insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.xusertype, @uddt, @iter_no + 1 from #t1 as t join dbo.systypes as tp on tp.domain = t.relative_id where @iter_no = t.rank and t.relative_type = @rule set @rows = @rows + @@rowcount --table references table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, fk.fkeyid, @u, @iter_no + 1 from #t1 as t join dbo.sysreferences as fk on fk.rkeyid = t.relative_id where @iter_no = t.rank and t.relative_type = @u set @rows = @rows + @@rowcount --view, procedure references table, view, procedure --table(check) references procedure --trigger references table, procedure insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, case when 'C' = o.type then o.parent_obj else dp.id end, case when o.type in ('U', 'C') then @u when 'V' = o.type then @v when 'TR' = o.type then @tr when o.type in ( 'P', 'RF', 'PC' ) then @sp when o.type in ( 'TF', 'FN', 'IF' ) then @udf end, @iter_no + 1 from #t1 as t join dbo.sysdepends as dp on dp.depid = t.relative_id and t.relative_type in ( @u, @v, @sp, @udf) join dbo.sysobjects as o on o.id = dp.id and o.type in ( 'U', 'V', 'P', 'RF', 'PC', 'TR', 'TF', 'FN', 'IF', 'C') where @iter_no = t.rank set @rows = @rows + @@rowcount end -- 1 = @find_referencing_objects else begin -- find referenced objects --check references table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, dp.id, 77 /*place holder for check*/, @iter_no from #t1 as t join dbo.sysdepends as dp on dp.depid = t.relative_id and t.relative_type in (@u, @udf) join dbo.sysobjects as obj on obj.id = dp.id and obj.type = 'C' where @iter_no = t.rank set @rowcount_ck = @@rowcount --view, procedure referenced by table, view, procedure --type referenced by procedure --check referenced by table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select case when 77 = t.relative_type then obj2.parent_obj else t.relative_id end, case when 77 = t.relative_type then @u else relative_type end, dp.depid, case when 'U' = obj.type then @u when 'V' = obj.type then @v when 'TR' = obj.type then @tr when obj.type in ( 'P', 'RF', 'PC' ) then @sp when obj.type in ( 'TF', 'FN', 'IF' ) then @udf end, @iter_no + 1 from #t1 as t join dbo.sysdepends as dp on dp.id = t.relative_id and t.relative_type in ( @u, @v, @sp, @udf, @tr, 77) join dbo.sysobjects as obj on obj.id = dp.depid and obj.type in ( 'U', 'V', 'P', 'RF', 'PC', 'TF', 'FN', 'IF', 'TR') left join dbo.sysobjects as obj2 on obj2.id = t.relative_id and 77 = t.relative_type where @iter_no = t.rank set @rows = @rows + @@rowcount if @rowcount_ck > 0 begin delete from #t1 where relative_type = 77 end --table or view referenced by trigger insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tr.parent_obj, case o.type when 'V' then @v else @u end, @iter_no + 1 from #t1 as t join dbo.sysobjects as tr on tr.id = t.relative_id join dbo.sysobjects as o on o.id = tr.parent_obj where @iter_no = t.rank and t.relative_type = @tr set @rows = @rows + @@rowcount --table referenced by table insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, fk.rkeyid, @u, @iter_no + 1 from #t1 as t join dbo.sysreferences as fk on fk.fkeyid = t.relative_id where @iter_no = t.rank and t.relative_type = @u set @rows = @rows + @@rowcount end set @iter_no = @iter_no + 1 end --main loop --objects that don't need to be in the loop because they don't reference anybody if( 0 = @find_referencing_objects ) begin --alias types referenced by tables insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, c.xusertype, @uddt, @iter_no + 1 from #t1 as t join dbo.syscolumns as c on c.id = t.relative_id join dbo.systypes as tp on tp.xusertype = c.xusertype and tp.xusertype > 256 where t.relative_type in ( @u, @sp, @udf ) if @@rowcount > 0 begin set @iter_no = @iter_no + 1 end --defaults referenced by types insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.tdefault, @def, @iter_no + 1 from #t1 as t join dbo.systypes as tp on tp.xusertype = t.relative_id and tp.tdefault > 0 join dbo.sysobjects as o on o.id = t.relative_id and (o.category & 0x0800) = 0 where t.relative_type = @uddt --defaults referenced by tables( only default objects ) insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.cdefault, @def, @iter_no + 1 from #t1 as t join dbo.syscolumns as clmns on clmns.id = t.relative_id join dbo.sysobjects as o on o.id = clmns.cdefault and (o.category & 0x0800) = 0 where t.relative_type = @u --rules referenced by types insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, tp.domain, @rule, @iter_no + 1 from #t1 as t join dbo.systypes as tp on tp.xusertype = t.relative_id and tp.domain != 0 where t.relative_type = @uddt --rules referenced by tables insert #t1 (object_id, object_type, relative_id, relative_type, rank) select t.relative_id, t.relative_type, clmns.domain, @rule, @iter_no + 1 from #t1 as t join dbo.syscolumns as clmns on clmns.id = t.relative_id and clmns.domain != 0 where t.relative_type = @u end --cleanup circular references delete #t1 where object_id = relative_id and object_type=relative_type --allow circular dependencies by cuting one of the branches --mark as soft links dependencies between tables or table depending on udf -- at script time we will need to take care to script fks and checks separately update #t1 set soft_link = 1 where ( object_type = @u and relative_type = @u ) or ( 0 = @find_referencing_objects and object_type = @u and relative_type = @udf ) or ( 1 = @find_referencing_objects and relative_type = @u and object_type = @udf ) --add independent objects first in the list insert #t1 ( object_id, object_type, rank) select t.relative_id, t.relative_type, 1 from #t1 t where t.relative_id not in ( select t2.object_id from #t1 t2 where not t2.object_id is null ) --delete initial objects delete #t1 where object_id is null update #t1 set rank = 0 -- computing the degree of the nodes update #t1 set degree = ( select count(*) from #t1 t_alias where t_alias.object_id = #t1.object_id and t_alias.relative_id is not null and t_alias.soft_link is null) -- perform topological sorting set @iter_no=1 while 1=1 begin update #t1 set rank=@iter_no where degree=0 -- end the loop if no more rows left to process if (@@rowcount=0) break update #t1 set degree=NULL where rank = @iter_no update #t1 set degree = ( select count(*) from #t1 t_alias where t_alias.object_id = #t1.object_id and t_alias.relative_id is not null and t_alias.relative_id in (select t_alias2.object_id from #t1 t_alias2 where t_alias2.rank=0 and t_alias2.soft_link is null) and t_alias.rank=0 and t_alias.soft_link is null) where degree is not null set @iter_no=@iter_no+1 end --add name schema update #t1 set object_name = o.name, object_schema = user_name(o.uid) from dbo.sysobjects AS o where o.id = object_id and object_type in ( @u, @udf, @v, @sp, @def, @rule) update #t1 set object_name = o.name, relative_type = case op.type when 'V' then @v else @u end, object_schema = user_name(o.uid), relative_name = op.name, relative_schema = user_name(op.uid) from dbo.sysobjects AS o join dbo.sysobjects AS op on op.id = o.parent_obj where o.id = object_id and object_type = @tr update #t1 set object_name = t.name, object_schema = user_name(t.uid) from dbo.systypes AS t where t.xusertype = object_id and object_type = @uddt -- delete objects for which we could not resolve the table name or schema -- because we may not have enough privileges delete from #t1 where object_name is null or object_schema is null --final select select object_id, object_type, relative_id, relative_type, object_name, object_schema, relative_name, relative_schema from #t1 order by rank, relative_id drop table #t1 drop table #tempdep IF @must_set_nocount_off > 0 set nocount off  ownobj.type not in ( 'K', 'S' ) ownobj_parent.id = ownobj.parent_obj null null null null U ownobj.type not in ('PK', 'C ', 'F ', 'UQ') and ( ownobj.type != 'D' or 0 = ownobj.parent_object_id) ownobj_parent.object_id = ownobj.parent_object_id null ownobj.schema_id != 4 null ownobj.schema_id != 4 null  ftl.name ftl.lcid  spi.object_name spi.counter_name ISNULL(spi.instance_name,N'')  DECLARE @instance_name sysname SELECT @instance_name = null SELECT @instance_name = N'SQLAgent:' DECLARE @instance_name sysname SELECT @instance_name = CONVERT(sysname, SERVERPROPERTY('InstanceName')) IF @instance_name IS NULL SELECT @instance_name = N'SQLAgent:' ELSE SELECT @instance_name = N'MSSQLAgent$' + @instance_name + N':' CREATE TABLE #temp_agent_perf_info(object_name nvarchar(256), counter_name nvarchar(256), instance_name nvarchar(256)) CREATE TABLE #temp_job_instances (instance_name nvarchar(20)) INSERT INTO #temp_job_instances VALUES(N'_Total') INSERT INTO #temp_job_instances VALUES(N'Schedules') INSERT INTO #temp_job_instances VALUES(N'Alerts') INSERT INTO #temp_job_instances VALUES(N'Others') -- Job object INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'Jobs' , N'Active Jobs', s.instance_name FROM #temp_job_instances s INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'Jobs' , N'Successful jobs', s.instance_name FROM #temp_job_instances s INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'Jobs' , N'Failed jobs', s.instance_name FROM #temp_job_instances s INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'Jobs' , N'Successful jobs ratio', s.instance_name FROM #temp_job_instances s INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'Jobs' , N'Jobs launched/min', s.instance_name FROM #temp_job_instances s INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'Jobs' , N'Queued jobs', s.instance_name FROM #temp_job_instances s --JobStep object CREATE TABLE #temp_jobstep_instances (subsystem NVARCHAR(40) NULL) insert #temp_jobstep_instances values('ActiveScripting') insert #temp_jobstep_instances values('CmdExec') insert #temp_jobstep_instances values('TSQL') -- Check if replication is installed DECLARE @replication_installed int EXECUTE master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\Replication', N'IsInstalled', @replication_installed OUTPUT, N'no_output' EXECUTE master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\Replication', N'IsInstalled', @replication_installed OUTPUT, N'no_output' SELECT @replication_installed = ISNULL(@replication_installed, 0) if 1 = @replication_installed begin insert #temp_jobstep_instances values('Distribution') insert #temp_jobstep_instances values('LogReader') insert #temp_jobstep_instances values('Merge') insert #temp_jobstep_instances values('Snapshot') end if 1 = @replication_installed begin insert #temp_jobstep_instances values('QueueReader') end CREATE TABLE #temp_jobstep_instances (subsystem NVARCHAR(40) NULL, description NVARCHAR(80) NULL, subsystem_dll NVARCHAR(255) NULL, agent_exe NVARCHAR(80) NULL, start_entry_point NVARCHAR(30) NULL, event_entry_point NVARCHAR(30) NULL, stop_entry_point NVARCHAR(30) NULL, max_worker_threads INT NULL, subsystem_id INT NULL) INSERT #temp_jobstep_instances EXEC msdb.dbo.sp_enum_sqlagent_subsystems INSERT #temp_jobstep_instances ( subsystem ) VALUES (N'_Total') INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'JobSteps' , N'Active steps', s.subsystem FROM #temp_jobstep_instances s INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'JobSteps' , N'Queued steps', s.subsystem FROM #temp_jobstep_instances s INSERT INTO #temp_agent_perf_info SELECT @instance_name + N'JobSteps' , N'Total Step Retries', s.subsystem FROM #temp_jobstep_instances s --Alert object INSERT INTO #temp_agent_perf_info VALUES(@instance_name + N'Alert' , N'Activated Alerts', NULL) INSERT INTO #temp_agent_perf_info VALUES(@instance_name + N'Alert' , N'Alerts/min', NULL) --General object INSERT INTO #temp_agent_perf_info VALUES(@instance_name + N'Statistics' , N'Server Restarted', NULL) DROP TABLE #temp_job_instances DROP TABLE #temp_agent_perf_info DROP TABLE #temp_jobstep_instances spi.object_name spi.counter_name ISNULL(spi.instance_name,N'')  declare @scmPath sysname select @scmPath = N'Software\Microsoft\MSSQLServer\SQLServerSCP' declare @SmoActiveDirectory sysname exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @scmPath, N'objectGUID', @SmoActiveDirectory OUTPUT DECLARE @res INT CREATE table #temp_ad(result BIT) EXECUTE @res = master.dbo.xp_MSADEnabled if @res = 0 INSERT INTO #temp_ad VALUES (1) else INSERT INTO #temp_ad VALUES (0) DROP table #temp_ad ad.result CASE WHEN (@SmoActiveDirectory IS NULL) THEN 0 ELSE 1 END  declare @SmoActiveDirectory sysname declare @RegPath nvarchar(1024) select @RegPath = N'Software\Microsoft\MSSQLServer\SQLServerSCP\' + db_name() exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @RegPath, N'objectGUID', @SmoActiveDirectory OUTPUT CASE WHEN (@SmoActiveDirectory IS NULL) THEN 0 ELSE 1 END  null  usr.uid >= 16384 and usr.uid <= 16393 and spv.type = 'DBR' and ((usr.uid = 16384 and spv.number >= 16384 and spv.number < 16392) or (usr.uid <> 16384 and usr.uid = spv.number)) and spv.low > 0 usr.name spv.name $ prmssn.id = 0 prmssn.class = 0 null  val1.number = prmssn.protecttype and val1.type = 'T' val2.number = prmssn.action and val2.type = 'T' grantee_principal.uid = prmssn.uid grantor_principal.uid = prmssn.grantor grantee_principal.principal_id = prmssn.grantee_principal_id grantor_principal.principal_id = prmssn.grantor_principal_id grantee_principal.name + N'_' + convert(nvarchar(10), (CASE when 1 = grantee_principal.issqlrole THEN 3 WHEN 1 = grantee_principal.isapprole THEN 4 ELSE 2 END)) + N'_' + grantor_principal.name + N'_' + convert(nvarchar(10), (CASE when 1 = grantor_principal.issqlrole THEN 3 WHEN 1 = grantor_principal.isapprole THEN 4 ELSE 2 END)) + N'_' + convert(nvarchar(10), (prmssn.id)) + N'_' + convert(nvarchar(10), prmssn.protecttype) + N'_' + convert(nvarchar(10), prmssn.action) grantee_principal.name CASE when 1 = grantee_principal.issqlrole THEN 3 WHEN 1 = grantee_principal.isapprole THEN 4 ELSE 2 END grantor_principal.name CASE when 1 = grantor_principal.issqlrole THEN 3 WHEN 1 = grantor_principal.isapprole THEN 4 ELSE 2 END CASE prmssn.id WHEN 0 THEN 0 ELSE 1 END CASE prmssn.protecttype WHEN 204 THEN 87 WHEN 205 THEN 71 WHEN 206 THEN 68 END prmssn.protecttype val1.name val2.name grantee_principal.name + N'_' + convert(nvarchar(10), (CASE grantee_principal.type WHEN 'R' THEN 3 WHEN 'A' THEN 4 ELSE 2 END - CASE '{0}' WHEN 'database' THEN 0 ELSE 2 END)) + N'_' + grantor_principal.name + N'_' + convert(nvarchar(10), (CASE grantor_principal.type WHEN 'R' THEN 3 WHEN 'A' THEN 4 ELSE 2 END - CASE '{0}' WHEN 'database' THEN 0 ELSE 2 END)) + N'_' + convert(nvarchar(10), (CASE WHEN (prmssn.class=4 or prmssn.class=100 )THEN CASE (SELECT oc.type FROM sys.{0}_principals AS oc WHERE oc.principal_id = prmssn.major_id) WHEN 'R' THEN 201 WHEN 'A' THEN 202 ELSE 200 END + CASE prmssn.class WHEN 4 THEN 0 ELSE 100 END ELSE prmssn.class END)) + N'_' + convert(nvarchar(10), ascii(prmssn.state)) + N'_' + convert(varchar(10), convert(varbinary(10), prmssn.type)) grantee_principal.name CASE grantee_principal.type WHEN 'R' THEN 3 WHEN 'A' THEN 4 ELSE 2 END - CASE '{0}' WHEN 'database' THEN 0 ELSE 2 END grantor_principal.name CASE grantor_principal.type WHEN 'R' THEN 3 WHEN 'A' THEN 4 ELSE 2 END - CASE '{0}' WHEN 'database' THEN 0 ELSE 2 END CASE WHEN (prmssn.class=4 or prmssn.class=100 )THEN CASE (SELECT oc.type FROM sys.{0}_principals AS oc WHERE oc.principal_id = prmssn.major_id) WHEN 'R' THEN 201 WHEN 'A' THEN 202 ELSE 200 END + CASE prmssn.class WHEN 4 THEN 0 ELSE 100 END ELSE prmssn.class END ascii(prmssn.state) prmssn.type prmssn.state  null  null  prmssn.class = 100 null  (( prmssn.action in (193, 197) and ((prmssn.columns & 1) = 1) ) or ( prmssn.action in (195, 196, 224, 26) )) and (convert(tinyint, substring( isnull(prmssn.columns, 0x01), a.low, 1)) & a.high != 0) and a.type = N'P' and a.number = 0 prmssn.minor_id = 0 O null K null ? obj.object_id = prmssn.major_id and prmssn.class = 1 null object_name(prmssn.id) user_name(prmssn.uid) null prmssn.id obj.name schema_name(obj.schema_id) COL_NAME(prmssn.major_id,prmssn.minor_id) prmssn.major_id obj.schema_id = prmssn.major_id and prmssn.class = 3 null obj.name null null prmssn.major_id obj.principal_id = prmssn.major_id and prmssn.class = 4 null obj.name null null prmssn.major_id obj.assembly_id = prmssn.major_id and prmssn.class = 5 null obj.name null null prmssn.major_id obj.user_type_id = prmssn.major_id and prmssn.class = 6 null obj.name null null prmssn.major_id obj.fulltext_catalog_id = prmssn.major_id and prmssn.class = 23 null obj.name null null prmssn.major_id q sp.principal_id = prmssn.major_id and prmssn.class = 101 null sp.name NULL NULL prmssn.major_id c.certificate_id = prmssn.major_id and prmssn.class = 106 null c.name NULL NULL prmssn.major_id e.endpoint_id = prmssn.major_id and prmssn.class = 105 null e.name NULL NULL prmssn.major_id  sms.error < 50001 sms.msglangid = sl.lcid sms.message_id < 50001 sms.language_id = sl.lcid sms.error sms.dlevel sms.severity sms.description sms.msglangid sl.name sms.message_id sms.is_event_logged sms.severity sms.text sms.language_id sl.name F sms.error > 50000 sms.msglangid = sl.lcid sms.message_id > 50000 sms.language_id = sl.lcid sms.error sms.dlevel sms.severity sms.description sms.msglangid sl.name sms.message_id sms.is_event_logged sms.severity sms.text sms.language_id sl.name  N'' N'' N'' N''  drop table #contig_tmp declare @database_id int select @database_id = db_id() null null null null null null null null fi.Level fi.Pages fi.Rows fi.MinimumRecordSize fi.MaximumRecordSize fi.AverageRecordSize fi.ForwardedRecords fi.Extents fi.ExtentSwitches fi.AverageFreeBytes fi.AvgPageFullness fi.ScanDensity fi.BestCount fi.ActualCount fi.LogicalFragmentation fi.ExtentFragmentation fi.index_depth fi.page_count fi.record_count fi.min_record_size_in_bytes fi.max_record_size_in_bytes fi.avg_record_size_in_bytes fi.forwarded_record_count fi.avg_page_space_used_in_percent fi.index_type_desc fi.partition_number fi.ghost_record_count fi.version_ghost_record_count fi.avg_fragmentation_in_percent C ; ; L ! dmi.database_id = dtb.database_id dtb.status & 1 dtb.status & 4194304 dtb.is_ansi_null_default_on dtb.is_ansi_nulls_on dtb.is_ansi_padding_on dtb.is_ansi_warnings_on dtb.is_arithabort_on dtb.is_auto_close_on dtb.is_auto_create_stats_on dtb.is_auto_shrink_on dtb.is_auto_update_stats_on dtb.is_cursor_close_on_commit_on dtb.is_concat_null_yields_null_on dtb.is_numeric_roundabort_on dtb.is_quoted_identifier_on dtb.is_read_only dtb.is_recursive_triggers_on dtb.is_local_cursor_default dtb.page_verify_option dtb.recovery_model dtb.user_access dtb.snapshot_isolation_state dtb.is_db_chaining_on dtb.is_auto_update_stats_async_on dtb.is_date_correlation_on dtb.is_broker_enabled dtb.is_trustworthy_on dtb.is_parameterization_forced (case dmi.mirroring_redo_queue_type when N'UNLIMITED' then 0 else dmi.mirroring_redo_queue end) dmi.mirroring_connection_timeout DATABASEPROPERTYEX(dtb.name, 'IsAnsiNullDefault') DATABASEPROPERTYEX(dtb.name, 'IsAnsiNullsEnabled') DATABASEPROPERTYEX(dtb.name, 'IsAnsiPaddingEnabled') DATABASEPROPERTYEX(dtb.name, 'IsAnsiWarningsEnabled') DATABASEPROPERTYEX(dtb.name, 'IsArithmeticAbortEnabled') DATABASEPROPERTYEX(dtb.name, 'IsAutoCreateStatistics') DATABASEPROPERTYEX(dtb.name, 'IsAutoUpdateStatistics') DATABASEPROPERTYEX(dtb.name, 'IsCloseCursorsOnCommitEnabled') DATABASEPROPERTYEX(dtb.name, 'IsNullConcat') DATABASEPROPERTYEX(dtb.name, 'IsNumericRoundAbortEnabled') DATABASEPROPERTYEX(dtb.name, 'IsQuotedIdentifiersEnabled') DATABASEPROPERTY(dtb.name, 'IsReadOnly') DATABASEPROPERTYEX(dtb.name, 'IsRecursiveTriggersEnabled') DATABASEPROPERTYEX(dtb.name, 'IsLocalCursorsDefault') CASE WHEN 1=DATABASEPROPERTYEX(dtb.name, 'IsTornPageDetectionEnabled') THEN 1 ELSE 0 END CASE DATABASEPROPERTYEX(dtb.name, 'Recovery') WHEN 'SIMPLE' THEN 3 WHEN 'BULK_LOGGED' THEN 2 ELSE /*FULL*/ 1 END CASE CONVERT(sysname,DATABASEPROPERTYEX(dtb.name, 'UserAccess')) WHEN 'SINGLE_USER' THEN 1 WHEN 'RESTRICTED_USER' THEN 2 ELSE /*MULTI_USER*/ 0 END 1 DATABASEPROPERTY(dtb.name, 'IsAnsiNullDefault') DATABASEPROPERTY(dtb.name, 'IsAnsiNullsEnabled') DATABASEPROPERTY(dtb.name, 'IsAnsiWarngingsEnabled') DATABASEPROPERTY(dtb.name, 'IsAutoCreateStatistics') DATABASEPROPERTY(dtb.name, 'IsAutoUpdateStatistics') DATABASEPROPERTY(dtb.name, 'IsCloseCursorsOnCommitEnabled') DATABASEPROPERTY(dtb.name, 'IsQuotedIdentifiersEnabled') DATABASEPROPERTY(dtb.name, 'IsRecursiveTriggersEnabled') DATABASEPROPERTY(dtb.name, 'IsLocalCursorsDefault') CASE WHEN 1=DATABASEPROPERTY(dtb.name, 'IsTruncLog') THEN CASE WHEN 1=DATABASEPROPERTY(dtb.name, 'IsBulkCopy') THEN NULL ELSE 3/*SIMPLE=trunc. log on chkpt.*/ END WHEN 1=DATABASEPROPERTY(dtb.name, 'IsBulkCopy') THEN 2 /*BULK_LOGGED*/ ELSE 1 END /*FULL*/ CASE DATABASEPROPERTY(dtb.name, 'IsSingleUser') WHEN 1 THEN 1 ELSE (CASE DATABASEPROPERTY(dtb.name,'IsDboOnly') WHEN 0 THEN 0/*MULTI_USER*/ ELSE 1 END) END  param.number = 1 CASE param.isoutparam WHEN 1 THEN param.isoutparam WHEN 0 THEN CASE param.name WHEN '' THEN 1 ELSE 0 END END param.is_output   s.name s.id s.description s.create_date s.owner s.version_major s.version_minor s.version_build s.version_comments A sp.subplan_name sp.subplan_id sp.subplan_description sp.job_id sp.schedule_id  spl.task_detail_id spl.start_time spl.end_time spl.succeeded - ld.line1 ld.line2 ld.line3 ld.line4 ld.line5 ld.server_name ld.start_time ld.end_time ld.error_number ld.error_message ld.command ld.succeeded  s.plan_id s.plan_name s.date_created s.owner s.max_history_rows s.remote_history_server s.max_remote_history_rows s.log_shipping  l.database_name l.mark_name l.description l.user_name l.lsn l.mark_time J sc.credential_id = tshp.credential_id create table #tmp_sp_help_proxy(proxy_id int null, name nvarchar(128) null, credential_identity nvarchar(128) null, enabled tinyint null, description nvarchar(1024) null, user_sid varbinary(40) null, credential_id int null, credential_identity_exists int null) insert into #tmp_sp_help_proxy(proxy_id, name, credential_identity, enabled, description, user_sid, credential_id, credential_identity_exists) exec msdb.dbo.sp_help_proxy drop table #tmp_sp_help_proxy tshp.name tshp.proxy_id tshp.enabled ISNULL(tshp.description,N'') tshp.credential_id ISNULL(sc.name,N'') ISNULL(tshp.credential_identity,N'') b  create table #tmp_sp_enum_sqlagent_subsystems (subsystem nvarchar(max) null, description nvarchar(max) null, subsystem_dll nvarchar(max) null, agent_exe nvarchar(max) null, start_entry_point nvarchar(max) null, event_entry_point nvarchar(max) null, stop_entry_point nvarchar(max) null, max_worker_threads int null, subsystem_id int null) create table #tmp_sp_help_proxy_subsystem(subsystem nvarchar(max) null, proxy_id int null, name nvarchar(128) null, credential_identity nvarchar(128) null, enabled tinyint null, description nvarchar(1024) null, user_sid varbinary(40) null, credential_id int null, credential_identity_exists int null) insert into #tmp_sp_enum_sqlagent_subsystems(subsystem, description, subsystem_dll, agent_exe, start_entry_point, event_entry_point, stop_entry_point, max_worker_threads, subsystem_id) exec msdb.dbo.sp_enum_sqlagent_subsystems declare @subsystem nvarchar(max) declare @login sysname set @login = suser_sname() declare crs insensitive cursor for ( select subsystem from #tmp_sp_enum_sqlagent_subsystems ) for read only open crs fetch crs into @subsystem while @@fetch_status >= 0 begin if 'TSQL' != @subsystem begin insert into #tmp_sp_help_proxy_subsystem(proxy_id, name, credential_identity, enabled, description, user_sid, credential_id, credential_identity_exists) exec msdb.dbo.sp_help_proxy @subsystem_name = @subsystem, @name = @login update #tmp_sp_help_proxy_subsystem set subsystem = @subsystem where subsystem is null end fetch crs into @subsystem end close crs deallocate crs drop table #tmp_sp_help_proxy_subsystem drop table #tmp_sp_enum_sqlagent_subsystems tsepfs.subsystem Q create table #tmp_sp_enum_login_for_proxy(proxy_id int null, proxy_name nvarchar(128), flags int null, name nvarchar(128) null, sid varbinary(85) null, principal_id int null ) insert into #tmp_sp_enum_login_for_proxy(proxy_id, proxy_name, flags, name, sid, principal_id) exec msdb.dbo.sp_enum_login_for_proxy drop table #tmp_sp_enum_login_for_proxy spl.name spl.flags  c.name c.certificate_id user_name(c.principal_id) case c.pvt_key_encryption_type when 'NA' then 0 when 'MK' then 1 when 'PW' then 2 end c.issuer_name c.cert_serial_number c.sid c.subject c.expiry_date c.start_date c.thumbprint c.is_active_for_begin_dialog  o.provider_name=op.Name create table #OLEDBProv (id int identity(1,1), Name sysname NOT NULL, ParseName sysname NOT NULL,Description sysname NOT NULL ) insert #OLEDBProv (Name, ParseName,Description) EXECUTE master.dbo.xp_enum_oledb_providers insert #OLEDBProv (Name, ParseName,Description) EXECUTE master.dbo.sp_enum_oledb_providers delete from #OLEDBProv where exists ( select 1 from #OLEDBProv oprov where oprov.Name = #OLEDBProv.Name and oprov.id < #OLEDBProv.id ) create table #oledbprop (allow_in_process bit, disallow_adhoc_access bit, dynamic_parameters bit, index_as_access_path bit, level_zero_only bit, nested_queries bit, non_transacted_updates bit, sql_server_like bit, provider_name sysname null) declare name_cursor cursor local fast_forward FOR (select Name from #OLEDBProv) open name_cursor DECLARE @providername sysname FETCH NEXT FROM name_cursor INTO @providername WHILE (@@FETCH_STATUS <> -1) BEGIN IF (@@FETCH_STATUS <> -2) BEGIN SELECT @providername = RTRIM(@providername) declare @regpath nvarchar(255) set @regpath = N'SOFTWARE\Microsoft\MSSQLServer\Providers\' + @providername declare @allow_in_process int declare @disallow_adhoc_access int declare @dynamic_parameters int declare @index_as_access_path int declare @level_zero_only int declare @nested_queries int declare @non_transacted_updates int declare @sql_server_like int exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'AllowInProcess', @allow_in_process OUTPUT exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'DisallowAdHocAccess', @disallow_adhoc_access OUTPUT exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'DynamicParameters', @dynamic_parameters OUTPUT exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'IndexAsAccessPath', @index_as_access_path OUTPUT exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'LevelZeroOnly', @level_zero_only OUTPUT exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'NestedQueries', @nested_queries OUTPUT exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'NonTransactedUpdates', @non_transacted_updates OUTPUT exec master.dbo.xp_regread N'HKEY_LOCAL_MACHINE', @regpath, 'SqlServerLIKE', @sql_server_like OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'AllowInProcess', @allow_in_process OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'DisallowAdHocAccess', @disallow_adhoc_access OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'DynamicParameters', @dynamic_parameters OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'IndexAsAccessPath', @index_as_access_path OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'LevelZeroOnly', @level_zero_only OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'NestedQueries', @nested_queries OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'NonTransactedUpdates', @non_transacted_updates OUTPUT exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', @regpath, 'SqlServerLIKE', @sql_server_like OUTPUT insert #oledbprop (allow_in_process, disallow_adhoc_access, dynamic_parameters, index_as_access_path, level_zero_only, nested_queries, non_transacted_updates, sql_server_like, provider_name) select IsNull(@allow_in_process, 0), IsNull(@disallow_adhoc_access, 0), IsNull(@dynamic_parameters, 0), IsNull(@index_as_access_path, 0), IsNull(@level_zero_only, 0), IsNull(@nested_queries, 0), IsNull(@non_transacted_updates, 0), IsNull(@sql_server_like, 0), @providername END FETCH NEXT FROM name_cursor INTO @providername END CLOSE name_cursor DEALLOCATE name_cursor create table #oledbprop (allow_in_process bit, disallow_adhoc_access bit, dynamic_parameters bit, index_as_access_path bit, level_zero_only bit, nested_queries bit, non_transacted_updates bit, sql_server_like bit, provider_name sysname null) declare name_cursor cursor local fast_forward FOR (select Name from #OLEDBProv) open name_cursor DECLARE @providername sysname FETCH NEXT FROM name_cursor INTO @providername WHILE (@@FETCH_STATUS <> -1) BEGIN IF (@@FETCH_STATUS <> -2) BEGIN SELECT @providername = RTRIM(@providername) insert #oledbprop (provider_name, allow_in_process, disallow_adhoc_access, dynamic_parameters, index_as_access_path, level_zero_only, nested_queries, non_transacted_updates, sql_server_like) exec master.dbo.sp_MSset_oledb_prop @providername END FETCH NEXT FROM name_cursor INTO @providername END CLOSE name_cursor DEALLOCATE name_cursor drop table #oledbprop drop table #OLEDBProv op.Name op.Description o.allow_in_process o.disallow_adhoc_access o.dynamic_parameters o.index_as_access_path o.level_zero_only o.nested_queries o.non_transacted_updates o.sql_server_like # drop table #fulltext_log_tmp er.ArchiveNo er.ArchiveNo CONVERT(datetime, er.CreateDate, 101) er.Size  create table #err_fulltext_text_tmp(Text nvarchar(4000), ArchiveNo int null, ctlgid int null, LogDate datetime null, ProcessInfo nvarchar(100) null) declare @text_offset int declare @process_info_length int set @text_offset = 34 set @process_info_length = 10 drop table #err_fulltext_text_tmp ert.LogDate ert.ProcessInfo ert.Text Y dmw.database_name dmw.principal_server_name dmw.mirror_server_name dmw.safety_level dmw.safety_sequence_number dmw.role_sequence_number dmw.mirroring_guid dmw.family_guid dmw.is_suspended dmw.is_suspended_sequence_number  xsc.schema_id <> 4 xsc.schema_id = sch.schema_id xsc.name xsc.xml_collection_id sch.name xsc.create_date xsc.modify_date XML_SCHEMA_NAMESPACE(sch.Name, xsc.name)  xsc2.xml_collection_id = xn.xml_collection_id xsc.schema_id = sch2.schema_id xn.name xn.xml_namespace_id XML_SCHEMA_NAMESPACE(sch2.Name, xsc2.name, xn.name)  comp.name comp.xml_component_id comp.xml_namespace_id comp.is_qualified (case comp.kind when 'N' then 1 when 'Z' then 2 when 'P' then 3 when 'S' then 4 when 'L' then 5 when 'U' then 6 when 'C' then 7 when 'K' then 8 when 'E' then 9 when 'M' then 10 when 'W' then 11 when 'A' then 12 when 'G' then 13 when 'V' then 14 else 1 end) (case comp.derivation when 'N' then 1 when 'X' then 2 when 'R' then 3 when 'S' then 4 else 1 end) comp.base_xml_component_id comp.scoping_xml_component_id  * s.name s.credential_id s.credential_identity s.create_date s.modify_date / create table #tmp_sysmail_help_profile(profile_id int, name nvarchar(128), description nvarchar(256) null) insert into #tmp_sysmail_help_profile(profile_id, name, description) exec msdb.dbo.sysmail_help_profile_sp drop table #tmp_sysmail_help_profile tshp.name tshp.profile_id ISNULL(tshp.description,N'')  create table #tmp_sysmail_help_account(account_id int, name nvarchar(128), description nvarchar(256) null, email_address nvarchar(128) null, display_name nvarchar(128) null, replyto_address nvarchar(128) null, servertype nvarchar(128), servername nvarchar(128), port int, username nvarchar(128), use_default_credentials bit, enable_ssl bit) insert into #tmp_sysmail_help_account(account_id, name, description, email_address, display_name, replyto_address, servertype, servername, port, username, use_default_credentials, enable_ssl) exec msdb.dbo.sysmail_help_account_sp drop table #tmp_sysmail_help_account tsha.name tsha.account_id ISNULL(tsha.description, N'') tsha.email_address ISNULL(tsha.display_name, N'') ISNULL(tsha.replyto_address, N'')  create table #tmp_sysmail_help_configure(paramname nvarchar(256), paramvalue nvarchar(256) null, description nvarchar(256) null) insert into #tmp_sysmail_help_configure(paramname, paramvalue, description) exec msdb.dbo.sysmail_help_configure_sp drop table #tmp_sysmail_help_configure tshc.paramname tshc.paramvalue tshc.description o  {0}.name {0}.id {0}.crdate {0}.name {0}.object_id {0}.create_date {0}.modify_date  tr.parent_class = 0 am2tr.object_id = tr.object_id sqlmod.object_id = tr.object_id tr.is_not_for_replication ~tr.is_disabled CASE WHEN tr.type = N'TR' THEN 1 WHEN tr.type = N'TA' THEN 2 ELSE 1 END sqlmod.uses_ansi_nulls sqlmod.uses_quoted_identifier L tr.parent_class = 100 mod.object_id = tr.object_id am2tr.object_id = tr.object_id ssmod.object_id = tr.object_id asmbl.assembly_id = mod.assembly_id ~tr.is_disabled CASE WHEN tr.type = N'TR' THEN N'' ELSE asmbl.name END CASE WHEN tr.type = N'TR' THEN N'' ELSE mod.assembly_class END CASE WHEN tr.type = N'TR' THEN N'' ELSE mod.assembly_method END CASE WHEN tr.type = N'TR' THEN 1 WHEN tr.type = N'TA' THEN 2 ELSE 1 END ssmod.uses_ansi_nulls ssmod.uses_quoted_identifier ISNULL(user_name(ssmod.execute_as_principal_id),ISNULL(user_name(mod.execute_as_principal_id),N'')) CASE WHEN (ssmod.execute_as_principal_id IS NULL AND mod.execute_as_principal_id IS NULL) THEN 1 ELSE 2 END NULL NULL CASE WHEN ssmod.definition IS NULL THEN 1 ELSE 0 END null  sm{0}.object_id = {0}.object_id ssm{0}.object_id = {0}.object_id ISNULL(sm{0}.uses_ansi_nulls, ssm{0}.uses_ansi_nulls) ISNULL(sm{0}.uses_quoted_identifier, ssm{0}.uses_quoted_identifier) OBJECTPROPERTYEX({0}.object_id, N'IsSchemaBound')  te.type te.type_desc cast(db_id() as varchar(20)) + '_' + cast(te.object_id as varchar(20)) G null  te.type te.type_desc cast(db_id() as varchar(20)) + '_' + cast(te.object_id as varchar(20))  drop table #profile_account_tmp pat.profile_name pat.profile_id pat.account_name pat.account_id pat.sequence_number  drop table #principal_profile_tmp ppt.principal_name ppt.principal_id ppt.profile_name ppt.profile_id ppt.is_default  drop table #account_server_tmp ast.servername ast.port ISNULL(ast.username, N'') ast.servertype ast.use_default_credentials ast.enable_ssl = sp.principal_id = e.principal_id e.name e.endpoint_id sp.name e.type e.protocol e.state e.is_admin_endpoint # ISNULL(se.default_database, N'') se.is_sql_language_enabled se.default_namespace 2-convert(int, se.is_xml_charset_enforced) se.default_result_schema se.wsdl_generator_procedure case LEN(ISNULL(se.wsdl_generator_procedure,'')) when 0 then 0 else 2 end se.is_session_enabled se.session_timeout CASE WHEN se.session_timeout < 0 THEN 1 ELSE 0 END   cert.certificate_id = dme.certificate_id dme.role ISNULL(cert.name,N'') case when dme.encryption_algorithm = 0 then 0 when dme.encryption_algorithm in (3,4,7,8) then 1 when dme.encryption_algorithm in (1,2,5,6) then 2 else 0 end case dme.encryption_algorithm when 0 then 0 when 1 then 1 when 2 then 2 when 3 then 1 when 4 then 2 when 5 then 4 when 6 then 3 when 7 then 4 when 8 then 3 else 0 end dme.connection_auth  cert.certificate_id = sbe.certificate_id sbe.is_message_forwarding_enabled sbe.message_forwarding_size ISNULL(cert.name,N'') case when sbe.encryption_algorithm = 0 then 0 when sbe.encryption_algorithm in (3,4,7,8) then 1 when sbe.encryption_algorithm in (1,2,5,6) then 2 else 0 end case sbe.encryption_algorithm when 0 then 0 when 1 then 1 when 2 then 2 when 3 then 1 when 4 then 2 when 5 then 4 when 6 then 3 when 7 then 4 when 8 then 3 else 0 end sbe.connection_auth  ve.discriminator  ISNULL(he.authorization_realm,N'') he.clear_port ISNULL(he.default_logon_domain,N'') 1*he.is_ssl_port_enabled + 2*is_clear_port_enabled he.ssl_port he.url_path he.site he.is_compression_enabled 1*is_anonymous_enabled + 2*is_basic_auth_enabled + 4*is_digest_auth_enabled + 8*is_integrated_auth_enabled  te.port te.is_dynamic_port ISNULL(te.ip_address,'') g ewm.method_alias ISNULL(ewm.namespace,'') ewm.result_format ewm.object_name ewm.result_schema case upper(se.login_type) when 'WINDOWS' then 2 else 1 end  c.symmetric_key_id <> 101 ok.key_id=c.symmetric_key_id and ok.database_id=db_id() c.name c.symmetric_key_id user_name(c.principal_id) c.create_date c.key_guid c.key_length (case c.key_algorithm when 'R2' then 0 when 'R4' then 1 when 'D' then 2 when 'D3' then 3 when 'DX' then 4 when 'A1' then 5 when 'A2' then 6 when 'A3' then 7 end) c.modify_date ISNULL(ok.status, 0)  sp.principal_id = a.principal_id a.name a.asymmetric_key_id user_name(a.principal_id) (case a.algorithm when '1R' then 0 when '2R' then 1 when '2R' then 3 end) a.key_length case a.pvt_key_encryption_type when 'NA' then 0 when 'MK' then 1 when 'PW' then 2 end a.public_key a.sid a.thumbprint + tbl.name like '#%' use tempdb 7 param.name param.colid param.parameter_id null q clmns.number = 0 and 0 = OBJECTPROPERTY(clmns.id, N'IsScalarFunction') nsp.colid = 1 and nsp.number > 1 nsp.number object_name(nsp.id) + ';' + cast(nsp.number as nvarchar(20)) nsp.encrypted nsp.procedure_number object_name(nsp.object_id) + ';' + cast(nsp.procedure_number as nvarchar(20)) CASE WHEN nsp.definition IS NULL THEN 1 ELSE 0 END  CASE param.isoutparam WHEN 1 THEN param.isoutparam WHEN 0 THEN CASE param.name WHEN '' THEN 1 ELSE 0 END END param.is_output  ((s.type = 4) AND (s.drop_lsn IS NULL)) o ke.thumbprint (case ke.crypt_type when 'ESKS' then 0 when 'EPUC' then 1 when 'ESKP' then 2 when 'EPUA' then 3 when 'ESKM' then 4 end) ke.crypt_property  create table #tmp_sp_help_category (category_id int null, category_type tinyint null, name nvarchar(128) null) insert into #tmp_sp_help_category (category_id, category_type, name) exec msdb.dbo.sp_help_category 'ALERT' drop table #tmp_sp_help_category tshc.name tshc.category_id F create table #tmp_sp_help_category (category_id int null, category_type tinyint null, name nvarchar(128) null) insert into #tmp_sp_help_category (category_id, category_type, name) exec msdb.dbo.sp_help_category 'JOB' drop table #tmp_sp_help_category tshc.name tshc.category_id tshc.category_type dt.transaction_id = ts.transaction_id tsnp.transaction_id = ts.transaction_id ta.transaction_id = ts.transaction_id ta.name ts.transaction_id ta.transaction_begin_time ts.session_id db_name(dt.database_id) dt.database_id dt.database_transaction_begin_time case when tsnp.transaction_id is null then 0 else 1 end dt.transaction_id = tsnp.transaction_id ta.transaction_id = tsnp.transaction_id ta.name tsnp.transaction_id ta.transaction_begin_time tsnp.session_id db_name(dt.database_id) dt.database_id dt.database_transaction_begin_time 1  create table #tmp_sp_help_category (category_id int null, category_type tinyint null, name nvarchar(128) null) insert into #tmp_sp_help_category (category_id, category_type, name) exec msdb.dbo.sp_help_category 'OPERATOR' drop table #tmp_sp_help_category tshc.name tshc.category_id > @account_name is not null declare @SysAdminOnly int exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\SQLServerAgent', N'SysAdminOnly', @SysAdminOnly OUTPUT set @SysAdminOnly = (case when 0 = @SysAdminOnly then 1 else 0 end) create table #tmpProxyAccountName ( domain sysname, username sysname) insert into #tmpProxyAccountName exec master.dbo.xp_sqlagent_proxy_account N'GET' declare @account_name nvarchar(255) set @account_name = (select domain + N'\' + username as [UserName] from #tmpProxyAccountName) if (@account_name is null) begin set @account_name=N'' end drop table #tmpProxyAccountName @account_name is not null declare @SysAdminOnly int set @SysAdminOnly = (select count(*) from sys.credentials c where c.name = N'##xp_cmdshell_proxy_account##') declare @account_name nvarchar(4000) set @account_name = (select top 1 credential_identity from sys.credentials c where c.name = N'##xp_cmdshell_proxy_account##') if (@account_name is null) begin set @account_name=N'' end @SysAdminOnly @account_name   c.symmetric_key_id = 101 ok.key_id=c.symmetric_key_id and ok.database_id=db_id() mkdb.database_id=db_id() c.create_date c.modify_date ISNULL(ok.status, 0) ISNULL(mkdb.is_master_key_encrypted_by_server, 0)  ke.thumbprint (case ke.crypt_type when 'ESKS' then 0 when 'EPUC' then 1 when 'ESKP' then 2 when 'EPUA' then 3 when 'ESKM' then 4 else -1 end) ke.crypt_property  serverproperty(N'Servername')  CREATE TABLE #tmp_instance_db_names ( Name nvarchar(64), InstanceDatabase nvarchar (255), SchemaName nvarchar (255), VersionId int, UpdateDescription nvarchar (255), UpdateStarted datetime, UpdateFinished datetime, UpdateUserId nvarchar (255), NSEdition nvarchar(255), NSVersionMajor int, NSVersionMinor int, NSVersionBuild int, NSVersionRevision int, ConfigVersionMajor int, ConfigVersionMinor int, ConfigVersionBuild int, ConfigVersionRevision int, AdfVersionMajor int, AdfVersionMinor int, AdfVersionBuild int, AdfVersionRevision int, EncryptArguments bit ) CREATE TABLE #tmp_instance_info ( Name nvarchar(64), InstanceDatabase nvarchar (255), SchemaName nvarchar (255), VersionId int, UpdateDescription nvarchar (255), UpdateStarted datetime, UpdateFinished datetime, UpdateUserId nvarchar (255), NSEdition nvarchar(255), NSVersionMajor int, NSVersionMinor int, NSVersionBuild int, NSVersionRevision int, ConfigVersionMajor int, ConfigVersionMinor int, ConfigVersionBuild int, ConfigVersionRevision int, AdfVersionMajor int, AdfVersionMinor int, AdfVersionBuild int, AdfVersionRevision int ) CREATE TABLE #tmp_instance_encryption ( Name nvarchar(64), EncryptArguments bit ) IF OBJECT_ID(N'msdb.NS90.NSInstances') IS NOT NULL BEGIN DECLARE @dbname NVARCHAR (255) DECLARE @SchemaName NVARCHAR (255) DECLARE @sql NVARCHAR(MAX) DECLARE instance_db_names_cursor CURSOR FOR SELECT DatabaseName, SchemaName FROM [msdb].[NS90].[NSInstances] FOR READ ONLY OPEN instance_db_names_cursor FETCH instance_db_names_cursor into @dbname, @SchemaName WHILE @@FETCH_STATUS >= 0 BEGIN SET @sql = CONVERT (NVARCHAR (MAX), N' USE ' + quotename(@dbname)) SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' IF OBJECT_ID(N' + quotename (quotename (@SchemaName) + N'.NSGetVersionInfo', N'''') + N') IS NOT NULL') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' BEGIN') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' IF EXISTS (SELECT * FROM sys.columns AS Columns WHERE Columns.object_id = OBJECT_ID (N' + quotename (quotename (@SchemaName) + N'.NSInstanceConfig', N'''') + N') AND Columns.name = ''EncryptArguments'')') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' BEGIN') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' INSERT #tmp_instance_info') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' EXEC ' + quotename (@SchemaName) + N'.NSGetVersionInfo') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' INSERT #tmp_instance_encryption') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' EXEC ' + quotename (@SchemaName) + N'.NSGetInstanceConfig') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' END') SET @sql = @sql + CONVERT (NVARCHAR (MAX), N' END') EXEC (@sql) FETCH instance_db_names_cursor into @dbname, @SchemaName END INSERT INTO #tmp_instance_db_names SELECT Info.Name, Info.InstanceDatabase, Info.SchemaName, Info.VersionId, Info.UpdateDescription, Info.UpdateStarted, Info.UpdateFinished, Info.UpdateUserId, Info.NSEdition, Info.NSVersionMajor, Info.NSVersionMinor, Info.NSVersionBuild, Info.NSVersionRevision, Info.ConfigVersionMajor, Info.ConfigVersionMinor, Info.ConfigVersionBuild, Info.ConfigVersionRevision, Info.AdfVersionMajor, Info.AdfVersionMinor, Info.AdfVersionBuild, Info.AdfVersionRevision, Config.EncryptArguments FROM #tmp_instance_info AS Info, #tmp_instance_encryption AS Config WHERE Info.Name = Config.Name CLOSE instance_db_names_cursor DEALLOCATE instance_db_names_cursor END DROP TABLE #tmp_instance_encryption DROP TABLE #tmp_instance_info DROP TABLE #tmp_instance_db_names dtb.Name dtb.InstanceDatabase dtb.SchemaName null null dtb.EncryptArguments  CREATE TABLE #tmp_delivery_channels( DeliveryChannelName nvarchar(255), ProtocolName nvarchar(255) ) INSERT #tmp_delivery_channels EXEC [SchemaPrefix].NSGetDeliveryChannels DROP TABLE #tmp_delivery_channels dcb.DeliveryChannelName dcb.ProtocolName { CREATE TABLE #tmp_delivery_channels_args( DeliveryChannelName nvarchar(255), ArgumentName nvarchar(255), ArgumentValue nvarchar(4000) ) INSERT #tmp_delivery_channels_args EXEC [SchemaPrefix].NSGetDeliveryChannelArguments DROP TABLE #tmp_delivery_channels_args dcab.ArgumentName dcab.ArgumentValue x CREATE TABLE #tmp_protocol_definitions( ProtocolName nvarchar(255), ClassName nvarchar(255), AssemblyName nvarchar(260) ) INSERT #tmp_protocol_definitions EXEC [SchemaPrefix].NSGetProtocols 0 DROP TABLE #tmp_protocol_definitions dpd.ProtocolName dpd.ClassName dpd.AssemblyName  CREATE TABLE #tmp_generators( ApplicationName nvarchar(max), GeneratorId int, GeneratorName nvarchar(255), SystemName nvarchar(255), PreviousFiringTime datetime, ThreadPoolSize int, ActivationState tinyint ) INSERT #tmp_generators EXEC [SchemaPrefix].NSGetGenerators DROP TABLE #tmp_generators gen.GeneratorName gen.GeneratorId gen.SystemName gen.PreviousFiringTime gen.ThreadPoolSize gen.ActivationState h CREATE TABLE #tmp_AppDatabaseOptions ( SystemName nvarchar(255), DefaultFileGroup nvarchar(128), CollationName nvarchar(255) ) INSERT INTO #tmp_AppDatabaseOptions EXEC [SchemaPrefix].NSGetDatabaseOptions DROP TABLE #tmp_AppDatabaseOptions ado.SystemName ado.DefaultFileGroup ado.CollationName  CREATE TABLE #tmp_AppDatabaseFiles1 ( LogicalName nvarchar(128), FilePath nvarchar(260), FileGroupName nvarchar(128), InitialSize nvarchar(32), MaxSize nvarchar(32), GrowthIncrement nvarchar(16) ) CREATE TABLE #tmp_ApplicationDatabaseFileGroups ( FileGroupName nvarchar(128) ) INSERT INTO #tmp_AppDatabaseFiles1 EXEC [SchemaPrefix].NSGetDatabaseFiles 'DATA_ONLY' INSERT INTO #tmp_ApplicationDatabaseFileGroups SELECT DISTINCT FileGroupName FROM #tmp_AppDatabaseFiles1 DROP TABLE #tmp_ApplicationDatabaseFileGroups DROP TABLE #tmp_AppDatabaseFiles1 adfg.FileGroupName  CREATE TABLE #tmp_AppDatabaseFiles ( LogicalName nvarchar(128), FilePath nvarchar(260), FileGroupName nvarchar(128), InitialSize nvarchar(32), MaxSize nvarchar(32), GrowthIncrement nvarchar(16) ) INSERT INTO #tmp_AppDatabaseFiles EXEC [SchemaPrefix].NSGetDatabaseFiles 'DATA_ONLY' DROP TABLE #tmp_AppDatabaseFiles adf.LogicalName adf.FilePath adf.FileGroupName adf.InitialSize adf.MaxSize adf.GrowthIncrement = CREATE TABLE #tmp_AppLogFiles ( LogicalName nvarchar(128), FilePath nvarchar(260), FileGroupName nvarchar(128), InitialSize nvarchar(32), MaxSize nvarchar(32), GrowthIncrement nvarchar(16) ) INSERT INTO #tmp_AppLogFiles EXEC [SchemaPrefix].NSGetDatabaseFiles 'LOG_ONLY' DROP TABLE #tmp_AppLogFiles alf.LogicalName alf.FilePath alf.InitialSize alf.MaxSize alf.GrowthIncrement q CREATE TABLE #tmp_InstDatabaseOptions ( SystemName nvarchar(255), DefaultFileGroup nvarchar(128), CollationName nvarchar(255) ) INSERT INTO #tmp_InstDatabaseOptions EXEC [SchemaPrefix].NSGetDatabaseOptions DROP TABLE #tmp_InstDatabaseOptions ido.SystemName ido.DefaultFileGroup ido.CollationName  CREATE TABLE #tmp_InstDatabaseFiles1 ( LogicalName nvarchar(128), FilePath nvarchar(260), FileGroupName nvarchar(128), InitialSize nvarchar(32), MaxSize nvarchar(32), GrowthIncrement nvarchar(16) ) CREATE TABLE #tmp_InstanceDatabaseFileGroups ( FileGroupName nvarchar(128) ) INSERT INTO #tmp_InstDatabaseFiles1 EXEC [SchemaPrefix].NSGetDatabaseFiles 'DATA_ONLY' INSERT INTO #tmp_InstanceDatabaseFileGroups SELECT DISTINCT FileGroupName FROM #tmp_InstDatabaseFiles1 DROP TABLE #tmp_InstanceDatabaseFileGroups DROP TABLE #tmp_InstDatabaseFiles1 idfg.FileGroupName  CREATE TABLE #tmp_InstDatabaseFiles ( LogicalName nvarchar(128), FilePath nvarchar(260), FileGroupName nvarchar(128), InitialSize nvarchar(32), MaxSize nvarchar(32), GrowthIncrement nvarchar(16) ) INSERT INTO #tmp_InstDatabaseFiles EXEC [SchemaPrefix].NSGetDatabaseFiles 'DATA_ONLY' DROP TABLE #tmp_InstDatabaseFiles idf.LogicalName idf.FilePath idf.FileGroupName idf.InitialSize idf.MaxSize idf.GrowthIncrement F CREATE TABLE #tmp_InstLogFiles ( LogicalName nvarchar(128), FilePath nvarchar(260), FileGroupName nvarchar(128), InitialSize nvarchar(32), MaxSize nvarchar(32), GrowthIncrement nvarchar(16) ) INSERT INTO #tmp_InstLogFiles EXEC [SchemaPrefix].NSGetDatabaseFiles 'LOG_ONLY' DROP TABLE #tmp_InstLogFiles ilf.LogicalName ilf.FilePath ilf.InitialSize ilf.MaxSize ilf.GrowthIncrement &, CREATE TABLE #tmp_application_names( ApplicationName nvarchar(max), ApplicationDb nvarchar(128), AppSchemaName nvarchar (128), DropOnDelete bit, ApplicationEnabled bit, SubscribersEnabled bit, SubscriptionsEnabled bit, EventProviderEnabled bit, GeneratorEnabled bit, DistributorEnabled bit, ) INSERT #tmp_application_names EXEC [SchemaPrefix].NSGetApplicationNames CREATE TABLE #tmp_local_application_details( ApplicationName nvarchar(max), BaseDirectoryPath nvarchar(260), ApplicationDefinitionFilePath nvarchar(260), QuantumDuration int, ChronicleQuantumLimit int, SubscriptionQuantumLimit int, ProcessEventsInOrder bit, RetentionAge int, PerformanceQueryInterval int, EventThrottle int, SubscriptionThrottle int, NotificationThrottle int, LogBeforeDeliveryAttempts bit, LogStatusInfo bit, LogNotificationText bit, ) CREATE TABLE #tmp_application_version( ApplicationName nvarchar(max), ApplicationDatabase nvarchar (255), SchemaName nvarchar (255), VersionId int, UpdateDescription nvarchar(255), UpdateStarted datetime, UpdateFinished datetime, UpdateUserId nvarchar(255), NSEdition nvarchar(255), NSVersionMajor int, NSVersionMinor int, NSVersionBuild int, NSVersionRevision int, ConfigVersionMajor int, ConfigVersionMinor int, ConfigVersionBuild int, ConfigVersionRevision int, AdfVersionMajor int, AdfVersionMinor int, AdfVersionBuild int, AdfVersionRevision int ) CREATE TABLE #tmp_generator_details( ApplicationName nvarchar(max), GeneratorId int, GeneratorName nvarchar(255), SystemName nvarchar(255), PreviousFiringTime datetime, ThreadPoolSize int, ActivationState tinyint ) DECLARE @dbname7 sysname DECLARE @AppSchemaName nvarchar(128) DECLARE @sql7 NVARCHAR(MAX) DECLARE applications_cursor CURSOR FOR SELECT ApplicationDb, AppSchemaName FROM #tmp_application_names FOR READ ONLY OPEN applications_cursor FETCH applications_cursor into @dbname7, @AppSchemaName WHILE @@FETCH_STATUS >= 0 BEGIN SET @sql7 = CONVERT (NVARCHAR (MAX), N' USE ' + quotename(@dbname7)) SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' INSERT #tmp_local_application_details EXEC ' + quotename (@AppSchemaName) + N'.NSGetApplicationConfig') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' INSERT #tmp_application_version EXEC ' + quotename (@AppSchemaName) + N'.NSGetVersionInfo') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' INSERT #tmp_generator_details EXEC ' + quotename (@AppSchemaName) + N'.NSGetGenerators') EXEC (@sql7) FETCH applications_cursor into @dbname7, @AppSchemaName END CLOSE applications_cursor DEALLOCATE applications_cursor CREATE TABLE #tmp_application_details( applicationdb nvarchar(max), name nvarchar(max), AppSchemaName nvarchar(128), ApplicationEnabled bit, SubscribersEnabled bit, SubscriptionsEnabled bit, EventProviderEnabled bit, GeneratorEnabled bit, DistributorEnabled bit, BaseDirectoryPath nvarchar(260), ApplicationDefinitionFilePath nvarchar(260), QuantumDuration int, ChronicleQuantumLimit int, SubscriptionQuantumLimit int, ProcessEventsInOrder bit, RetentionAge int, PerformanceQueryInterval int, EventThrottle int, SubscriptionThrottle int, NotificationThrottle int, LogBeforeDeliveryAttempts bit, LogStatusInfo bit, LogNotificationText bit, NSVersionMajor int, NSVersionMinor int, NSVersionBuild int, NSVersionRevision int, AdfVersionMajor int, AdfVersionMinor int, AdfVersionBuild int, AdfVersionRevision int, GeneratorId int, GeneratorName nvarchar(255) ) DECLARE @ApplicationName nvarchar (128) DECLARE application_details_cursor CURSOR FOR SELECT ApplicationName, ApplicationDb FROM #tmp_application_names FOR READ ONLY OPEN application_details_cursor FETCH application_details_cursor into @ApplicationName, @dbname7 WHILE @@FETCH_STATUS >= 0 BEGIN SET @sql7 = CONVERT (NVARCHAR (MAX), N' USE ' + quotename(@dbname7)) SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' INSERT #tmp_application_details') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' SELECT app.ApplicationDb, app.ApplicationName, app.AppSchemaName, ') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' app.ApplicationEnabled, app.SubscribersEnabled, app.SubscriptionsEnabled,') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' app.EventProviderEnabled, app.GeneratorEnabled, app.DistributorEnabled,') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' cfg.BaseDirectoryPath, cfg.ApplicationDefinitionFilePath,') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' cfg.QuantumDuration, cfg.ChronicleQuantumLimit, cfg.SubscriptionQuantumLimit,') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' cfg.ProcessEventsInOrder, cfg.RetentionAge, cfg.PerformanceQueryInterval, cfg.EventThrottle, cfg.SubscriptionThrottle,') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' cfg.NotificationThrottle, cfg.LogBeforeDeliveryAttempts, cfg.LogStatusInfo, cfg.LogNotificationText, ') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' ver.NSVersionMajor, ver.NSVersionMinor, ver.NSVersionBuild, ver.NSVersionRevision,') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' ver.AdfVersionMajor, ver.AdfVersionMinor, ver.AdfVersionBuild, ver.AdfVersionRevision,') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' gen.GeneratorId, gen.GeneratorName') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' FROM #tmp_local_application_details as cfg, #tmp_application_version as ver, #tmp_generator_details as gen, #tmp_application_names as app') SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' WHERE app.ApplicationName = N' + quotename (@ApplicationName, N'''')) SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' AND cfg.ApplicationName = N' + quotename (@ApplicationName, N'''')) SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' AND ver.ApplicationName = N' + quotename (@ApplicationName, N'''')) SET @sql7 = @sql7 + CONVERT (NVARCHAR (MAX), N' AND gen.ApplicationName = N' + quotename (@ApplicationName, N'''')) EXEC (@sql7) FETCH application_details_cursor into @ApplicationName, @dbname7 END CLOSE application_details_cursor DEALLOCATE application_details_cursor DROP TABLE #tmp_application_details DROP TABLE #tmp_generator_details DROP TABLE #tmp_application_version DROP TABLE #tmp_local_application_details DROP TABLE #tmp_application_names dad.name dad.applicationdb dad.AppSchemaName null null dad.BaseDirectoryPath dad.ApplicationDefinitionFilePath dad.QuantumDuration dad.ChronicleQuantumLimit dad.SubscriptionQuantumLimit dad.ProcessEventsInOrder dad.PerformanceQueryInterval dad.EventThrottle dad.SubscriptionThrottle dad.NotificationThrottle dad.LogBeforeDeliveryAttempts dad.LogStatusInfo dad.LogNotificationText dad.RetentionAge dad.ApplicationEnabled dad.SubscribersEnabled dad.SubscriptionsEnabled dad.EventProviderEnabled dad.GeneratorEnabled dad.DistributorEnabled dad.GeneratorId dad.GeneratorName u CREATE TABLE #tmp_vacuum_schedule( VacuumScheduleId int, StartTime datetime, Interval int ) INSERT #tmp_vacuum_schedule EXEC [SchemaPrefix].NSGetVacuumSchedule DROP TABLE #tmp_vacuum_schedule dvs.VacuumScheduleId dvs.StartTime dvs.Interval  CREATE TABLE #tmp_distributors( DistributorId int, DistributorName nvarchar(255), SystemName nvarchar(255), ThreadPoolSize int, QuantumDuration int, ActivationState tinyint ) INSERT #tmp_distributors EXEC [SchemaPrefix].NSGetDistributors DROP TABLE #tmp_distributors dds.DistributorName dds.DistributorId dds.SystemName dds.ThreadPoolSize dds.QuantumDuration dds.ActivationState  CREATE TABLE #tmp_event_class( EventClassId int, EventClassName nvarchar(255), FileGroup nvarchar(128), IndexSqlStatementsXml nvarchar(max), RuleId int, RuleName nvarchar(255), RuleType tinyint, Action ntext, ActionTimeout int ) INSERT #tmp_event_class EXEC [SchemaPrefix].NSGetEventClassesWithSqlStatements DROP TABLE #tmp_event_class evt.EventClassName evt.FileGroup null evt.RuleId evt.RuleName evt.RuleType evt.Action evt.ActionTimeout  CREATE TABLE #tmp_event_chronicle( EventChronicleId int, ChronicleName nvarchar(255), EventClassId int, SqlStatementsXml nvarchar(max) ) INSERT #tmp_event_chronicle EXEC [SchemaPrefix].NSGetEventChronicles DROP TABLE #tmp_event_chronicle echn.ChronicleName null  CREATE TABLE #tmp_event_chronicle_rule( RuleId int, RuleName nvarchar(255), RuleType tinyint, Action ntext, ActionTimeout int, EventClassId int, SubscriptionClassId int, EventClassName nvarchar(255), InputTypeName nvarchar (128), InputTypeSchema nvarchar (128), SqlUserName nvarchar (128), SqlLoginName nvarchar (128) ) INSERT #tmp_event_chronicle_rule EXEC [SchemaPrefix].NSGetRulesOnType @RuleType = 0 DROP TABLE #tmp_event_chronicle_rule ecr.RuleName ecr.Action ecr.ActionTimeout & CREATE TABLE #tmp_nh_event_provider( ProviderId int, ProviderName nvarchar(255), ProviderClassName nvarchar(255), AssemblyName nvarchar(260), SystemName nvarchar(255), StartTime datetime, Interval int, Timeout int, ActivationState tinyint ) INSERT #tmp_nh_event_provider EXEC [SchemaPrefix].NSGetProviders 'NonHostedOnly' DROP TABLE #tmp_nh_event_provider nhep.ProviderName nhep.ProviderId nhep.ActivationState  CREATE TABLE #tmp_hosted_event_provider( ProviderId int, ProviderName nvarchar(255), ProviderClassName nvarchar(255), AssemblyName nvarchar(260), SystemName nvarchar(255), StartTime datetime, Interval int, Timeout int, ActivationState tinyint ) INSERT #tmp_hosted_event_provider EXEC [SchemaPrefix].NSGetProviders 'HostedOnly' DROP TABLE #tmp_hosted_event_provider hep.ProviderName hep.ProviderId hep.ProviderClassName hep.AssemblyName hep.SystemName hep.StartTime hep.Interval hep.Timeout hep.ActivationState  CREATE TABLE #tmp_hosted_event_provider_argument( ProviderArgumentId int, ProviderId int, ArgumentName nvarchar(255), ArgumentValue nvarchar(4000) ) INSERT #tmp_hosted_event_provider_argument EXEC [SchemaPrefix].NSGetProviderArguments DROP TABLE #tmp_hosted_event_provider_argument hepa.ArgumentName hepa.ArgumentValue r CREATE TABLE #tmp_notification_class( NotificationClassId int, NotificationClassName nvarchar(255), DigestDelivery bit, MulticastDelivery bit, ExpirationAge int, FileGroup nvarchar(128), NotificationBatchSize int, ContentFormatterId int, ClassName nvarchar(255), AssemblyName nvarchar (260) ) INSERT #tmp_notification_class EXEC [SchemaPrefix].NSGetNotificationClasses DROP TABLE #tmp_notification_class nc.NotificationClassName nc.DigestDelivery nc.MulticastDelivery nc.ExpirationAge nc.NotificationBatchSize nc.FileGroup nc.ContentFormatterId nc.ClassName nc.AssemblyName  CREATE TABLE #tmp_content_formatter( ContentFormatterId int, NotificationClassId int, ClassName nvarchar(255), AssemblyName nvarchar(max) ) INSERT #tmp_content_formatter EXEC [SchemaPrefix].NSGetContentFormatter DROP TABLE #tmp_content_formatter cf.ClassName cf.AssemblyName  CREATE TABLE #tmp_content_formatter_argument( ContentFormatterArgumentId int, ContentFormatterId int, ArgumentName nvarchar(255), ArgumentValue nvarchar(4000) ) INSERT #tmp_content_formatter_argument EXEC [SchemaPrefix].NSGetContentFormatterArguments DROP TABLE #tmp_content_formatter_argument cfa.ArgumentName cfa.ArgumentValue  CREATE TABLE #tmp_protocols( NotificationClassProtocolId int, NotificationClassProtocolName nvarchar(255), NotificationClassId int, FailureEventLogInterval int, FailuresBeforeEventLog int, FailuresBeforeAbort int, MulticastRecipientLimit int, WorkItemTimeout int ) INSERT #tmp_protocols EXEC [SchemaPrefix].NSGetNotificationClassProtocols DROP TABLE #tmp_protocols p.NotificationClassProtocolName p.NotificationClassProtocolId p.FailureEventLogInterval p.FailuresBeforeEventLog p.FailuresBeforeAbort p.MulticastRecipientLimit p.WorkItemTimeout  CREATE TABLE #tmp_protocol_retry_schedule( ProtocolRetryScheduleId int, NotificationClassProtocolId int, IntervalOrdinal tinyint, Interval int ) INSERT #tmp_protocol_retry_schedule EXEC [SchemaPrefix].NSGetProtocolRetrySchedules DROP TABLE #tmp_protocol_retry_schedule prs.ProtocolRetryScheduleId prs.Interval prs.IntervalOrdinal 4 CREATE TABLE #tmp_protocol_field( ProtocolFieldId int, NotificationClassProtocolId int, FieldName nvarchar(255), FieldReference nvarchar(255), SqlExpression nvarchar(4000) ) INSERT #tmp_protocol_field EXEC [SchemaPrefix].NSGetProtocolFields DROP TABLE #tmp_protocol_field pf.FieldName pf.ProtocolFieldId pf.SqlExpression pf.FieldReference A CREATE TABLE #tmp_subscription_class( SubscriptionClassId int, SubscriptionClassName nvarchar(255), FileGroup nvarchar(128), IndexSqlStatementsXml nvarchar(max) ) INSERT #tmp_subscription_class EXEC [SchemaPrefix].NSGetSubscriptionClasses DROP TABLE #tmp_subscription_class sc.SubscriptionClassName sc.FileGroup null  CREATE TABLE #tmp_subscription_field( SubscriptionFieldId int, SubscriptionClassId int, FieldName nvarchar(255), FieldType nvarchar(255), FieldTypeMods nvarchar(255) ) INSERT #tmp_subscription_field EXEC [SchemaPrefix].NSGetSubscriptionFields DROP TABLE #tmp_subscription_field sf.SubscriptionFieldId sf.FieldName sf.FieldType sf.FieldTypeMods  CREATE TABLE #tmp_subscription_event_rule( RuleId int, RuleName nvarchar(255), RuleType tinyint, Action ntext, ActionTimeout int, EventClassId int, SubscriptionClassId int, EventClassName nvarchar(255), InputTypeName nvarchar (128), InputTypeSchema nvarchar (128), SqlUserName nvarchar (128), SqlLoginName nvarchar (128) ) INSERT #tmp_subscription_event_rule EXEC [SchemaPrefix].NSGetRulesOnType @RuleType = 1 DROP TABLE #tmp_subscription_event_rule ser.RuleName ser.Action ser.ActionTimeout ser.EventClassName  CREATE TABLE #tmp_condition_event_rule( RuleId int, RuleName nvarchar(255), RuleType tinyint, Action ntext, ActionTimeout int, EventClassId int, SubscriptionClassId int, EventClassName nvarchar(255), InputTypeName nvarchar (128), InputTypeSchema nvarchar (128), SqlUserName nvarchar (128), SqlLoginName nvarchar (128) ) INSERT #tmp_condition_event_rule EXEC [SchemaPrefix].NSGetRulesOnType @RuleType = 3 DROP TABLE #tmp_condition_event_rule cer.RuleName cer.Action cer.ActionTimeout cer.EventClassName cer.InputTypeName cer.InputTypeSchema cer.SqlUserName cer.SqlLoginName 0 CREATE TABLE #tmp_subscription_scheduled_rule( RuleId int, RuleName nvarchar(255), RuleType tinyint, Action ntext, ActionTimeout int, EventClassId int, SubscriptionClassId int, EventClassName nvarchar(255), InputTypeName nvarchar (128), InputTypeSchema nvarchar (128), SqlUserName nvarchar (128), SqlLoginName nvarchar (128) ) INSERT #tmp_subscription_scheduled_rule EXEC [SchemaPrefix].NSGetRulesOnType @RuleType = 2 DROP TABLE #tmp_subscription_scheduled_rule ssr.RuleName ssr.Action ssr.ActionTimeout @ CREATE TABLE #tmp_condition_scheduled_rule( RuleId int, RuleName nvarchar(255), RuleType tinyint, Action ntext, ActionTimeout int, EventClassId int, SubscriptionClassId int, EventClassName nvarchar(255), InputTypeName nvarchar (128), InputTypeSchema nvarchar (128), SqlUserName nvarchar (128), SqlLoginName nvarchar (128) ) INSERT #tmp_condition_scheduled_rule EXEC [SchemaPrefix].NSGetRulesOnType @RuleType = 4 DROP TABLE #tmp_condition_scheduled_rule csr.RuleName csr.Action csr.ActionTimeout csr.InputTypeName csr.InputTypeSchema csr.SqlUserName csr.SqlLoginName  CREATE TABLE #tmp_subscription_chronicle( SubscriptionChronicleId int, ChronicleName nvarchar(255), SubscriptionClassId int, SqlStatementsXml nvarchar(max) ) INSERT #tmp_subscription_chronicle EXEC [SchemaPrefix].NSGetSubscriptionChronicles DROP TABLE #tmp_subscription_chronicle sch.ChronicleName null  CREATE TABLE #tmp_event_field( EventFieldId int, EventClassId int, FieldName nvarchar(255), FieldType nvarchar(255), FieldTypeMods nvarchar(255) ) INSERT #tmp_event_field EXEC [SchemaPrefix].NSGetEventFields DROP TABLE #tmp_event_field ef.EventFieldId ef.FieldName ef.FieldType ef.FieldTypeMods  CREATE TABLE #tmp_notification_field( NotificationFieldId int, NotificationClassId int, FieldName nvarchar(255), FieldType nvarchar(255), FieldDigestGrouping bit ) INSERT #tmp_notification_field EXEC [SchemaPrefix].NSGetNotificationFields DROP TABLE #tmp_notification_field nf.NotificationFieldId nf.FieldName nf.FieldType nf.FieldDigestGrouping  CREATE TABLE #tmp_computed_field( ComputedFieldId int, NotificationClassId int, FieldName nvarchar(255), SqlExpression nvarchar(4000), FieldDigestGrouping bit ) INSERT #tmp_computed_field EXEC [SchemaPrefix].NSGetComputedFields DROP TABLE #tmp_computed_field cf.ComputedFieldId cf.FieldName cf.SqlExpression cf.FieldDigestGrouping  create table #tmp_sp_helpdiagrams ([Database] sysname not null, Name sysname not null, ID int not null, Owner sysname null, OwnerID int not null) insert into #tmp_sp_helpdiagrams exec dbo.sp_helpdiagrams drop table #tmp_sp_helpdiagrams 'Server[@Name=' + quotename(cast(serverproperty(N'Servername') as sysname),'''') + ']/Database[@Name=' + quotename(db_name(),'''') + ']/DatabaseDiagram[@Name=' + quotename(tshd.Name,'''') + ' and @OwnerID=' + quotename(cast(tshd.OwnerID as nvarchar(30)),'''') + ']' tshd.Name tshd.ID tshd.Owner tshd.OwnerID p er.log_id er.event_type er.log_date er.description er.process_id er.mailitem_id er.account_id er.last_mod_date er.last_mod_user BSJB v2.0.50727lx#~#StringscDW#USĺ#GUIDԺH#BlobW 37@    & 2 A I Trf~f*{ ) R vP>  $f*  X.M.\/R/3f<9f-> pA ABJDSD DF>bM?/ppp> q>"q>=q>Xq>qq>q>qpqqqr>'r>Fr>cr>rzrrrCrrzr szrFs>aswsssq(ttuu/uuFuuu vlv yv v[wqwwwwKxf jxx x $y7yyyf zf0zM.DzM.czM.kzM.zM.z{{{{ ||o|| | '} f} }}M.~4~M. d~ ~~zrO4>>>Հf ,U m>>:>L>oԂ,!2)R/R/R/4 X{ńo|>>N>a>>>"qqRq>^No|M.c>*:fik&+ %/%4-%8:%<J%A[%Is%N%S%W%[%_%f%l%q%v%z %%2%<%R%c%%%%%%%%%2%J%`%n%|%%%%%%%%7% C%!N%%\%)q%.%5%<%A%F%J%M%P%T%X%\3%bF%mR%|d%z%%%%%%%%%,%<%G%Sc%c%c%c%c%c%c%c%c% c%!c%0c%Cc%Nc%\c%ic%qc%"c%(c%.c%3c%7BBF)F-G3G6 G:GJ+GY=G\TG^lGbGe%GiLiLmLwL{ L}7 LZ L L L L L O P Q %V -Z a3 bQ bp b b 1c 5f m m p s w L}0 P9 LB, LIF LL\ LNr LP LR LT LX L] L` Le+ LgA \iX \ks Lm Lo L|      ( 5 % A E X Ep ~ % %# %2 L L L M%N#]9^R%f@p@Ltz}L%L:NyN~!B8G<TAiA|AFKKOSSSHSSO 4@KNSZSnSSOEO }W ] So !V!V"!V-!V#]VG#]VU#]V`#]!Vm#Vv#V~#V#!V#V#!V#V#V#!V#V#V#V#!V#V#V#!V#V#V#!V#V#V#!VW!V#!V#V#!V$V $V$V&$!V!VA$VL$V!VX$Vd$!Vn$Vw$V|$V$!V$V$V$V$V#V>#V$V$V$V$!V"V$!V"V$V$!V$V%V%V %!Vn$V$V7%V;%!VW!V"V$VK%VA$VR%!Vd%Vh%VK%!V!V"!V-!VQ>Q6>QJ>QX>Q^>Qf>Qq>Q>Q>Q>Q>Q>Q>Q>Q>>K>>t??S?S?v? ???s@@@@@*::" AAAK/AKBA{BJB 5 TBaB}B) BBSBSBB!VEVE+E0E;EFERESbEnE}EEE+EEEEEEEFQX>QF== >F6>J>3F8F>FFLFUFcFkFsF{FSFF>FGGG$G;GGG>!V`G,VfG,V|G,VG,VG,VG,VG,VG,VH,VH,V&H,V4H,VQH,VbH,VwH,VH,VH,VH,VH,VH,VH,VH,VY,VH,V"(,VH,VI,V#I,V2I,VDI,VSI,VaI,VI,VI,VI,VI,VI,VI,VI,VI,VI,VJ,V#J,V6J,VCJ,VQJ,V_J,VkJ,VvJ,VJ,VJ,VJ,V,VJ,VJ,VJ,VJ,VJ,V$,VJ,VJ,!V`GVHVYVJVJVKVVKVJVJV$KVJV$VJ!V)KVBKVUKVhKVyKVKVKVKVKVKVKVKVLVLV!LV,LV>LVYLVhLV>#VLVLVLVLVLNOVJNOVUNOV2IOVbNOVsNOVNOG6OOSPQXQQQReR!VHSV_JV_SVjSVvJVtSV~SVSVSVSVSVSVSVSVCJVSVIVSVTVIVTVTV,TV:TVGTVSTVkTV#IVTVTVkJVTVTVTVTVIVTVTVTVTVUV6JVUV!UV,UV:UVGUVVUVIVqUVUVJVUVIVUVUVQJVUVUVIVUVUVIVUVUVJVVV.VVFVV^VVuVVVVVVVG6OSa?b?Zb?b?b?b?:c?uc?c?c?/d?d?d?d?Ne?e?e?f?=f?f?f?g?_g?g?g? h?Bh?h?i?Di?i?=l VoVoVoVoVoVpVmVmVmVmVmV+pVnV1nV;pVZnVqnVnVKpVnVdpVppVnV|pV oVoV,oVPoVpVpp2p7\%%%6%`%%g%{%%&%:% % ) -Y!2!8!)">)"C0"H8"L@"PS"Xg"a {"k"v"""#"6P*#6v, #E1H#E2p#O3#O4#V5#V6#_7#d7 $d80$m;P$m<Y$m=b$m?v$mA$tD$tF$HI$ I$J$K$M$ O$'R%.U%4V+%;X;%C[c%K]%R_%Za0& e>&fL&g[&ij& kz&'n&.q&4r&;t&w&dy8'k{w'}'d'k'r'{''{' ({(3(G(e(x((((((0)0$);d)]{w)])g)n)n)v))*.*A*S*e*x***** + +L+3-3x+)+V+[+a++g+:n+Rt+j{+~{+, ,,,&,/,7,@,-L,4,C,g,,0-)-).3?.3L..3.-@/*-/:81UL2x2L3)Z3)v3)33 )44',4/4 Y4n4~45`67h7)737-378 8%)9;)9R)9d)9x:):35; =;3F;)O;)X;; P<!3<L<2T<?\<Xf =yt=t ??)?)??x @' B3dBC2TO{ FO NO WOeOxOOOO -O-O- P)-)P4-FP>-rPF-PN-PW-PWPW Qb#Qn%Q}['pT(HU(/V(Cp?J ??T)Ad1Da'k:D`"?q[DxfDpD}DDD+DC9DGD`^DrD`68DDM%FFF"DFOG)$LLM)xB)J)`xJM T' TLytuMM  )%' MH_.9M4HMMXM:MBMB9TH}0[PaXjt)5jNjNjNvNvNvNvNvOvOv&Ov5OvFOv \OvqOvOv$),5D _.OO)5)5O,O5MH<OONO%N3OINW PmN{PN*PO9POGP&O WP!5O0fPGFOVwPm\O|PqOPOP%PQ,QBQpQQQQQ&R;3RHLR]RjR}0)5NNVVVVW'W/!W71W?@WHNWQaWZvWcWlWuW~WWWW XX/XAXRXbX~XXXXXXXX Y)Y2#Y;1YD>YMXYVqY_YhYqYzYYYYZ$Z9ZMZ`ZqZZZZZZZ ZZZ%[.;[7X[@v[I[R[[[d[m\v\3\) "   _.  O !O 5)5*?*L3h)53tO3O3MHTO\OeVsK\V[\Vj\Vx\W\W'\=!WK\a1W o\ @W!\!NW"\"aW#\#vW$\$W%, ]%CW&R]&iW'x1]'W(A](W)T])W*f]*W+w]+' X,6],MX-\]-s/X.].AX/]/RX0]0bX1]1 ~X2]21X3@^3WX4f,^4}X5>^5X6O^6X7^^7X8k^8X9$z^9;Y:J^:aY;p^;#Y<^<1Y=^=>Y>^>XY?^?qY@.^@EYAT _AkYBz_BYC+_CYD:_DYEL_EYF]_F)YG8p_GOZH^_Hu$ZI_I9ZJ_JMZK_K`ZL_L qZM_M3ZNB`NYZOh`OZP`PZQ1`QZRB`RZSR`SZT&b`T=ZULq`UcZVr`V[W`W;[X`XX[Y`Yv[Z `Z![[0a[G[\V0a\m[]|La][^ga^\_a_\`a`3\aaa,%b ab ab ,bc Cbc ibd |bd be be bf bf*  cg7 "cgL KchY `chn ci{ ci cj cj dk dk Jdl idl dm dm dn% dn: eoG 0eo\ \epi nep~ eq eq er er fs )fs Rft kftfufu(fv5gvJ-gwWFgwlqgxygxgygygzgzh{/h{`h|h|h}#h}8i~E-i~Z_ig~i|ii)Hl \lHX # * 2 ; D N Y 6 6; E)On Vddt mm m t;t H  '.4; )!) H!t   '.4;` ` `  T      00t ]`] t!nn !v![u)bu!ru! !)!)!)!8!-u1)uI!O!1u1;1u\!21ua!Y0Q5))2y!a$v~!@5& )5HaDv!av! rv!v!v!v!v!av! _!v"aw"12'"9w3")58"@5>")wL)}0L5H1E;L1w.wHi 9wa"Awg"Axg"A xH'))5)+x\@xw"_x}"I)5 Q")51x"@5"Y5Y5a)'2\!au5Hrv"a)ax""13 2x" #1y{iBy#iNy1Ly8"V1b/#ym#Os#)Oz#`1y)@xw"y#z#)5#z#4y=z#)5#)i#)')X'F`'/g'm'@}0Tt'@5& 7)'''')5'A'' xH5H}(}(W!&(+(}?(-F(VH~ '˃(ԃ3(Ty!(%*.))F()))u)5()c)0 y=39.)Y2Y50z)))5)9689C9DI)$\A7)s)I* *i*9CH9C9C 9CH9D _F*9:D`b*8'9D`9DMi*=HH)1; 1x1 y4M*L*0@5& a'+v+ gy+,%,z,@5& z,D8,j?,uE,  (,04<@DHPTX`dhptx&+DINSX +af k$p(u,z48<@HLTX\dhlpx|  $(04<@DLPTX`dhltx| (,048<@DHL P&T+X\`d!h&lp+t0x5|:?  $,08<DHLTX\dhltx|&   $(048@DHLPX\`dhlptx|   (,04<@HLPTX\`dhl px|+f+a k $(,04<@DHLTX\dhlpt+xaX]&+afq z I $ ( , \ ` d        5  ` $ (  , 0 d 4 8 < @ D NH L 2  ( ,                 & +    1 6 ; ! & @ E J O T Y ^ a c h$ m( r, w0 |4 8 < @ D H L P T X \ ` d h l p t x |    D                              & +    1 6$ ;( !, &< @ D H L P T X \ ` d h l p                 & +    1 6 ; ! &@EJ OTY^a c$h(m,r0w4|8<@DHLPTX\`dhlptx|DzfINLtPTX\&`KdhlptBxe| =T.Kl.5.).L,.#^,.+,.3-.;-.CC!.K9-.SD-.[C!.kC!.sC!.{C!.J-...0.c1.2.A4.7.8.9.Q;.<. >.f?.@.?B.C.GE.F.H.I.J.wL.M.O. Q.R. T.U.W.{X.Y.m[.\.q^._.ma.b.Pd.e.g.kh.i.8k.l.n.do.p.+r.s.u.v.w.Ty.z.|.x}.~.F..:..4..>...b...r.ݒ.>...b.ՙ.5...d.ʠ./.....{..s..W.̰.;... Cc[C![C![C![C![C!#[C!C[C!c[C!kk kc     c   # c [C! [C! [C! [C! [C![C!#[C!C[C!c[C![C![C![C![C!#[C!C[C!c[C![C![C![C![C![C!C[C!c[C!c[C![C![C!#[C!C[C!c[C![C![C![C![C!#[C!C[C!#[C!C[C!c[C!#[C!C[C!d[kDakduk e i | !$!/!3!>!V!i!o!!!!!""!"-"D"O"k"""""""##!#)#5#b####$$$A$V$c$q${$$$$$$$% %%%%#%0%9%R%l%s%%%%%% &$&(&7&>&G&Q&b&s&y&&&&&&&&'''''1'D'N'S'z'''''''''(0(P(b(l(r(x((((((()%)0)=)K)_)u){))))))*=*S*\*p*{*************+ +&+1+++++",  k m$n&o(p+q:rHsJtKuMvNxQyTz\~_bdflnopvx{% */  "5(E( -R-c-s3 7|=AG3;=G;==Gq/c(s33==!=1/8/3?/G/=//=)/w$=/=00=030=030=03031317)=!=1=1=13(1 1=1=s313 G1M S/1Y1_1e k5qEw1(1 2p-=22=0=^2=a2=l2 2=2=2!=/=3= 33&3=2=(1 73=2(1 ]3=2g32=3n$=3=2435353 l2N5/+ 5< !=l27)=6=6=1=G/=l2 73l27999E(939/9 : :3 2=7)=:3l2^2=g353<< <(|=Am <3Z=3<3=/=/=3==<3<3<3f@73=<30=^2/2)=A/A/B2D/D3D/D/AMIM/7)|YLNNN)N4N>NJNUN2IbNsNNM/R3YL3N3N3N3)N34N3>N3JN3UN32I3bN3sN3N3M3R3R3R3S3S3+S37)_J_SjSvJtS~SSSSSSSSCJSISTITT,T:TGTSTkT#ITTkJTTTTITTTTU6JU!U,U:UGUVUIqUUJUIUUQJUUIUUIUUJV.VFV^VuVVVVM/R3_J3_S3jS3vJ3tS3~S3S3S3S3S3S3S3S3CJ3S3I3S3T3I3T3T3,T3:T3GT3ST3kT3#I3T3T3kJ3T3T3T3T3I3T3T3T3T3U36J3U3!U3,U3:U3GU3VU3I3qU3U3J3U3I3U3U3QJ3U3U3I3U3U3I3U3U3J3V3.V3FV3^V3uV3V3V3V3HS3i3j3j3 j3/j3Cj3Tj3fj3yj3j3j3j3j3j3j3j3k3$k39k3Xk3ek3zk3k3k3k3k3k3k3 l3$l3<3Aokopopopopoppp+pp;ppKppdppppp|ppppppok l m n o q p rsutwvxyz{}~!#%')+-/1355799;=??AACCEEGG1I2K4M5O7Q8S9U;W<Y=[>]?_@aAcBeCgDiEkFmGoHqIsKuLwMyN{O}PQRSTUVWXZ[]_`cfghjklnopqrstvxyz        !!!#3%6';)<+=->/A1C3p5q7r9|;==??AACCEEGIKMOQSUWYY[]_acegikmoqsuwy{{}} "!#$&%(')*+,-./023546798;:<=>?AHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy z { |}~!#%')+-/13579;;==??AACCEEGGIIKKMMOOQQSSUUWWYY[[]]__aacceeggiikkmmooqqssuuwwyy{{}}      "!#$&%(')*+,-./012436798;:<=?>@ABCDEGFHIKJMLNOPQRSTUVWYXZ[]\_^`acbdefghikjlmonq p r s x !#%')+-//` %C*Y* I*s} f M. ˈhJ؈(QV [Xa w~)2(CWУfv@8X͉`׉0 `8#8]-f?K8`vH ʊފ0(p1(62GIR]xViYuX]~`cl@pŋԋ 0ا h/AUqHЌ@ X)(:F"OP$^((kh2zAxGHJPLQύVxZp2HdՎ`& 5)EARH_KpxO8RPV0\ɏ_Pc`gi;HoOPrlXx|0XP؎ؐ(xX.NشeX|@hБ '/+x2?:S0?lBK]0a0rӒX|@P(-8L@:a@<nPUW8_œ bٓHdh~P(-;`OizpHɔ۔X,9 P0dx{`Ǖ8!ڕ'0H6=*[CcYts0y}ɖ(x+4IȪ`uʗ%2DWPwx ǘXH (h  !.+J0_2p680<IƙLTV`[&(b>dZ|jPЇ˚ 00xRqh͛ @1HKxix H  ` ؜P   6% K@+ dP0 }x6  > XD K  Q (`V :`[ S`` te Microsoft.SqlServer.SqlEnum.dllSqlSecureStringMicrosoft.SqlServer.Management.Smo.InternalISqlFilterDecoderCallbackMicrosoft.SqlServer.Management.SmoSqlObjectBaseSqlObjectDatabaseLevelNSDatabaseLevelSqlServerStatementBuilderExecuteSqlFilterDecoderDatabaseCategoryFileGrowthTypeIndexKeyTypePermissionStateBackupDeviceTypeUserDefinedFunctionTypeServerLoginModeLockRequestStatusRecoveryModelCategoryClassMediaTypesLoginTypeUserTypeWindowsLoginAccessTypeDatabaseUserAccessCompatibilityLevelDatabaseStatusSnapshotIsolationStateRangeTypeAssemblySecurityLevelExecutionContextServerDdlTriggerExecutionContextDatabaseDdlTriggerExecutionContextActivationExecutionContextAssemblyAlterOptionsImplementationTypeUserDefinedTypeFormatResourceUsageRestoreTypeCatalogPopulationStatusCatalogPopulationActionIndexPopulationActionBackupSetFlagBackupSetTypeIndexPopulationStatusChangeTrackingReplicationOptionsPrincipalTypePrivateKeyEncryptionTypeSymmetricKeyEncryptionAlgorithmAsymmetricKeyEncryptionAlgorithmSymmetricKeyEncryptionTypeObjectClassPageVerifyMirroringRoleMirroringSafetyLevelMirroringOptionMirroringStatusMirroringWitnessStatusHttpPortTypesEndpointStateXmlFormatOptionXsdSchemaOptionResultFormatMethodXsdSchemaOptionWsdlGeneratorOptionHttpAuthenticationModesLogReuseWaitStatusXmlTypeKindXmlTypeDerivationSecondaryXmlIndexTypeEndpointTypeEndpointEncryptionEndpointEncryptionAlgorithmEndpointAuthenticationOrderProtocolTypeServerMirroringRoleForeignKeyActionXmlDocumentConstraintNSActivationStateMethodLoginTypeAuditLevelPerfMonModeActivationOrderMicrosoft.SqlServer.Management.Smo.AgentAgentLogLevelsAgentMailTypeAgentSubSystemAlertTypeCategoryTypeCompletionActionCompletionResultFrequencyRelativeIntervalsFrequencySubDayTypesFrequencyTypesJobExecutionStatusJobOutcomeJobServerTypeJobStepFlagsJobTypeNotifyMethodsOSRunPriorityStepCompletionActionTargetServerStatusWeekDaysDiskFileXmlReadXmlReadRepeatedXmlReadDocXmlReadPropertiesXmlReadIncludeXmlReadPropertyXmlReadSettingsXmlReadParentLinkXmlRequestParentSelectXmlReadSimpleParentLinkXmlRequestParentSelectFieldXmlReadMultipleLinkLinkFieldTypeXmlReadLinkFieldsXmlReadPropertyLinkXmlReadConditionedStatementXmlReadConditionedStatementPrefixXmlReadConditionedStatementFailConditionXmlReadConditionedStatementPostfixXmlReadConditionedStatementPostProcessXmlReadOrderByRedirectXmlReadSpecialQueryUtilConditionedSqlConditionedSqlListConditionedSqlListEnumeratorSqlPropertyLinkJoinTypeSqlObjectPropertySqlConditionedStatementSqlConditionedStatementPrefixSqlConditionedStatementPostfixSqlConditionedStatementFailConditionParentLinkSqlRequestSqlEnumResultPrimaryFileLinkFieldLinkMultipleSqlPostProcessPostProcessPostProcessTextPostProcessBodyTextPostProcessParamPostProcessCreateDateTimePostProcessCreateDatePostProcessCreateTimePostProcessCreateDateSeconds1990PostProcessCreateTimeSpanHMSPostProcessPermissionCodePostProcessOwnObjectsPostProcessSplitFourPartNamePostProcessFragmentationPostProcessIPAddressPostProcessIP6AddressPostProcessJobActivityPostProcessStatisticStreamPostProcessCreateSqlSecureStringPostProcessDatabaseInsideAttribsPostProcessAutoClosePropertiesSqlTypeConvertIDKeySqlEnumDependenciesRequestParentSelectSqlSupportRestorePlanDataProviderRetriveModeColumnDataManipulationDdlTextParserHeaderInfoDdlTextParserDatabasePermissionSetValueObjectPermissionSetValueServerPermissionSetValuePermissionDecodeDatabaseOptionSqlObjectUnionEventSetBaseServerDdlTriggerEventValuesServerDdlTriggerEventServerDdlTriggerEventSetDatabaseDdlTriggerEventValuesDatabaseDdlTriggerEventDatabaseDdlTriggerEventSetPostProcessDdlEventsPostProcessDatabaseDdlTriggerEventsPostProcessServerDdlTriggerEventsAvailableSQLServersPostProcessVersionPostProcessXmlToListStringSqlEnumeratorMicrosoft.SqlServer.Management.Smo.SqlEnumResmscorlibSystemObjectICloneableIComparableIComparable`1IDisposableMicrosoft.SqlServer.SmoEnumEnumObjectISupportInitDataISupportVersionsEnumSystem.CollectionsIEnumeratorObjectPropertyRequestEnumResultIEnumDependenciesSystem.DataIDataReaderIDataRecordValueTypeSystem.SecuritySecureStringdatalengthempty.cctor.ctorDisposeget_Itemget_Emptyget_LengthCloneCompareStringComparisonSystem.GlobalizationCultureInfoCompareOrdinalCompareToConcatContainsCopyEndsWithEqualsFormatIFormatProviderGetHashCodeIndexOfIndexOfAnyInsertJoinLastIndexOfLastIndexOfAnyop_Equalityop_Inequalityop_AdditionPadLeftPadRightRemoveReplaceSplitStringSplitOptionsStartsWithStringArrayToSqlSecureStringArraySubstringToBstrToLowerToLowerInvariantToSecureStringToStringToUpperToUpperInvariantTrimTrimEndTrimStartop_Explicitop_ImplicitSystem.Data.SqlTypesSqlStringItemEmptyLengthAddPropertyForFilterAddConstantForFilterm_sbm_parentLinkm_conditionedSqlListm_propertyLinkListm_postProcessListm_RequestParentSelectSortedListm_OrderByRedirectm_SpecialQueryArrayListm_LinkFieldsm_distinctget_StatementBuilderset_StatementBuilderget_ParentLinkset_ParentLinkget_RequestParentSelectset_RequestParentSelectget_OrderByRedirectget_SpecialQueryget_ConditionedSqlListset_ConditionedSqlListget_PropertyLinkListset_PropertyLinkListget_PostProcessListset_PostProcessListget_Distinctset_DistinctUrnSetUrnget_SqlRequestget_ObjectNameObjectPropertyUsagesGetSqlPropertyResultTypeget_ResultTypesAddRequestPropertyRegisterPostProcessHitsAddRequestPropertiesAddFilterPropertyAddOrderByPropertyAddLinkPropertyAddConditionalsJustPropDependenciesAddConditionalsRetrieveParentRequestLinksPropagateRequestedParentPropertiesRetrieveParentRequestAddLinkPropertiesAddParentLinkPropertiesAddParentLinkPropertiesParentAddParentLinkPropertiesLocalIntegrateParentResultAddXpathFilterPrepareGetDataGetDataBuildStatementSystem.ReflectionAssemblyget_ResourceAssemblyAddSpecialQueryAddSpecialQueryToResultBuildResultFillDataWithUseFailureSystem.Collections.SpecializedStringCollectionFillDataClearHitsAddLinkFieldsget_CalculateParentRequestResolveLocalLinkLinksAddPostProcessTriggersStoreInitialStateRestoreInitialStateGetRequestedParentSelectFillPrefixPostfixResolveComputedFieldGetAliasPropertyNameAddOrderByInDatabaseAddOrderByAcrossDatabasesAddOrderByDatabaseOrderByDirectionGetFixedFilterValueOrderByRedirectSpecialQueryPropertyLinkListPostProcessListDistinctObjectNameResultTypesResourceAssemblyCalculateParentRequestXPathExpressionBlockInitializeMicrosoft.SqlServer.ConnectionInfoMicrosoft.SqlServer.Management.CommonServerVersionLoadInitDataLoadInitDataFromAssemblyLoadInitDataFromAssemblyInternalLoadAndStoreLoadIncludeFilem_PropertyNameForDatabasem_XmlAssemblym_bLastDatabaseLevelm_bForChildrenget_NamePropertyDataTableGetRequestedDatabasesIsDatabaseNameOrDerivateCleanupFilterNamePropertym_PropertyNameForSchemaPrefixget_SchemaPrefixPropertyGetRequestedSchemaNamesSchemaPrefixPropertyGetServerVersionSystem.TextStringBuilderm_urnm_prefixm_fieldsm_fromm_wherem_postfixm_orderBym_ParentPropsm_NonTriggeredPropsm_conditionm_postProcessm_bDistinctm_bStoredPropsAddedm_InternalSelectbFirstJoinIsClassicget_ParentPropertiesSetInnternalSelectget_NonTriggeredPropertiesget_IsFirstJoinIsEmptyget_Fromset_FromAddElementAddUrnAddPrefixAddConditionAddPostfixAddFieldsAddFromAddJoinAddWhereAddOrderByAddPropertyAddPostProcessMergeInternalSelectget_SqlStatementget_SqlPostfixClearPrefixPostfixMakeCopyStoreParentPropertyGetSqlNoPrefixPostfixAddStoredPropertiesGetOrderByClearOrderByGetCreateTemporaryTableSqlConnectAddColumnSelectAndDropClearFailConditionParentPropertiesNonTriggeredPropertiesIsFirstJoinFromSqlStatementSqlPostfixServerConnectionm_conctxbHasConnectedm_MessagesSqlExecutionModesm_semInitialSystem.Data.SqlClientSqlInfoMessageEventHandlerm_ServerInfoMessageConnectDisconnectInitConnectionStartCaptureSqlInfoMessageEventArgsRecordMessageClearCaptureExecutionFailureExceptionTryToReconnectExecuteImmediateExecuteWithResultsSqlDataReaderGetDataReaderExecuteImmediateGetMessageGetDataProviderm_isfdcm_sqlm_bInFuncContainsm_strPrefixget_StringPrefixset_StringPrefixFilterNodeGetSqlFilterNodeOperatorTypeXPathOpToSqOpdecodeFilterNodeFunctionFilterNodeAttributeStringPrefixvalue__PublishedSubscribedMergePublishedMergeSubscribedKBPercentNoneDriPrimaryKeyDriUniqueKeyDenyRevokeGrantGrantWithGrantCDRomDiskFloppyAFloppyBPipeTapeUnknownInlineScalarTableNormalIntegratedMixedGrantedConvertingWaitingSimpleBulkLoggedFullJobAlertOperatorAllFixedDiskFloppySharedFixedDiskWindowsUserWindowsGroupSqlLoginCertificateAsymmetricKeyNoLoginNonNTLoginUndefinedSingleRestrictedMultipleVersion60Version65Version70Version80Version90RestoringRecoveryPendingRecoveringSuspectOfflineStandbyShutdownEmergencyModeAutoClosedInaccessibleDisabledEnabledPendingOffPendingOnLeftRightSafeExternalUnrestrictedCallerOwnerExecuteAsUserSelfExecuteAsLoginNoChecksTransactSqlSqlClrNativeUserDefinedSerializedDataSerializedDataWithMetadataBackgroundBelowNormalAboveNormalDedicatedDatabaseFileFileGroupVerifyOnlyIdleCrawlinProgressPausedThrottledIncrementalUpdatingIndexDiskFullPauseNotificationUpdateMinimalLogDataWithSnapshotReadOnlyDatabaseSingleUserModeDatabaseLogFileOrFileGroupManualPausedOrThrottledOffAutomaticLoginServerRoleUserDatabaseRoleApplicationRoleNoKeyMasterKeyPasswordRC2RC4DesTripleDesDesXAes128Aes192Aes256Rsa512Rsa1024Rsa2048SymmetricKeyObjectOrColumnSchemaSqlAssemblyUserDefinedTypeSecurityExpressionXmlNamespaceMessageTypeServiceContractServiceRemoteServiceBindingServiceRouteFullTextCatalogServerServerPrincipalEndpointTornPageDetectionChecksumPrincipalMirrorSuspendResumeRemoveWitnessFailoverForceFailoverAndAllowDataLossSuspendedDisconnectedSynchronizingPendingFailoverSynchronizedConnectedSslClearStartedStoppedXmlFormatSqlFormatStandardAllResultsRowSetsDefaultDefaultProcedureProcedureAnonymousBasicDigestNothingCheckpointLogBackupBackupOrRestoreTransactionMirroringReplicationSnapshotCreationLogScanOtherAnyAnySimplePrimitiveListUnionComplexSimpleComplexElementModelGroupElementWildcardAttributeAttributeGroupAttributeWildcardExtensionRestrictionSubstitutionPathValuePropertySoapTSqlServiceBrokerDatabaseMirroringSupportedRequiredAesAesRC4RC4AesNtlmKerberosNegotiateNtlmCertificateKerberosCertificateNegotiateCertificateCertificateNtlmCertificateKerberosCertificateNegotiateHttpTcpNamedPipesSharedMemoryViaPartnerWitnessNoActionCascadeSetNullSetDefaultContentDocumentEnablePendingDisablePendingWindowsSuccessFailureContinuousOnDemandFirstLastErrorsWarningsInformationalSqlAgentMailDatabaseMailActiveScriptingCmdExecSnapshotLogReaderDistributionQueueReaderAnalysisQueryAnalysisCommandSsisSqlServerEventSqlServerPerformanceConditionNonSqlServerEventWmiEventLocalJobMultiServerJobNeverOnSuccessOnFailureAlwaysFailedSucceededRetryCancelledInProgressSecondThirdFourthHourMinuteOnceAutoStartDailyMonthlyMonthlyRelativeOneTimeOnIdleWeeklyExecutingWaitingForWorkerThreadBetweenRetriesWaitingForStepToFinishPerformingCompletionActionStandaloneTsxMsxAppendToLogFileAppendToJobHistoryLogToTableWithOverwriteAppendToTableLogAppendAllCmdExecOutputToJobHistoryLocalMultiServerNotifyEmailPagerNetSendNotifyAllTimeCriticalQuitWithSuccessQuitWithFailureGoToNextStepGoToStepSuspectedOfflineBlockedSundayMondayTuesdayWednesdayThursdayFridaySaturdayEveryDayWeekEndsSystem.XmlXmlTextReaderm_readerm_aliasm_closedm_versionget_Readerset_Readerget_Closedset_Closedget_Versionset_Versionget_Aliasset_AliasCloseSkipIsElementWithCheckVersionGetAliasStringGetFieldsGetTextOfElementReaderClosedVersionAliasNextSystem.IOStreamm_fsLoadFileReadUnionget_Settingsget_PropertiesSettingsPropertiesget_Propertyget_IncludeIncludeget_Fileget_TableAliasget_RequestedFieldsTableAliasRequestedFieldsget_Nameget_ReadOnlyget_ClrTypeget_ExtendedTypeget_DbTypeget_Expensiveget_Castget_Hiddenget_Usageget_Valueget_Tableget_Linkget_Sizeget_HasPropertyLinkget_MultipleLinkNameReadOnlyClrTypeExtendedTypeDbTypeExpensiveCastHiddenUsageLinkSizeHasPropertyLinkMultipleLinkget_MainTableget_AdditionalFilterget_FailConditionget_PropertyLinkget_Prefixget_Postfixget_PostProcessMainTableAdditionalFilterFailConditionPropertyLinkPrefixPostfixget_SimpleParentLinkSimpleParentLinkget_FieldFieldget_Localget_ParentParentget_Noget_Expressionget_LinkFieldsNoExpressionLinkFieldsComputedFilterget_Typeget_DefaultValueDefaultValueget_Fieldsget_InnerJoinget_ExpressionIsForTableNameget_LeftJoinget_FilterFieldsInnerJoinExpressionIsForTableNameLeftJoinget_SqlSqlget_ClassNameget_TriggeredFieldsClassNameTriggeredFieldsget_RedirectFieldsRedirectFieldsget_Databaseget_QueryQueryDbTypeToClrTypeDataSetTransformToRequestEscapeStringMakeSqlStringLoadAssemblyCreateObjectInstanceUnEscapeStringSplitNamesEscapeLikePatternm_usedm_LinkMultiplem_colsSetFieldsget_IsUsedIsHitTestHitIsDefaultget_AcceptsMultipleHitsget_UsedMarkHitClearHitget_LinkMultipleset_LinkMultipleAddLinkMultipleAddHitIsUsedAcceptsMultipleHitsUsedget_CountAddAddHitsAddDefaultGetEnumeratorCountbaseEnumeratorSystem.Collections.IEnumerator.get_Currentget_CurrentMoveNextResetSystem.Collections.IEnumerator.Currentm_tablem_filterm_bExpressionIsForTableNamem_joinTypeAddAllset_TableGetTableNameWithAliasGetFilterClassicInnerm_valuem_dbTypem_sizem_Aliasm_SessionValuem_bCastset_ValueGetValueGetTypeWithSizeGetValueWithCastInitSessionValueget_SessionValueset_SessionValueget_DBTypeSessionValueDBTypeGetLocalSqlInitm_listLinkFieldm_PrefixPostfixFieldsm_bResolveDatabasesSetLinkFieldsset_ResolveDatabasesget_ResolveDatabasesget_PrefixPostfixFieldsset_PrefixPostfixFieldsMergeLinkFiledsResolveDatabasesPrefixPostfixFieldsm_databasesm_SchemaPrefixesm_NamePropertiesm_SchemaPrefixPropertiesm_LastDbLevelSetm_PostProcessFieldsget_PostProcessFieldsget_NamePropertiesset_NamePropertiesget_SchemaPrefixPropertiesset_SchemaPrefixPropertiesget_LastDbLevelSetset_LastDbLevelSetget_Levelget_Databasesset_Databasesget_SchemaPrefixesset_SchemaPrefixesDataRowGetUseSubstituteSchemaPrefixget_MultipleDatabasesIsDatabaseListEqualBuildSqlGetSingleDatabaseSqlPostProcessFieldsNamePropertiesSchemaPrefixPropertiesLastDbLevelSetLevelDatabasesSchemaPrefixesMultipleDatabasesm_fieldm_typeset_Typeset_Fieldm_nom_expressionm_listLinkget_HasLinkFieldsset_NoGetSqlExpressionSetSqlExpressionHasLinkFieldsm_classNamem_assemblym_triggeredFieldsm_HitFieldsGetPostProcessInstanceRegisterm_cim_objectNamem_reqbLookUpOrdinalDonem_triggeredColumnsIdLookupget_ConnectionInfoset_ConnectionInfoget_HitFieldsset_HitFieldsGetIsFieldHitset_ObjectNameget_Requestset_RequestIsLookupInitget_SupportDataReaderCheckDataReaderSupportInitNameBasedLookupUpdateFromNameBasedToOrdinalLookupDataRowCollectionBinarySearchBinarySearchSetOnFirstIsNullGetTriggeredObjectGetTriggeredInt32GetTriggeredBoolGetTriggeredStringGetColumnDataCleanRowDataConnectionInfoHitFieldsSupportDataReaderm_textm_btextSetm_dtTextGetTextForAllRowsGetTextForObjectget_IsTextSetSetTextGetTextFor90IsTextSetm_idxm_idxEndget_IdxStartget_IdxEndget_HasParantesisget_TableVariableNameIdxStartIdxEndHasParantesisTableVariableNamesSingleLineCommentSqlsSingleLineCommentCsMultiLineCommentsSingleQuotedStringSqlsDoubleQuotedStringsBraketedWordsWordsNumbersHexNumbersParamValueQIsParamValuesCommasParanthesissEqsDelimsParamsGrammarQIsGrammarm_textListSystem.Text.RegularExpressionsRegexm_rParseParamsGetTextIsProcessedGetParamGetDateTimeGetSmoCodeFromSqlCodeShilohToYukonPermissionGetDatabaseLevelGetUrnm_listNamescalledUseDBisInitDataRowcontigDataInitRowDatadtm_bytesPerPagem_querym_rowResultsget_BytesPerPageEnsureDataCorectnessGetRowResultsBuildCommonSqlBuildSqlStatementMoreEqual90BuildSqlStatementLess90AddDbChainingGetPathBytesPerPagem_rowAutoCloseDataCalculateAutoCloseMissingPropsm_typeNamem_typeNom_pathset_Nameget_Pathset_Pathm_idget_idset_idget_typeset_typeidtypem_serverm_databasem_tempDependenciesm_typeConvertTablem_targetVersionget_TypeConvertTableTypeToNoDependencyChainCollectionDependencyRequestEnumDependenciesFindByNoBuildIDKeyDumpRowResolveDeferredLinksGetUrnByQueryBuildUrnGetUseStringTypeConvertTablem_FieldsCompareOptionsGetCompareOptionsFromCollationm_execSqlm_dataReadernonTriggeredPropertiesCountrowDatarowDataManipulationm_bHasTypeCastm_bHasPostProcessm_RetriveModem_nCurentCachePosSetConnectionAndQueryInitRowDataManipulationInitSchemaTableGetTrigeredValueGetDataFromStorageSetDataInStorageReadInternalManipulateRowDataPostProcessManipulateRowDataTypeManipulateRowDataget_Depthget_IsClosedget_RecordsAffectedGetSchemaTableNextResultReadGetTableget_FieldCountAdjustIndexGetBooleanGetByteGetBytesGetCharGetCharsGetDataTypeNameDateTimeDecimalGetDecimalGetDoubleGetFieldTypeGetFloatGuidGetGuidGetInt16GetInt32GetInt64GetNameGetOrdinalGetStringGetValuesIsDBNullDepthIsClosedRecordsAffectedFieldCountRetriveDataReaderRetriveDataTablenametargetTypesourceTypepostProcessscriptForCreateindexCreateindexNameStartindexNameEndobjectTypeschemadatabaseprocedureNumberindexNameStartSecondaryindexNameEndSecondaryschemaSecondarynameSecondarydatabaseSecondarysProcNumbersSingleQuotedStringsDotsPharanthesissExecsReturnssReturnsTablesReturnsDelim1sDelim2hasParanthesisreturnTableVariableNameregexMatchReadNameFromDdlReadFullNameFromDdlCheckDdlHeaderParseDdlHeadersMultiLineComment_endsSpace_endsWord_endsEol_endsSingleLineComment_endsReject_endm_r_endParseCheckOptionAlterAlterAnyAsymmetricKeyAlterAnyApplicationRoleAlterAnyAssemblyAlterAnyCertificateAlterAnyDataspaceAlterAnyDatabaseEventNotificationAlterAnyFulltextCatalogAlterAnyMessageTypeAlterAnyRoleAlterAnyRouteAlterAnyRemoteServiceBindingAlterAnyContractAlterAnySymmetricKeyAlterAnySchemaAlterAnyServiceAlterAnyDatabaseDdlTriggerAlterAnyUserAuthenticateBackupDatabaseBackupLogControlConnectReplicationCreateAggregateCreateAsymmetricKeyCreateAssemblyCreateCertificateCreateDatabaseCreateDefaultCreateDatabaseDdlEventNotificationCreateFunctionCreateFulltextCatalogCreateMessageTypeCreateProcedureCreateQueueCreateRoleCreateRouteCreateRuleCreateRemoteServiceBindingCreateContractCreateSymmetricKeyCreateSchemaCreateSynonymCreateServiceCreateTableCreateTypeCreateViewCreateXmlSchemaCollectionDeleteExecuteReferencesSelectShowplanSubscribeQueryNotificationsTakeOwnershipViewDefinitionViewDatabaseStateImpersonateReceiveSendAdministerBulkOperationsAlterAnyCredentialAlterAnyConnectionAlterAnyDatabaseAlterAnyEventNotificationAlterAnyEndpointAlterAnyLoginAlterAnyLinkedServerAlterResourcesAlterServerStateAlterSettingsAlterTraceAuthenticateServerControlServerConnectSqlCreateAnyDatabaseCreateDdlEventNotificationCreateEndpointCreateTraceEventNotificationViewAnyDefinitionViewAnyDatabaseViewServerStateExternalAccessAssemblyUnsafeAssemblyToDatabasePermissionSetValueEnumToObjectPermissionSetValueEnumToServerPermissionSetValueEnumm_listObjectsProcessStatementBuilderBitArraym_storageget_Storageset_Storageget_NumberOfElementsSetBitAtGetBitAtSetValueFitsMaskHasCommonBitsStorageNumberOfElementsDdlServerLevelEventsAlterEndpointDropEndpointCreateLoginAlterLoginDropLoginGrantServerDenyServerRevokeServerAlterCertificateDropCertificateAlterAuthorizationServerop_BitwiseOrBitwiseOrget_CreateEndpointget_AlterEndpointget_DropEndpointget_CreateLoginget_AlterLoginget_DropLoginget_GrantServerget_DenyServerget_RevokeServerget_CreateCertificateget_AlterCertificateget_DropCertificateget_AlterAuthorizationServerSetBitResetBitop_SubtractionSubtractdirtyget_Dirtyset_Dirtyset_CreateEndpointset_AlterEndpointset_DropEndpointset_CreateLoginset_AlterLoginset_DropLoginset_GrantServerset_DenyServerset_RevokeServerset_CreateCertificateset_AlterCertificateset_DropCertificateset_AlterAuthorizationServerddlserverleveleventsget_DdlServerLevelEventsset_DdlServerLevelEventsddlendpointeventsget_DdlEndpointEventsset_DdlEndpointEventsddlserversecurityeventsget_DdlServerSecurityEventsset_DdlServerSecurityEventsddllogineventsget_DdlLoginEventsset_DdlLoginEventsddlgdrservereventsget_DdlGdrServerEventsset_DdlGdrServerEventsddlcertificateeventsget_DdlCertificateEventsset_DdlCertificateEventsddlauthorizationservereventsget_DdlAuthorizationServerEventsset_DdlAuthorizationServerEventsDirtyDdlEndpointEventsDdlServerSecurityEventsDdlLoginEventsDdlGdrServerEventsDdlCertificateEventsDdlAuthorizationServerEventsDdlDatabaseLevelEventsAlterTableDropTableAlterViewDropViewCreateIndexAlterIndexDropIndexCreateXmlIndexCreateStatisticsUpdateStatisticsDropStatisticsDropSynonymAlterFunctionDropFunctionAlterProcedureDropProcedureCreateTriggerAlterTriggerDropTriggerCreateEventNotificationDropEventNotificationAlterAssemblyDropAssemblyDropTypeCreateUserAlterUserDropUserAlterRoleDropRoleCreateApplicationRoleAlterApplicationRoleDropApplicationRoleAlterSchemaDropSchemaGrantDatabaseDenyDatabaseRevokeDatabaseAlterAuthorizationDatabaseAlterMessageTypeDropMessageTypeDropContractAlterQueueDropQueueAlterServiceDropServiceAlterRouteDropRouteAlterRemoteServiceBindingDropRemoteServiceBindingAlterXmlSchemaCollectionDropXmlSchemaCollectionCreatePartitionFunctionAlterPartitionFunctionDropPartitionFunctionCreatePartitionSchemeAlterPartitionSchemeDropPartitionSchemeget_CreateTableget_AlterTableget_DropTableget_CreateViewget_AlterViewget_DropViewget_CreateIndexget_AlterIndexget_DropIndexget_CreateXmlIndexget_CreateStatisticsget_UpdateStatisticsget_DropStatisticsget_CreateSynonymget_DropSynonymget_CreateFunctionget_AlterFunctionget_DropFunctionget_CreateProcedureget_AlterProcedureget_DropProcedureget_CreateTriggerget_AlterTriggerget_DropTriggerget_CreateEventNotificationget_DropEventNotificationget_CreateAssemblyget_AlterAssemblyget_DropAssemblyget_CreateTypeget_DropTypeget_CreateUserget_AlterUserget_DropUserget_CreateRoleget_AlterRoleget_DropRoleget_CreateApplicationRoleget_AlterApplicationRoleget_DropApplicationRoleget_CreateSchemaget_AlterSchemaget_DropSchemaget_GrantDatabaseget_DenyDatabaseget_RevokeDatabaseget_AlterAuthorizationDatabaseget_CreateMessageTypeget_AlterMessageTypeget_DropMessageTypeget_CreateContractget_DropContractget_CreateQueueget_AlterQueueget_DropQueueget_CreateServiceget_AlterServiceget_DropServiceget_CreateRouteget_AlterRouteget_DropRouteget_CreateRemoteServiceBindingget_AlterRemoteServiceBindingget_DropRemoteServiceBindingget_CreateXmlSchemaCollectionget_AlterXmlSchemaCollectionget_DropXmlSchemaCollectionget_CreatePartitionFunctionget_AlterPartitionFunctionget_DropPartitionFunctionget_CreatePartitionSchemeget_AlterPartitionSchemeget_DropPartitionSchemeset_CreateTableset_AlterTableset_DropTableset_CreateViewset_AlterViewset_DropViewset_CreateIndexset_AlterIndexset_DropIndexset_CreateXmlIndexset_CreateStatisticsset_UpdateStatisticsset_DropStatisticsset_CreateSynonymset_DropSynonymset_CreateFunctionset_AlterFunctionset_DropFunctionset_CreateProcedureset_AlterProcedureset_DropProcedureset_CreateTriggerset_AlterTriggerset_DropTriggerset_CreateEventNotificationset_DropEventNotificationset_CreateAssemblyset_AlterAssemblyset_DropAssemblyset_CreateTypeset_DropTypeset_CreateUserset_AlterUserset_DropUserset_CreateRoleset_AlterRoleset_DropRoleset_CreateApplicationRoleset_AlterApplicationRoleset_DropApplicationRoleset_CreateSchemaset_AlterSchemaset_DropSchemaset_GrantDatabaseset_DenyDatabaseset_RevokeDatabaseset_AlterAuthorizationDatabaseset_CreateMessageTypeset_AlterMessageTypeset_DropMessageTypeset_CreateContractset_DropContractset_CreateQueueset_AlterQueueset_DropQueueset_CreateServiceset_AlterServiceset_DropServiceset_CreateRouteset_AlterRouteset_DropRouteset_CreateRemoteServiceBindingset_AlterRemoteServiceBindingset_DropRemoteServiceBindingset_CreateXmlSchemaCollectionset_AlterXmlSchemaCollectionset_DropXmlSchemaCollectionset_CreatePartitionFunctionset_AlterPartitionFunctionset_DropPartitionFunctionset_CreatePartitionSchemeset_AlterPartitionSchemeset_DropPartitionSchemeddldatabaseleveleventsget_DdlDatabaseLevelEventsset_DdlDatabaseLevelEventsddltablevieweventsget_DdlTableViewEventsset_DdlTableViewEventsddltableeventsget_DdlTableEventsset_DdlTableEventsddlvieweventsget_DdlViewEventsset_DdlViewEventsddlindexeventsget_DdlIndexEventsset_DdlIndexEventsddlstatisticseventsget_DdlStatisticsEventsset_DdlStatisticsEventsddlsynonymeventsget_DdlSynonymEventsset_DdlSynonymEventsddlfunctioneventsget_DdlFunctionEventsset_DdlFunctionEventsddlprocedureeventsget_DdlProcedureEventsset_DdlProcedureEventsddltriggereventsget_DdlTriggerEventsset_DdlTriggerEventsddleventnotificationeventsget_DdlEventNotificationEventsset_DdlEventNotificationEventsddlassemblyeventsget_DdlAssemblyEventsset_DdlAssemblyEventsddltypeeventsget_DdlTypeEventsset_DdlTypeEventsddldatabasesecurityeventsget_DdlDatabaseSecurityEventsset_DdlDatabaseSecurityEventsddlusereventsget_DdlUserEventsset_DdlUserEventsddlroleeventsget_DdlRoleEventsset_DdlRoleEventsddlapplicationroleeventsget_DdlApplicationRoleEventsset_DdlApplicationRoleEventsddlschemaeventsget_DdlSchemaEventsset_DdlSchemaEventsddlgdrdatabaseeventsget_DdlGdrDatabaseEventsset_DdlGdrDatabaseEventsddlauthorizationdatabaseeventsget_DdlAuthorizationDatabaseEventsset_DdlAuthorizationDatabaseEventsddlssbeventsget_DdlSsbEventsset_DdlSsbEventsddlmessagetypeeventsget_DdlMessageTypeEventsset_DdlMessageTypeEventsddlcontracteventsget_DdlContractEventsset_DdlContractEventsddlqueueeventsget_DdlQueueEventsset_DdlQueueEventsddlserviceeventsget_DdlServiceEventsset_DdlServiceEventsddlrouteeventsget_DdlRouteEventsset_DdlRouteEventsddlremoteservicebindingeventsget_DdlRemoteServiceBindingEventsset_DdlRemoteServiceBindingEventsddlxmlschemacollectioneventsget_DdlXmlSchemaCollectionEventsset_DdlXmlSchemaCollectionEventsddlpartitioneventsget_DdlPartitionEventsset_DdlPartitionEventsddlpartitionfunctioneventsget_DdlPartitionFunctionEventsset_DdlPartitionFunctionEventsddlpartitionschemeeventsget_DdlPartitionSchemeEventsset_DdlPartitionSchemeEventsDdlTableViewEventsDdlTableEventsDdlViewEventsDdlIndexEventsDdlStatisticsEventsDdlSynonymEventsDdlFunctionEventsDdlProcedureEventsDdlTriggerEventsDdlEventNotificationEventsDdlAssemblyEventsDdlTypeEventsDdlDatabaseSecurityEventsDdlUserEventsDdlRoleEventsDdlApplicationRoleEventsDdlSchemaEventsDdlGdrDatabaseEventsDdlAuthorizationDatabaseEventsDdlSsbEventsDdlMessageTypeEventsDdlContractEventsDdlQueueEventsDdlServiceEventsDdlRouteEventsDdlRemoteServiceBindingEventsDdlXmlSchemaCollectionEventsDdlPartitionEventsDdlPartitionFunctionEventsDdlPartitionSchemeEventsm_dtEventsGetEventsForAllRowsGetTriggerEventsDatabaseDdlTriggerEventOffsetFromEventStringServerDdlTriggerEventOffsetFromEventStringConvertToValidVersionget_Cultureset_Cultureget_IncorectVersionTagget_NullVersionOnLoadingCfgFileget_EnumObjectTagNotFoundget_InvalidConnectionTypeget_OnlyPathOrFullNameget_DatabaseNameMustBeSpecifiedFailedToLoadResFileUnsupportedTypeDepDiscoveryQueryNotSupportedPostProcessFailedToLoadAssemblyFailedToCreateUrnget_UnknownOperatorPropMustBeSpecifiedInvalidUrnForDependsget_TooManyDbLevelsCouldNotInstantiateObjNotDerivedFromUnknownTypeget_InvalidConfigurationFileMissingSectionget_NotDbObjectget_NotSingleDbTooManyLinkMultipleElemsget_NoClassNamePostProcessInvalidVersionInvalidSqlServerDatabaseNameMustBeSpecifiedinTheUrnCouldNotGetInfoFromDependencyRowget_SqlServer90Nameget_SqlServer80NameCultureIncorectVersionTagNullVersionOnLoadingCfgFileEnumObjectTagNotFoundInvalidConnectionTypeOnlyPathOrFullNameDatabaseNameMustBeSpecifiedUnknownOperatorTooManyDbLevelsInvalidConfigurationFileNotDbObjectNotSingleDbNoClassNamePostProcessSqlServer90NameSqlServer80NameSystem.ResourcesResourceManagerresourceManagercultureAssemblyFileVersionAttributeAssemblyVersionAttributeAssemblyTrademarkAttributeAssemblyCopyrightAttributeAssemblyProductAttributeAssemblyCompanyAttributeAssemblyKeyNameAttributeNeutralResourcesLanguageAttributeCLSCompliantAttributeSystem.Runtime.InteropServicesComVisibleAttributeAssemblyCultureAttributeAssemblyConfigurationAttributeAssemblyDescriptionAttributeAssemblyTitleAttributeSystem.Runtime.CompilerServicesInternalsVisibleToAttributeSystem.DiagnosticsDebuggableAttributeDebuggingModesCompilationRelaxationsAttributeRuntimeCompatibilityAttributeMicrosoft.SqlServer.SqlEnumDefaultMemberAttributestrArgumentNullExceptionStringToCharArrayAppendCharsecureStringbstrIntPtrZeroMarshalPtrToStringAutoindexget_CharsstrAstrBignoreCasecomparisonTypecultureInfoindexAindexBobjotherargsParamArrayAttributevalueformatargumentsformatProviderstartIndexcountanyOfseparatorArgumentOutOfRangeExceptionAppendtotalWidthpaddingCharoldCharnewCharoldValuenewValueoptionsarraySecureStringToBSTRSystem.Security.PermissionsSecurityPermissionSecurityPermissionFlagCodeAccessPermissionAssertPtrToStringBSTRZeroFreeBSTRtrimCharssqlSecureStringget_IsNullconstantValueStringComparerget_OrdinalIComparerurnset_Urnget_UrnfieldusageGetPropertyproptriggeredPropertiesRequestget_ResultTypeoverrideFlagssrget_ParentPropertiesRequestsset_FieldsArrayCopyToPropertyAliasget_PropertyAliasset_PropertyAliasget_OrderByListset_OrderByListset_ParentPropertiesRequestsRequestFieldsTypesset_RequestFieldsTypesset_ResultTypelftlinkFieldserParentGetExecutingAssemblyqueryresultIDictionaryEnumeratorDictionaryEntryget_KeyConnectionManagerget_ServerVersionget_MajorsqlresultresultTypeExceptionget_InnerExceptionSqlExceptionget_Classget_Stateget_NumbersqlconnectionInfosbget_InvariantCultureset_LocaleDataTableCollectionget_TablesResultTypeNotSupportedEnumeratorExceptionlinkfieldsGetPropertiesStringEnumeratorEnumeratorProcessfieldNameerChildrenbAcrossDatabasesget_DirdirbHiddenFieldget_FixedPropertiesFilterNodeConstantObjectTypeget_ObjTypeget_ValueAsStringciblockfileverassemblyObjectaliasrequestedFieldsstorexrdassemblyset_ItemxriresInt32serParentGetFixedStringPropertyDataColumnCollectionget_ColumnsGetTypeDataColumnNewRowget_Rowsinit_dataXmlDocumentLoadXmlXmlElementget_DocumentElementXmlNodeXmlAttributeCollectionget_AttributesXmlAttributeget_ItemOfset_FilterconnsdelimStartdelimEnddelimElemsorderByValueGetRangeICollectionInsertRangeAddRangesopbTriggeredset_LengthtableNamesqlCreatebFirstbUseAliassOrderByconget_SqlExecutionModesset_SqlExecutionModesget_IsOpenSqlConnectionInfoWithConnectionget_ServerConnectionSqlConnectionInfoSqlConnectionSqlDirectConnectionget_SqlConnectionInternalEnumeratorExceptionadd_InfoMessagesendereremove_InfoMessageget_SqlConnectionObjectSystem.Data.CommonDbConnectionOpenExecutionTypesExecuteNonQueryExecuteReaderrmisfdcnodeopInvalidQueryExpressionEnumeratorExceptionget_NodeTypeget_Leftget_OpTypeget_RightFilterNodeGroupget_Nodefuncget_FunctionTypeGetParameteraxFlagsAttributeComputeFixedPropertiesxmlReaderversionserverAliasXmlUtilitySelectNextElementSelectNextElementOnLevelelemNameXmlReaderParseSelectNextSiblingIsElementfieldsCharget_IsEmptyElementXmlNodeTypeastrFileGetManifestResourceStreamInvalidConfigurationFileEnumeratorExceptionset_ProhibitDtdInvalidVersionEnumeratorExceptionBooleanstrDBType{3A8243CC-A9E8-441B-825D-30A2CD189CA3}CompilerGeneratedAttributeSystem.Collections.GenericDictionary`2$$method0x600018d-1TryGetValuedsescapeCharacterassemblyNameget_FullNameAssemblyNameSystem.Security.PolicyEvidenceBindingFlagsBinderCreateInstanceescapedValuestartEscapeCharescapeCharpatternxrmplienumeratorxrplxrpxrslistset_Expensiveset_ReadOnlyset_ExtendedTypeset_UsageoisTriggeredxrcsxrsplreqUserget_RequestFieldsTypesreqobget_Dataset_DataInternalDataCollectionBasedbsdb1db2get_NowMinValueTimeSpanget_TotalMillisecondsDoubleGetKeyexprxrppasemblyget_KeysIEnumerableContainsKeyQueryNotSupportedEnumeratorExceptiontriggeredFieldstriggeredColumnsAliasNameLookupcolobjectIdentifiercolumnNamedatabaseNamedpsObjectIdentifiersKeytextbQIRegexOptionsGroupCollectionget_GroupsGroupget_SuccessCaptureNextMatchsDatabasenumberDBNullsParamNameInt16oDateoTimesqlCodepermTypebWithSchematentativeParent$$method0x600025a-1SqlErrorCollectionget_ErrorsSqlErrorget_Message$$method0x6000263-1Int64System.NetIPAddress$$method0x6000269-1useDbStringget_Minor$$method0x600027a-1sFullNameGetDirectoryNameArgumentExceptionnopath$$method0x6000290-1get_Valuesrdget_UrnsGetNameForTypeGetAttributeAppendLineget_ParentDependenciesStreamReaderTextReaderReadToEndRuntimeTypeHandleGetTypeFromHandleDependencyget_LinksrowforParentInvalidCastExceptionget_CaptiondeferredLinkidkxrrpscollationexecSqlDbDataReaderparentPropertiespostProcessListget_IsEnumToObjectIConvertibleget_IsPrimitiveget_CurrentCultureToTypeConstructorInfoCallingConventionsParameterModifierGetConstructorInvokeMethodInfoGetMethodMethodBaseRemoveAtidxBytefieldOffsetbufferbufferoffsetfieldoffsetget_DataTypevaluesStructLayoutAttributeLayoutKindmuseQuotedIdentifierheaderInfoget_IndexobjectTextOutAttributeddlText$$method0x60002d7-1$$method0x60002d8-1$$method0x60002d9-1sereventSetBaseOrNotAndmaskoptionsCompareeventValueeventLefteventRighteventSetanEventeventsstorageMemberInfoevtdesc$$method0x600047c-1$$method0x600047f-1System.Data.SqlSqlDataSourceEnumeratorget_InstanceDbDataSourceEnumeratorGetDataSourcesEnvironmentget_MachineNamemajorminorbuildrevisionIsNullOrEmptyXmlNodeListget_ChildNodesfileNameobjTypesuppListpropListobjCodeobjNamesectionproductNamerowInformationkeyModuleget_Moduleget_AssemblyMicrosoft.SqlServer.Management.Smo.SqlEnum.StringSqlEnumerator.resourcesDatabase.xmlFileGroup.xmlFile.xmlLogFile.xmlServerRole.xmlLogin.xmlDatabaseMappings.xmlUser.xmlDatabaseRole.xmlApplicationRole.xmlFixedDrive.xmlRemoteDrive.xmlRemovableDrive.xmlCdromDrive.xmlDrive.xmlDiskFile.xmlLanguage.xmlLinkedServer.xmltable.xmlView.xmlStoredProcedure.xmlLinkedServerLogin.xmlMember.xmlJobServer.xmlIndex.xmlIndexedColumn.xmlJobStep.xmlJobStepOutputLog.xmlagent_jobschedule.xmlSchedule.xmlSharedSchedule.xmlPrimaryFile.xmlOLEDBProvider.xmlOLEDBProvProp.xmlPrimaryChildren.xmlServer.xmlCheck.xmlTrigger.xmlUDF.xmlColumn.xmlJob.xmlAditionalParameters.xmlDatabaseRoleMember.xmlUserOwnedObject.xmlNTGroup.xmlNTLogin.xmlRule.xmlRuleColumn.xmlRuleDataType.xmlConfiguration.xmlDefault.xmlUddt.xmlForeignKey.xmlUDFParams.xmlBoundColumn.xmlConnection.xmlsdt.xmlBackupDevice.xmlXStoredProcedure.xmlDefaultColumn.xmlDefaultDataType.xmlinc_sql_module_JustText.xmlinc_sql_module.xmlinc_urn_schema.xmlinc_urn.xmlinc_ruledef80.xmlinc_objprop_table_view.xmlDefaultConstrain.xmlText.xmlStatistic.xmlCollation.xmlDatabaseLocks.xmlErrorLog.xmlErrorLogText.xmlProcess.xmlLock.xmlTapeDevice.xmlinc_text.xmlinc_DbFile.xmlbackupset.xmlrestorehistory.xmlrestorefile.xmlrestorefilegroup.xmlbackupfile.xmlbackupmediafamily.xmlbackupmediaset.xmlagent_alert.xmlagent_operator.xmlagent_targetserver.xmlagent_alertsystem.xmlagent_targetservergroup.xmlagent_targetservermember.xmlinc_fulltext.xmlagent_jobalert.xmlagent_jobhistory.xmlagent_jobtargetservers.xmlagent_ErrorLog.xmlagent_ErrorLogText.xmlAvailableMedia.xmlStatisticColumn.xmlUserOption.xmlInformation.xmlSettings.xmlFKColumn.xmlComputedText.xmlinc_object.xmlinc_system_object.xmlinc_system_table_view_sp_udf.xmlinc_constraint.xmlPartitionSchemeParameter.xmlPartitionFunction.xmlPartitionFunctionParameter.xmlPartitionFunctionRangeValue.xmlPartitionScheme.xmlPartitionSchemeFileGroup.xmlinc_storage.xmlinc_type.xmlExtendedProperty.xmlinc_shilohExtendedProperty.xmlLevel0ExtendedProperty.xmlLevel1ExtendedProperty.xmlLevel2ExtendedProperty.xmlLevel2IndexExtendedProperty.xmlinc_level2SupportProperties.xmlDbExtendedProperty.xmlinc_type_reference.xmlinc_column_reference.xmlsql_module_link.xmlmixed_module_link.xmlrestore_plan.xmlAlertNotification.xmlOperatorNotification.xmlOperatorJobNotification.xmlSqlAssembly.xmlSqlAssemblyFile.xmlUserDefinedType.xmlUserDefinedAggregate.xmlUserDefinedAggregateParameter.xmlFullTextService.xmlFullTextCatalog.xmlSchema.xmlFullTextIndex.xmlFullTextIndexColumn.xmlYukonDependency.sqlShilohDependency.sqlYukonuserownedobject.xmlYukonuserownedobjectSchema.xmlFullTextLanguage.xmlPerfInfo.xmlAgentPerfInfo.xmlServerActiveDirectory.xmlDatabaseActiveDirectory.xmlColumnPerm.xmldbfixedroleperm.xmlDBPerm.xmlinc_perm.xmlShilohYukonPerm.xmlSrvYukonObjectPerm.xmlSrvYukonPerm.xmlTablePerm.xmlYukonObjectPerm.xmlYukonSchemaObjectPerm.xmlDBObjectPerm.xmlSrvObjectPerm.xmlsysmessage.xmlusermessage.xmlsynonym.xmlinc_IndexFrag.xmlIndexFragFast.xmlIndexFragSampled.xmlIndexFragDetail.xmlinc_urn_message.xmlDatabaseOptions.xmlSPParams.xmlinc_urn_soapmethod.xmlMaintenancePlan.xmlMaintenanceSubPlan.xmlMaintSubPlanLog.xmlMaintSubPlanLogDetail.xmlMaintenancePlanDeprecated.xmlLogMarkHistory.xmlProxyAccount.xmlAgentSubsystems.xmlProxyAccountPrincipals.xmlcertificate.xmlOLEDBProviderSetting.xmlfulltext_ErrorLog.xmlfulltext_ErrorLogText.xmlDatabaseMirroringWitnessRole.xmlXmlSchemaCollection.xmlXmlNamespace.xmlXmlType.xmlinc_urn_collate_default.xmlCredential.xmlMailProfile.xmlMailAccount.xmlConfigurationValue.xmlMail.xmlinc_named_object.xmlDatabaseDdlTrigger.xmlServerDdlTrigger.xmlinc_server_sql_module_link.xmlDatabaseDdlTriggerEvent.xmlinc_ddl_trigger_event.xmlServerDdlTriggerEvent.xmlMailProfileAccounts.xmlMailProfilePrincipals.xmlMailServer.xmlendpoint.xmlsoap_endpoint.xmlinc_urn_single.xmldatabase_mirroring_endpoint.xmlservice_broker_endpoint.xmlvia_endpoint.xmlhttp_endpoint.xmltcp_endpoint.xmlsoap_endpoint_method.xmlsymmetrickey.xmlasymmetrickey.xmltemp_table.xmlparameter.xmludfcolumn.xmlNumberedStoredProcedure.xmlNumberedSPParams.xmlFullTextFile.xmlKeyEncryption.xmlagent_alert_categories.xmlagent_job_categories.xmltransaction.xmlagent_operator_categories.xmlServerProxyAccount.xmlServiceMasterKey.xmlDatabaseMasterKey.xmlMasterKeyEncryption.xmlNS.NotificationServices.xmlNS.Instance.xmlNS.DeliveryChannel.xmlNS.DeliveryChannelArgument.xmlNS.ProtocolDefinition.xmlNS.Generator.xmlNS.ApplicationDatabaseOptions.xmlNS.ApplicationDatabaseFileGroup.xmlNS.ApplicationDatabaseFile.xmlNS.ApplicationDatabaseLogFile.xmlNS.InstanceDatabaseOptions.xmlNS.InstanceDatabaseFileGroup.xmlNS.InstanceDatabaseFile.xmlNS.InstanceDatabaseLogFile.xmlNS.Application.xmlNS.VacuumSchedule.xmlNS.Distributor.xmlNS.EventClass.xmlNS.EventChronicle.xmlNS.EventChronicleRule.xmlNS.NonHostedEventProvider.xmlNS.HostedEventProvider.xmlNS.HostedEventProviderArgument.xmlNS.NotificationClass.xmlNS.ContentFormatter.xmlNS.ContentFormatterArgument.xmlNS.NotificationClassProtocol.xmlNS.ProtocolRetrySchedule.xmlNS.ProtocolField.xmlNS.SubscriptionClass.xmlNS.SubscriptionField.xmlNS.SubscriptionEventRule.xmlNS.SubscriptionConditionEventRule.xmlNS.SubscriptionScheduledRule.xmlNS.SubscriptionConditionScheduledRule.xmlNS.SubscriptionChronicle.xmlNS.EventField.xmlNS.NotificationField.xmlNS.NotificationComputedField.xmlDatabaseDiagram.xmlMail_ErrorLog.xml#empty_resultiselect * from #empty_result DROP TABLE #empty_resultParentSelect NType N'{0}' Name{}db_name()[{}].=System.String<d  />db_namexmlassemly lastSchemaNameSchemaPrefix +'/'+ ()or, and, ASC DESC [{0}]{1} AS [{0}]SELECT distinct FROM  WHERE  ORDER BY if  begin  return end  create table ) [{0}] {1} NULL'[{0}] {1}({2}) NULL*drop table N<><=>=<> or and ' like N'%%' not(BitWiseAndis_nulldatetime &  is null%convert(datetime, , 121)qdeclare @Path nvarchar(255) declare @Name nvarchar(255) PathFullName-select @Path = N'{0}' -select @Name = N'{0}' min_majormax_majorversionEnumObject unionsettingspropertiespropertyinclude file aliasfor nameread_only access readUrnIDCreateDate Schemareport_typeGMicrosoft.SqlServer.Management.Smo.report_type2 typeexpensive cast hidden usagerequest filter ordernotusage table link sizelink_multiplemain_table!aditional_filterdistinctparent_linkfail_condition+request_parent_selectproperty_link prefixpostfixpost_process!orderby_redirectspecial_query field local parentnoexpressionlink_fieldcomputeddefault_value fields join9expression_is_for_table_nameleft_joinclass_name!triggered_fieldsredirect_fields!redirect_orderbydatabase querynvarcharvarcharsysname nchar char ntext textint bigintbit long real floattinyintsmallint!uniqueidentifiernumericdecimal binary imagevarbinarysql_variantSystem.Int32System.Int64System.BooleanSystem.DoubleSystem.DateTimeSystem.ByteSystem.Int16System.GuidSystem.DecimalSystem.Byte[]System.ObjectN' [] AS ) AND (!LEFT OUTER JOIN INNER JOIN  ON {0}{0}({1})!CAST({0} AS {1}) AND {{{0}}}={{{1}}} use [SchemaPrefix][#unify_temptbl insert into PrimaryFileudeclare @fileName nvarchar(255) select @fileName = N'{0}' 123456PostProcess ,use [{0}] System.DBNull /Text!ObjectIdentifier Text ViewTextBodyBodyStartIndex-HasColumnSpecification#TableVariableName-(/\*((\*(?=[^/]))|([^\*]))*\*/)|(--[^ ]*)|("(("")|[^"])*")|(//[^ ]*)|(?<delim>\b((AS)|(RETURNS))\b)|(?:(?<param>@[\w_][\w\d_]*)((\s)|((--[^ ]*))|((/\*((\*(?=[^/]))|([^\*]))*\*/)))*(AS){0,1})|(?<val>((("(("")|[^"])*"))|((N{0,1}'(('')|[^'])*)')|((0x[0-9a-f]+))|(((\+|\-){0,1}((\d+\.\d*)|(\d*\.\d+)|(\d+))(e((\+)|(\-))\d+){0,1}))|((\[((\]\])|[^\]])*\]))|(([\w_][\w;\d_]*))))|(?<comma>,)|(?<eq>=)|(\([\d, ]*\)) (/\*((\*(?=[^/]))|([^\*]))*\*/)|(--[^ ]*)|(//[^ ]*)|(?<delim>\b((AS)|(RETURNS))\b)|(?:(?<param>@[\w_][\w\d_]*)((\s)|((--[^ ]*))|((/\*((\*(?=[^/]))|([^\*]))*\*/)))*(AS){0,1})|(?<val>((("(("")|[^"])*"))|((N{0,1}'(('')|[^'])*)')|((0x[0-9a-f]+))|(((\+|\-){0,1}((\d+\.\d*)|(\d*\.\d+)|(\d+))(e((\+)|(\-))\d+){0,1}))|((\[((\]\])|[^\]])*\]))|(([\w_][\w;\d_]*))))|(?<comma>,)|(?<eq>=)|(\([\d, ]*\)) delimeq commaval param1select c.text,convert(bit,OBJECTPROPERTY(c.id,N'ExecIsQuotedIdentOn')) from [{0}].dbo.syscomments c where c.id = {1} and c.number = {2} order by c.colid select c.text,convert(bit,OBJECTPROPERTY(c.id,N'ExecIsQuotedIdentOn')) from [{0}].dbo.syscomments c where c.id = {1} order by c.colidPermission ServerDatabaseRF CRFNSLINDLUP CRTB CRDB CRVW CRPREX BADB CRDF BALO CRRUSServer[@Name='{0}']/Database[@Name='{1}']G/{0}[@Name='{1}' and @Schema='{2}']#/{0}[@Name='{1}']ASSEMBLY SCHEMA UDDTUDTXMLSCHCOLAFC D F PKP PCFNFSFTR SNSQTATRIFTFS U UQV X SqlAssembly'UserDefinedDataTypeUserDefinedType'XmlSchemaCollection)UserDefinedAggregate Check TableDefaultForeignKey IndexStoredProcedure'UserDefinedFunction RuleSynonym5ServiceBroker/ServiceQueueTrigger/ExtendedStoredProcedureBaseSchemaBaseDatabaseBaseServerGUSE [{2}] DBCC SHOWCONTIG({0}, {1})3DBCC SHOWCONTIG({0}, {1})..: PagesExtentsExtentSwitchesScanDensity)LogicalFragmentation'ExtentFragmentation!AverageFreeBytes%AveragePageDensity3exec msdb.dbo.sp_help_job-CurrentRunRetryAttempt!CurrentRunStatusCurrentRunStepHasScheduleHasServerHasStepLastRunDateLastRunOutcomeNextRunDate#NextRunScheduleIDJobType+current_retry_attempt1current_execution_status-current_execution_stephas_schedulehas_targethas_steplast_run_datelast_run_time!last_run_outcomenext_run_datenext_run_time)next_run_schedule_id+DBCC SHOW_STATISTICS(, ') WITH STATS_STREAMStats_Streamselect convert(float,low/1024.) from master.dbo.spt_values where number = 1 and type = 'E'SpaceAvailableDataSpaceUsageIndexSpaceUsage{if( databaseproperty(db_name(), 'IsReadOnly') = 0) checkpointIsDbAccessAdmin9is_member(N'db_accessadmin')%IsDbBackupOperator?is_member(N'db_backupoperator')IsDbDatareader7is_member(N'db_datareader')IsDbDatawriter7is_member(N'db_datawriter')IsDbOwner-is_member(N'db_owner')#IsDbSecurityAdmin=is_member(N'db_securityadmin')IsDbDdlAdmin3is_member(N'db_ddladmin')%IsDbDenyDatareader?is_member(N'db_denydatareader')%IsDbDenyDatawriter?is_member(N'db_denydatawriter')DboLoginUserNameuser_name() Size DbSize(SELECT SUM(CAST(df.size as float)) FROM sys.database_files AS df WHERE df.type in ( 0, 2, 4 ) )SpaceUsed%SUM(a.total_pages)LogSize(SELECT SUM(CAST(df.size as float)) FROM sys.database_files AS df WHERE df.type in (1, 3))SUM(CASE WHEN a.type <> 1 THEN a.used_pages WHEN p.index_id < 2 THEN a.data_pages ELSE 0 END)IndexSpaceTotal#SUM(a.used_pages)IsMailHost(select count(1) from sys.services where name ='InternalMailService')DefaultSchema(select default_schema_name from sys.database_principals where name = user_name())Asys.allocation_units AS a INNER JOIN sys.partitions AS p ON (a.type = 2 AND p.partition_id = a.container_id) OR (a.type IN (1,3) AND p.hobt_id = a.container_id)PrimaryFilePath(select df.physical_name from sys.database_files as df where 1=df.data_space_id and 1 = df.file_id)(select sum(convert(float,size)) from dbo.sysfiles where (status & 64 = 0))(select sum(convert(float,reserved)) from dbo.sysindexes where indid in (0, 1, 255))(select sum(convert(float,size)) from dbo.sysfiles where (status & 64 <> 0))=((select sum(convert(float,dpages)) from dbo.sysindexes where indid < 2) + (select isnull(sum(convert(float,used)), 0) from dbo.sysindexes where indid = 255))(select sum(convert(float,used)) from dbo.sysindexes where indid in (0, 1, 255))3DatabaseOwnershipChainingscreate table #tmpdbchaining( name sysname , dbc sysname )insert into #tmpdbchaining exec dbo.sp_dboption N'{0}', 'db chaining'  declare @DBChaining bit set @DBChaining = null select @DBChaining = case LOWER(dbc) when 'off' then 0 else 1 end from #tmpdbchaining@DBChaining3drop table #tmpdbchainingSELECT dtb.collation_name AS [Collation], CAST(DATABASEPROPERTYEX(dtb.name, 'Version') AS int) AS [Version], dtb.compatibility_level AS [CompatibilityLevel] FROM master.sys.databases AS dtb where name = db_name()SELECT CAST(DATABASEPROPERTYEX(dtb.name, 'Collation') AS sysname) AS [Collation], CAST(DATABASEPROPERTYEX(dtb.name, 'Version') AS int) AS [Version], dtb.cmptlevel AS [CompatibilityLevel] FROM master.dbo.sysdatabases AS dtb where name = db_name()Table/TriggerPartitionScheme#PartitionFunctionCREATE TABLE #tempdep (objid int NOT NULL, objtype smallint NOT NULL) #BEGIN TRANSACTIONWINSERT INTO #tempdep(objid,objtype) VALUES(+INSERT INTO #tempdep %COMMIT TRANSACTION'YukonDependency.sql)ShilohDependency.sqldeclare @find_referencing_objects int set @find_referencing_objects = {0} USE [master]relative_idobject_idobject_typerelative_type .mServer[@Name='{0}']/Database[@Name='{1}']/{2}[@ID={3}]SServer/Database[@Name='{0}']/{1}[@ID={2}]UServer[@Name='{0}']/Database[@Name='{1}']/;Server/Database[@Name='{0}']/o{0}[@Name='{1}' and @Schema='{2}']/Trigger[@Name='{3}']relative_namerelative_schemaobject_nameobject_schema!{0}[@Name='{1}']E{0}[@Name='{1}' and @Schema='{2}']CIAIKSWSBINDECLARE @db_name sysname ,@restore_to_datetime datetime DatabaseNameBackupStartDate3select @db_name = N'{0}' Qselect @restore_to_datetime = GETDATE() Kselect @restore_to_datetime = N'{0}'  Parse(--[^ ]*)(//[^ ]*)?(/\*((\*(?=[^/]))|([^\*]))*\*/)!('(('')|[^'])*)'=(?<quoted_word>"(("")|[^"])*")G(?<braket_word>\[((\]\])|[^\]])*\])(?<dot>\.)M(?<parant_open>\()|(?<parant_close>\))E(?:(?<param>@[\w_][\w\d_]*)((\s)|()|())*(AS){0,1}))(?<exec>\bEXECUTE\b)/(?<returns>\bRETURNS\b)K(?<returns_table>\bRETURNS\s+TABLE\b)+(?<return>\bRETURN\b))(?<delim1>\bAS\b\s*))(?<delim2>\bBEGIN\b)([ \t]+)+(?<word>[a-zA-Z0-9]+)(?<eol>\n)(?<slcomm>--)(?<reject>.)|]|(?<word>[\w_][\w\d_]*)|(?<number_proc>;[\d]+) wordbraket_wordquoted_wordnumber_procdot create alterTRIGGERONparant_closeparant_open delim1 delim2 execreturnsreturns_table return option check with reject slcommeolAL ALAK ALAR ALAS ALCF ALDS ALED ALFT ALMT ALRL ALRT ALSB ALSC ALSK ALSM ALSV ALTG ALUS AUTHCLCO CORPCP CRAG CRAK CRAS CRCF CRED CRFT CRMT CRQU CRRL CRRT CRSB CRSC CRSK CRSM CRSN CRSV CRTY CRXS SPLN SUQNTOVW VWDSIMRC ADBO ALCD ALCO ALDB ALES ALHE ALLG ALLS ALRS ALSS ALST ALTR COSQ CRDE CRHE CRTE SHDN VWAD VWDB VWSSXAXU UNION : /Event)EventTypeDescriptionCREATE_TABLEALTER_TABLEDROP_TABLECREATE_VIEWALTER_VIEWDROP_VIEWCREATE_INDEXALTER_INDEXDROP_INDEX!CREATE_XML_INDEX#CREATE_STATISTICS#UPDATE_STATISTICSDROP_STATISTICSCREATE_SYNONYMDROP_SYNONYMCREATE_FUNCTIONALTER_FUNCTIONDROP_FUNCTION!CREATE_PROCEDUREALTER_PROCEDUREDROP_PROCEDURECREATE_TRIGGERALTER_TRIGGERDROP_TRIGGER3CREATE_EVENT_NOTIFICATION/DROP_EVENT_NOTIFICATIONCREATE_ASSEMBLYALTER_ASSEMBLYDROP_ASSEMBLYCREATE_TYPEDROP_TYPECREATE_USERALTER_USERDROP_USERCREATE_ROLEALTER_ROLEDROP_ROLE/CREATE_APPLICATION_ROLE-ALTER_APPLICATION_ROLE+DROP_APPLICATION_ROLECREATE_SCHEMAALTER_SCHEMADROP_SCHEMAGRANT_DATABASEDENY_DATABASEREVOKE_DATABASE9ALTER_AUTHORIZATION_DATABASE'CREATE_MESSAGE_TYPE%ALTER_MESSAGE_TYPE#DROP_MESSAGE_TYPECREATE_CONTRACTDROP_CONTRACTCREATE_QUEUEALTER_QUEUEDROP_QUEUECREATE_SERVICEALTER_SERVICEDROP_SERVICECREATE_ROUTEALTER_ROUTEDROP_ROUTE;CREATE_REMOTE_SERVICE_BINDING9ALTER_REMOTE_SERVICE_BINDING7DROP_REMOTE_SERVICE_BINDING9CREATE_XML_SCHEMA_COLLECTION7ALTER_XML_SCHEMA_COLLECTION5DROP_XML_SCHEMA_COLLECTION3CREATE_PARTITION_FUNCTION1ALTER_PARTITION_FUNCTION/DROP_PARTITION_FUNCTION/CREATE_PARTITION_SCHEME-ALTER_PARTITION_SCHEME+DROP_PARTITION_SCHEMECREATE_ENDPOINTALTER_ENDPOINTDROP_ENDPOINTCREATE_LOGINALTER_LOGINDROP_LOGINGRANT_SERVERDENY_SERVERREVOKE_SERVER%CREATE_CERTIFICATE#ALTER_CERTIFICATE!DROP_CERTIFICATE5ALTER_AUTHORIZATION_SERVERInstanceIsClusteredVersionIsLocalInstanceNameMSSQLSERVERServerName\No%IncorectVersionTag7NullVersionOnLoadingCfgFile+EnumObjectTagNotFound+InvalidConnectionType%OnlyPathOrFullName7DatabaseNameMustBeSpecified'FailedToLoadResFile7UnsupportedTypeDepDiscovery9QueryNotSupportedPostProcess)FailedToLoadAssembly#FailedToCreateUrnUnknownOperator'PropMustBeSpecified)InvalidUrnForDependsTooManyDbLevels-CouldNotInstantiateObjNotDerivedFromUnknownType1InvalidConfigurationFileMissingSectionNotDbObjectNotSingleDb1TooManyLinkMultipleElems-NoClassNamePostProcessInvalidVersion!InvalidSqlServerGDatabaseNameMustBeSpecifiedinTheUrnACouldNotGetInfoFromDependencyRowSqlServer90NameSqlServer80Name}Microsoft.SqlServer.Management.Smo.SqlEnum.StringSqlEnumeratorC:D]0z\V4]̀̑I   I     M Q   M Q      Q  M M U                    Y Y Y Y  Q I  II]](( $0 ae $ $ 0 0   a       i 4 m q   4 1 e 5 55 u  8 8q qy$ e ($(0((a( ((4((q(u   u uy uy uy 8  e       L (e(      e y$ y$ y$y        04c8<DRGW@dDH LPTX\`dhl<AFPZp @>tx| e,-ij     $(,048<@DHLPTX\`dhlptx|     y(( u  ((  (( y(y m (m(         ((((((((( ( ( ( ( 5quuDy y D D  $(D  $  )() )(                      1 q     ( u u L  u1 a y      (1  (--[^ ]*)(//[^ ]*)>(/\*((\*(?=[^/]))|([^\*]))*\*/),(N{0,1}'(('')|[^'])*)' ("(("")|[^"])*")*(\[((\]\])|[^\]])*\]) ([\w_][\w;\d_]*)((\+|\-){0,1}((\d+\.\d*)|(\d*\.\d+)|(\d+))(e((\+)|(\-))\d+){0,1})(0x[0-9a-f]+)B(?<val>(((N{0,1}'(('')|[^'])*)')|((0x[0-9a-f]+))|(((\+|\-){0,1}((\d+\.\d*)|(\d*\.\d+)|(\d+))(e((\+)|(\-))\d+){0,1}))|((\[((\]\])|[^\]])*\]))|(([\w_][\w;\d_]*))))h(?<val>((("(("")|[^"])*"))|((N{0,1}'(('')|[^'])*)')|((0x[0-9a-f]+))|(((\+|\-){0,1}((\d+\.\d*)|(\d*\.\d+)|(\d+))(e((\+)|(\-))\d+){0,1}))|((\[((\]\])|[^\]])*\]))|(([\w_][\w;\d_]*))))(?<comma>,)(\([\d, ]*\))(?<eq>=)<(?<delim>\b((AS)|(RETURNS))\b)(?:(?<param>@[\w_][\w\d_]*)((\s)|((--[^ ]*))|((/\*((\*(?=[^/]))|([^\*]))*\*/)))*(AS){0,1}),(/\*((\*(?=[^/]))|([^\*]))*\*/)|(--[^ ]*)|("(("")|[^"])*")|(//[^ ]*)|(?<delim>\b((AS)|(RETURNS))\b)|(?:(?<param>@[\w_][\w\d_]*)((\s)|((--[^ ]*))|((/\*((\*(?=[^/]))|([^\*]))*\*/)))*(AS){0,1})|(?<val>((("(("")|[^"])*"))|((N{0,1}'(('')|[^'])*)')|((0x[0-9a-f]+))|(((\+|\-){0,1}((\d+\.\d*)|(\d*\.\d+)|(\d+))(e((\+)|(\-))\d+){0,1}))|((\[((\]\])|[^\]])*\]))|(([\w_][\w;\d_]*))))|(?<comma>,)|(?<eq>=)|(\([\d, ]*\)) (/\*((\*(?=[^/]))|([^\*]))*\*/)|(--[^ ]*)|(//[^ ]*)|(?<delim>\b((AS)|(RETURNS))\b)|(?:(?<param>@[\w_][\w\d_]*)((\s)|((--[^ ]*))|((/\*((\*(?=[^/]))|([^\*]))*\*/)))*(AS){0,1})|(?<val>((("(("")|[^"])*"))|((N{0,1}'(('')|[^'])*)')|((0x[0-9a-f]+))|(((\+|\-){0,1}((\d+\.\d*)|(\d*\.\d+)|(\d+))(e((\+)|(\-))\d+){0,1}))|((\[((\]\])|[^\]])*\]))|(([\w_][\w;\d_]*))))|(?<comma>,)|(?<eq>=)|(\([\d, ]*\))           (    a     i ia ( $ ( ea             =            ((L,(?<word>[\w_][\w\d_]*),(?<number_proc>;[\d]+)  !"#$%&'()*+,-./0123456789:; 8       (   (     =?BCEHI   (        QQQ$IncorectVersionTag6NullVersionOnLoadingCfgFile*EnumObjectTagNotFound*InvalidConnectionType$OnlyPathOrFullName6DatabaseNameMustBeSpecified&FailedToLoadResFile6UnsupportedTypeDepDiscovery8QueryNotSupportedPostProcess(FailedToLoadAssembly"FailedToCreateUrnUnknownOperator&PropMustBeSpecified(InvalidUrnForDependsTooManyDbLevels,CouldNotInstantiateObjNotDerivedFromUnknownType0InvalidConfigurationFileMissingSectionNotDbObjectNotSingleDb0TooManyLinkMultipleElems,NoClassNamePostProcessInvalidVersion InvalidSqlServerFDatabaseNameMustBeSpecifiedinTheUrn@CouldNotGetInfoFromDependencyRowSqlServer90NameSqlServer80NameQ E$$RSA1''6n_1:fl/y2}/R4H<=\]Ǽ(k,Q\$+Au2IRmRo{l؂O1 ˢ#V{-Pb왹J|};( Item  MQ  M Q Q MMU        Y Y Y YI Q q I]]y }4 i -mq H)  q m @) @)))      } }    q @)8 ,u   8q   y Q  @) -m -))- H)  51 18$ }}  y  -, y U8y85     51     @) @) ) e    $ ) )$        e   (e(y ((         8Uy   m11   5u9u =AQ y ) )  m @ )  I  y$I 8@ @)L  L) )  i 1} Y  ] a  )  i   I I I   q u eu) U U}     } ) $  ) ii ,4y i8i   )  ) )1 i  8aL)   ) U =A              4)8))    ) z51  - &-)    y) Q  u 9.00.1399.00xsMicrosoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation,'© Microsoft Corp. All rights reserved.Microsoft SQL ServerMicrosoft Corporation en-US_YDBMirroringTE, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8ZTSMOCLRTE, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8ZTBckDevTE, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8uoWMIEnumTest_ServiceAdvancedProperty, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8e_WMIEnumTest_Service, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8pjWMIEnumTest_SCProtocolProperty, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8hbWMIEnumTest_SCProtocol, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8jdWMIEnumTest_SCNetLibInfo, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8d^WMIEnumTest_SAlias, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8`ZWMIEnumTest_MC, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8^XOLAPEnumTest, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8YSTestAll, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8XRPerfTE, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8]WSQLEnumTest, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8xrMicrosoft.CompactFramework.Design.Data, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293zMicrosoft.SqlServer.NotificationServices.Rules, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8~Microsoft.SqlServer.NotificationServicesEnumerator, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8c]DisableDistWizard, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8a[CreatePubWizard, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8ysMicrosoft.SqlServer.DtsObjectExplorerUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8lfMicrosoft.SqlServer.DTEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8}wMicrosoft.DataTransformationServices.Design, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8yMicrosoft.DataTransformationServices.Controls, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8Microsoft.DatatransformationServices.DTSExecUI.Controls, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8~Microsoft.SqlServer.TransferStoredProceduresTaskUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8|Microsoft.SqlServer.TransferStoredProceduresTask, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8{uMicrosoft.SqlServer.TransferObjectsTaskUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8ysMicrosoft.SqlServer.TransferObjectsTask, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8ztMicrosoft.SqlServer.TransferLoginsTaskUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8xrMicrosoft.SqlServer.TransferLoginsTask, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8xrMicrosoft.SqlServer.TransferJobsTaskUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8vpMicrosoft.SqlServer.TransferJobsTask, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8{Microsoft.SqlServer.TransferErrorMessagesTaskUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8yMicrosoft.SqlServer.TransferErrorMessagesTask, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8}wMicrosoft.SqlServer.TransferDatabasesTaskUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8{uMicrosoft.SqlServer.TransferDatabasesTask, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8}Microsoft.SqlServer.Management.UI.RSUserInterface, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8\VPROFILER90, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8VPXMQE, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8]WXMDocuments, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8b\ObjectExplorerXM, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8mgUpgradeMaintenancePlanUTest, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8\VSQLManager, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8d^ObjectExplorerCore, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8a[ActivityMonitor, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8a[LanguagePackage, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8e_SqlWorkbenchProject, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8^XAppIDPackage, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8|vMicrosoft.SqlServer.SqlTools.VSIntegration, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8keObjectExplorerReplication, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8tnObjectExplorerNotificationServices, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8`ZObjectExplorer, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8d^DatabaseMailWizard, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8_YMSXTSXDialogs, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8[UManageSSB, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8d^ManageLinkedServer, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8a[ManageEndpoints, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8icDBMaintenanceProperties, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8jdDBMaintenancePlanHistory, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8Microsoft.SqlServer.Management.MaintenancePlanWizard, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8|vMicrosoft.SqlServer.MaintenancePlanTasksUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8ztMicrosoft.SqlServer.MaintenancePlanTasks, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8~Microsoft.SqlServer.TransferSqlServerObjectsTaskUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8|Microsoft.SqlServer.TransferSqlServerObjectsTask, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8d^CopyDatabaseWizard, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8^XSqlManagerUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8\VSQLEditors, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8ZTDTAShell, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8UODTA, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8[UDTAClient, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8icSqlToolsVSNativeHelpers, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8_YConnectionDlg, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8icSqlWorkbench.Interfaces, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8YSSqlMgmt, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8\Vsqllogship, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8qkMicrosoft.SqlServer.Replication, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8^XNewSubWizard, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8gaReplication.Utilities, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8]WDBMirroring, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8e_ConfigureDistWizard, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8d^ReplicationMonitor, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8c]ReplicationDialog, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8nhMicrosoft.SqlServer.ReplEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8xrMicrosoft.VisualStudio.vspManagementUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8tnMicrosoft.SqlServerCe.ManagementUI, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8vpMicrosoft.VisualStudio.vspEnumerator, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8rlMicrosoft.SqlServerCe.Enumerator, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8}wMicrosoft.VisualStudio.vspServiceBrokerEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8wqMicrosoft.SqlServer.ServiceBrokerEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8smMicrosoft.VisualStudio.vspWmiEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8mgMicrosoft.SqlServer.WmiEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8smMicrosoft.VisualStudio.vspSqlEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8mgMicrosoft.SqlServer.SqlEnum, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8oiMicrosoft.VisualStudio.vspSmo, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8icMicrosoft.SqlServer.Smo, PublicKey=0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8TWrapNonExceptionThrows PC8 RSDS;@ N& fMicrosoft.SqlServer.SqlEnum.pdb` ~ p _CorDllMainmscoree.dll% .0HX 4VS_VERSION_INFO w w?DVarFileInfo$TranslationStringFileInfo000004b0LCompanyNameMicrosoft Corporation,FileDescription < FileVersion9.00.1399.00` InternalNameMicrosoft.SqlServer.SqlEnum.dllt'LegalCopyright Microsoft Corp. All rights reserved.sLegalTrademarksMicrosoft is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporationh OriginalFilenameMicrosoft.SqlServer.SqlEnum.dllLProductNameMicrosoft SQL Server@ ProductVersion9.00.1399.00< Assembly Version9.0.242.0 <0 *H 01 0 +0h +7Z0X03 +70% <<<Obsolete>>>0!0 +Ywџyg1$mK&R00-GߍRFCmH 10  *H 01 0 UZA10U Western Cape10U Durbanville10 U Thawte10U Thawte Certification10UThawte Timestamping CA0 031204000000Z 131203235959Z0S1 0 UUS10U VeriSign, Inc.1+0)U"VeriSign Time Stamping Services CA0"0  *H 0 ʲ }uNgadڻ30X~k6xw~o< hlʽR-H=]_/kLR`@~ ?Ǵ߇_zj1.G 1s W-x43h/Š*Ë!fXWou<&]'x1"ijGC_^|}bM "Vͮv M٠h;004+(0&0$+0http://ocsp.verisign.com0U00AU:0806420http://crl.verisign.com/ThawteTimestampingCA.crl0U% 0 +0U0$U0010U TSA2048-1-530  *H JkXD1y+LͰXn)^ʓR G'/8ɓN"b?7!Op18UN$ҩ'NzaA*^ݻ+>W~ +;R8'?J00 +)2 ^v0  *H 0S1 0 UUS10U VeriSign, Inc.1+0)U"VeriSign Time Stamping Services CA0 031204000000Z 081203235959Z0W1 0 UUS10U VeriSign, Inc.1/0-U&VeriSign Time Stamping Services Signer0"0  *H 0 P(HhzDfu]~ĸc&=C|8%Usu'iN \ *UV!a3kݣ7e S\|f5_EvNS \0"7LB U?R,z򢪍5]j=k㿖`@DQn*(P{J 0kX@( ~|vqiOG05!b<+َ*{\{❥o<00<<>c@0  *H 0p1+0)U "Copyright (c) 1997 Microsoft Corp.10U Microsoft Corporation1!0UMicrosoft Root Authority0 970110070000Z 201231070000Z0p1+0)U "Copyright (c) 1997 Microsoft Corp.10U Microsoft Corporation1!0UMicrosoft Root Authority0"0  *H 0 p;N(x^0ꢩ%_L >|Q`2kBdyvT뜆fkzb#<Ŀ-fh&:, X&F >8,(9IBlUa|`-wL陴d;P1$+=c`Xe7RӿUE:TNzmtN̖ (!W`i7Kc@0  *H  5$w\`2 >:!W,Gb;;Z6Ti$m?̪|1=pjOiCZ Ob{+7%-e%cT!RnC2gl QRǽ0 1 )M[WeIRT(~ū7,zwvj?6A5jj5EZ38nM b T?FUp:uҠ00j O "}ly~0  *H 0p1+0)U "Copyright (c) 1997 Microsoft Corp.10U Microsoft Corporation1!0UMicrosoft Root Authority0 020523080000Z 110925080000Z01 0 UUS10U Washington10URedmond10U Microsoft Corporation1+0)U "Copyright (c) 2000 Microsoft Corp.1#0!UMicrosoft Code Signing PCA0 0  *H  0 >Pz$%v!*VNʜ5y-ĨcɷֱRƽŨkSPdԂh@xD8NcQ=7c#;q@4GkF's"BQRӣ?qm!D_Bəd 4D{/ߛ!X1AU8~XYy%*/?8x>Bh~"hJxDRGOg{ }q<+f-+4He<&Ro*0&0U% 0 +0U0[pir#Q~Mˡr0p1+0)U "Copyright (c) 1997 Microsoft Corp.10U Microsoft Corporation1!0UMicrosoft Root Authority<<>c@0 +70U%+K]rT*S0 +7  SubCA0 UF0U00  *H dJti'ZS'сsκꓗ܏:.tt;@Q_<2OY(rq/5B/b11BO8pA8` < +VKJ"oD+pN,:q2X5Rۑ@o)Bp}loۜ^,_³{;St*g'u@ Fr6mkfS5jrE]f,a Yf ;|00ɠ aXZ0  *H 01 0 UUS10U Washington10URedmond10U Microsoft Corporation1+0)U "Copyright (c) 2000 Microsoft Corp.1#0!UMicrosoft Code Signing PCA0 050105232019Z 060405233019Z0t1 0 UUS10U Washington10URedmond10U Microsoft Corporation10UMicrosoft Corporation0"0  *H 0 8'^̪:;b1FFӳŸLg(C;uyj3azy]hpw/u/JA||ˇCt@WXՒ$qIU|e8#>)lƞp[}7gw ΅N45S2W(l@ I67I*k̎ֆFzJESx/.5kL$iin>LAb]~\L'1kVLq=*qM@0<0U0U4wh424c10U% 0 +0U#0%+K]rT*Str0p1+0)U "Copyright (c) 1997 Microsoft Corp.10U Microsoft Corporation1!0UMicrosoft Root Authorityj O "}ly~0JUC0A0?=;9http://crl.microsoft.com/pki/crl/products/CodeSignPCA.crl0  *H   &t<J'GrQKBQ#;e-LP8W^:sO3-%;YЮ R dwwu6 l3`/m)۵k"@+2Pƶ6w)T>~qYʄ/D"!H cro,+:YJ!埩bPuv_ؠ~W҉}C10001 0 UUS10U Washington10URedmond10U Microsoft Corporation1+0)U "Copyright (c) 2000 Microsoft Corp.1#0!UMicrosoft Code Signing PCA aXZ0 +0 *H  1  +70 +7 10  +70# *H  1b]-ŭ.< 3|0X +7 1J0H*(Microsoft SQL Serverhttp://www.microsoft.com0  *H (\ͨFg-hYBS!Ure4)_>8RIP@}4G\m6{麒B #ن;"PESnXj T;ʭ_7=5Yfd+e= &d) W؄R\\ Tl(;ٛ$`+;goZ@F3xp+s|qzk7E`P?!Hd|ee ii=*3P4:d