Welcome Guest, Not a member yet? Register   Sign In
Impact on script execution time
#4

[eluser]Jondolar[/eluser]
If you're trying to get all the records from the same query with different "where" parameters, maybe you want to use an "or" clause and put all of your where parameters in one query.

Select * from table1 where field1='abc' or field2='def' or field1='zzz'


Messages In This Thread
Impact on script execution time - by El Forum - 06-18-2009, 03:22 AM
Impact on script execution time - by El Forum - 06-18-2009, 03:44 AM
Impact on script execution time - by El Forum - 06-18-2009, 04:52 AM
Impact on script execution time - by El Forum - 06-18-2009, 01:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB