Normally when you execute a query, it's taken all the way from parsing the string to running the execution plan. By calling Prepare
, it will take the process as far as possible towards the execution, without actually running the execution plan.
This is useful when running the same command over and over. You will save some execution time, as the whole process doesn't have to be repeated each time.