Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

when are tables updated

Status
Not open for further replies.

kevinluebb

Programmer
Jan 4, 2002
30
US
I've created a new table that I will populate with data from two other tables based upon some pretty basic selection criteria.

I've let it (the query) run for over half an hour and when I stop it and check the input table there are no records.

My question is this.....does sql update/input into the new table at the end or does it update/input when it finds a match?
 
SQL Server will update the table at the end i.e. when the transaction is complete. You will not be able too your records till this point in time.

Rick.
 
I kind of suspected that. RATS!!! Reckon I need to let the little bugger run.

Thanks!!!
 
Kevin - This is a little off the subject but just wanted to say that it is good to see other AS400 folks moving over
to the client-server world.

As for me, it has been a struggle, after many years of
programming in RPG and CL.

Good luck. John Nashville TN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top