“Function” calling inside store procedure
        Posted  
        
            by idimba
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by idimba
        
        
        
        Published on 2010-04-08T17:17:05Z
        Indexed on 
            2010/04/08
            18:03 UTC
        
        
        Read the original article
        Hit count: 208
        
Hi,
I have a big store procedure, that contains a lot of INSERTs. There're many INSERTS that almost identical - they're different by some parameter(s) (all INSERTs to the same table)
Is there a way to create a function/method, to which I'll pass the above parameter(s) and the function/method will generate concrete INSERT's?
Thanks
© Stack Overflow or respective owner