i f   n o t   E x i s t s ( S E L E C T   *   F R O M   i n f o r m a t i o n _ s c h e m a . t a b l e s   w h e r e   T a b l e _ n a m e   =   ' V o u c h e r ' ) 
 
 b e g i n 
 
 	 C R E A T E   T A B L E   [ d b o ] . [ V o u c h e r ] ( 
 
 	 	 [ I D ]   [ i n t ]   p r i m a r y   k e y , 
 
 	 	 [ C o d e ]   [ i n t ]   N O T   N U L L , 
 
 	 	 [ M a t _ I D ]   [ b i g i n t ]   r e f e r e n c e s   d b o . M a t t e r ( I D )   N O T   N U L L , 
 
 	 	 [ F C _ I D ]   [ i n t ]   r e f e r e n c e s   d b o . F i n a n c e _ C y c l e ( I D )   N O T   N U L L , 
 
 	 	 [ P r o _ I D _ V a h e d M a l i ]   [ i n t ]   r e f e r e n c e s   d b o . O t h e r P r o p e r t i e s ( I D )   N O T   N U L L , 
 
 	 	 [ P r o _ I D _ U s a g e T y p e ]   [ i n t ]   r e f e r e n c e s   d b o . D o m a i n ( I D )   N O T   N U L L , 
 
 	 	 [ P r o _ I D _ S u b j e c t ]   [ i n t ]   r e f e r e n c e s   d b o . O t h e r P r o p e r t i e s ( I D )   N O T   N U L L , 
 
 	 	 [ S u b j e c t T i t l e ]   [ n v a r c h a r ] ( 1 0 0 0 )   N U L L , 
 
 	 	 [ D o m _ I D _ N o e ]   [ i n t ]   r e f e r e n c e s   d b o . D o m a i n ( I D )   N O T   N U L L , 
 
 	 	 [ D o m _ I D _ V a z i a t ]   [ i n t ]   r e f e r e n c e s   d b o . D o m a i n ( I D )   N O T   N U L L , 
 
 	 	 [ D o m _ I D _ M a r j a ]   [ i n t ]   r e f e r e n c e s   d b o . D o m a i n ( I D )   N O T   N U L L , 
 
 	 	 [ T a r i k h ]   [ i n t ]   N O T   N U L L , 
 
 	 	 [ S a a t ]   [ i n t ]   N O T   N U L L , 
 
 	 	 [ D e s c r i p t i o n ]   [ n v a r c h a r ] ( 1 0 0 0 )   N U L L , 
 
 	 	 [ C o d e K a r b a r ]   [ i n t ]   r e f e r e n c e s   d b o . K a r b a r ( I D )   N O T   N U L L , 
 
 	 	 [ T a r i k h S a b t ]   [ i n t ]   N O T   N U L L , 
 
 	 	 [ S a a t S a b t ]   [ s m a l l i n t ]   N O T   N U L L 
 
 	 ) 
 
 e n d 