Log in

View Full Version : Query Question


paul41598
07-07-2005, 04:42 PM
Im trying to run this query, but its not working the way I want to

SELECT `uttstore_history`,`userid` FROM `user` WHERE `uttstore_history` IS NOT NULL

Im basically trying to bring up only the userid's with store purchase history. But its showing all userid's even if they dont have any history

My ultimate goal though is to delete all data from uttstore_history, and I dont know how....?

Andreas
07-07-2005, 04:44 PM
truncate uttstore_history

This will clear the table.

paul41598
07-07-2005, 06:41 PM
truncate uttstore_history

This will clear the table.
k thankyou