) c o p y   S Q A P L 
 
 S Q A . I n i t   ' ' 
 
 S Q A . C o n n e c t   ' C 1 '   ' '   ( ' D r i v e r O p t i o n s '   ' D S N = M S   A c c e s s   D a t a b a s e ; D B Q = C : \ d o c s \ d y a l o g \ c o n f _ 2 0 1 2 \ d a t a b a s e s \ W o r k s h o p . a c c d b ' ) 
 
 s t m t !' C R E A T E   T A B L E   S u p p l i e r s ( ' 
 
 s t m t , !' S I D   C H A R ( 2 )   N O T   N U L L ,   S N A M E   C H A R ( 1 0 ) ,   S T A T U S   I N T E G E R ,   C I T Y   C H A R ( 2 0 ) ' 
 
 s t m t , !' ,   P R I M A R Y   K E Y ( S I D ) ) ' 
 
 s t m t 
 
 S Q A . D o   ' C 1 '   s t m t 
 
 S Q A . T a b l e s   ' C 1 '   ' S u p p l i e r s ' 
 
 S Q A . C o l u m n s   ' C 1 '   ' S u p p l i e r s ' 
 
 s t m t !' I N S E R T   I N T O   S u p p l i e r s   V A L U E S   ( ' 
 
 s t m t , !' : S I D < C 2 : ,   : S N A M E < C 1 0 : ,   : S T A T U S < I : ,   : C I T Y < C 2 0 : ) ' 
 
 s t m t 
 
 S Q A . P r e p a r e   ' C 1 . I 1 '   s t m t   ( ' B u l k '   1 0 )   ]#  1 0   =   m a x i m u m   b l o c k   s i z e 
 
 S Q A . X   ' C 1 . I 1 '   ( 1 !2 "S u p p l i e r s P r o d u c t s ) 
 
 S Q A . T r a n s a c t   ' C 1 '   0   ]#  C o m m i t   -   u s u a l l y   u n n e c e s s a r y   b e c a u s e   A u t o C o m m i t   i s   o n   b y   d e f a u l t 
 
 S Q A . C l o s e   ' C 1 . I 1 ' 
 
 
 
 
 
 S Q A . P r e p a r e   ' C 1 . S 1 '   ' s e l e c t   *   f r o m   S u p p l i e r s '   ( ' M a x R o w s '   3 ) 
 
 S Q A . E x e c   ' C 1 . S 1 ' 
 
 0   S Q A . F e t c h   ' C 1 . S 1 ' 
 
 0   S Q A . F e t c h   ' C 1 . S 1 ' 
 
 0   S Q A . F e t c h   ' C 1 . S 1 ' 
 
 S Q A . C l o s e   ' C 1 . S 1 ' 
 
 S Q A . D o   ' C 1 '   ' c r e a t e   v i e w   l o n d o n e r s   a s   s e l e c t   *   f r o m   s u p p l i e r s   w h e r e   c i t y = ' ' L o n d o n ' ' ' 
 
 S Q A . D o   ' C 1 '   ' s e l e c t   *   f r o m   l o n d o n e r s ' 
 
 
 
     
 
 