Patterns in PL / SQLGenerally, the patterns are very interesting to perform. We can make as many shapes as we can in patterns. Let us dive into different types of patterns. 1.) Pattern 1Pattern DesignPattern Code 1 Input Output * * * * * * * * * * * * * * * * * * * * * * * * * PL/SQL procedure successfully completed. Pattern Code 2 Input Output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PL/SQL procedure successfully completed. Pattern Code 3 Input Output 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 PL/SQL procedure successfully completed. 2.) Pattern 2Pattern DesignPattern Code 1 Input Output * * * * * * * * * * * * * * * PL/SQL procedure successfully completed. Pattern Code 2 Input Output _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ PL/SQL procedure successfully completed. Pattern Code 3 Input Output 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 PL/SQL procedure successfully completed. 3.) Pattern 3Pattern Design Pattern Code 1 Input Output 1 2 2 4 4 4 PL/SQL procedure successfully completed. Pattern Code 2 Input Output 1 2 2 4 4 4 8 8 8 8 16 16 16 16 16 PL/SQL procedure successfully completed. 4.) Pattern 4Pattern DesignPattern Code 1 Input Output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 PL/SQL procedure successfully completed. Pattern Code 2 Input Output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 PL/SQL procedure successfully completed. 5.) Pattern 5Pattern DesignPattern Code 1 Input Output 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 PL/SQL procedure successfully completed. Pattern Code 2 Input Output 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 PL/SQL procedure successfully completed. 6.) Pattern 6Pattern DesignPattern Code 1 Input Output 1 4 4 9 9 9 16 16 16 16 25 25 25 25 25 PL/SQL procedure successfully completed. Pattern Code 2 Input Output 1 4 4 9 9 9 16 16 16 16 25 25 25 25 25 36 36 36 36 36 36 49 49 49 49 49 49 49 64 64 64 64 64 64 64 64 81 81 81 81 81 81 81 81 81 100 100 100 100 100 100 100 100 100 100 PL/SQL procedure successfully completed. 7.) Pattern 7Pattern DesignPattern Code 1 Input Output 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 PL/SQL procedure successfully completed. Pattern Code 2 Input Output 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 PL/SQL procedure successfully completed. Pattern Code 3 Input Output 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 PL/SQL procedure successfully completed. 7.) Pattern 7Pattern DesignPattern Code 1 Input Output * * * * * * * * * * * * * * * PL/SQL procedure successfully completed. Pattern Code 2 Input Output * * * * * * * * * * * * * * * * * * * * * * * * * * * * PL/SQL procedure successfully completed. 8.) Pattern 8Pattern SamplePattern Code 1 Input Output 4 3 2 1 0 4 3 2 1 4 3 2 4 3 4 Pattern Code 2 Input Output 6 5 4 3 2 1 0 6 5 4 3 2 1 6 5 4 3 2 6 5 4 3 6 5 4 6 5 6 9.) Pattern 9Pattern SamplePattern Code 1 Input Output 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5 PL/SQL procedure successfully completed. Pattern Code 2 Input Output 1 2 3 4 5 6 7 8 9 2 3 4 5 6 7 8 9 3 4 5 6 7 8 9 4 5 6 7 8 9 5 6 7 8 9 6 7 8 9 7 8 9 8 9 9 PL/SQL procedure successfully completed. 10.) Pattern 10Pattern SamplePattern Code 1 Input Output * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * PL/SQL procedure successfully completed. Pattern Code 2 Input Output * * * * * * * * * * * * * * * * * * * * PL/SQL procedure successfully completed. 11.) Pattern 11Pattern SamplePattern Code 1 Input Output 1 1 2 3 1 2 3 4 5 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 1 2 3 4 5 1 2 3 1 PL/SQL procedure successfully completed. Pattern Code 2 Input Output 1 1 2 3 1 2 3 4 5 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 11 1 2 3 4 5 6 7 1 2 3 4 5 1 2 3 1 PL/SQL procedure successfully completed. Next Topic# |