Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
hmusa
Starting Member
36 Posts |
Posted - 2001-04-30 : 07:23:48
|
| I am running three, basic, very similar queries but all are taking over two munitutes to runCan anyone help in optimising them.here are the queries:Update 1UPDATE stmbiogrSET geolocn_code = coll_sgen2 from stmgcodewhere stmbiogr.student_id = stmgcode.student_id and geolocn_code is nullupdate 2UPDATE stmbiogr SET stmbiogr.geolocn_code = "F"from stmbiogr, stmqustuWHERE stmbiogr.student_id = stmqustu.qls_id and geolocn_code Is Not NullUpdate 3UPDATE stmbiogrSET geolocn_code = campus_code from stmucas1where stmbiogr.student_id = stmucas1.student_id and geolocn_code is nullThanks in advance |
|
|
|
|
|