Solved! Go to Solution.
import arcpy
arcpy.env.overwriteOutput = True
try:
  # Get the input parameters for the selection tool
  FeatureClass = arcpy.GetParameterAsText(0)
  SQLStatement = arcpy.GetParameterAsText(1)
  # Select by Layer Attribute
  arcpy.SelectLayerByAttribute_management(FeatureClass, "NEW_SELECTION", SQLStatement)
  # Report a success message 
  arcpy.AddMessage("All done!")
except:
  # Report an error messages
  arcpy.AddError("Could not complete the selection")
  # Report any error messages that the selection tool might have generated 
  arcpy.AddMessage(arcpy.GetMessages())
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		Thanks rfairhur24 for the nugget of information, but when i run the script it does not return any record(s)? Any other suggestion(s)