Update commonFunctions.cs

Change the sql command. Added sp name and connection