cczernia Posted November 10, 2005 Share Posted November 10, 2005 I have two questions regarding SQL queries. 1. I am trying to delete and entire column. I'm looking for the command to delete a cell that has something in it. This is what I have so far: UPDATE `table` SET `field1` = NULL WHERE `field1` <> NULL It didn't work. Any ideas on how to right this correctly. 2. I need to increase the value of about 2000 items on my site by 11%. Is there a query or contributions that can do this quickly? Thanks in advance. Shade and Sweet Water Chris Czerniak Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2005 Share Posted November 11, 2005 1. To drop an entire column from a table ALTER TABLE `sometable` DROP `column_name_to_drop` 2. Have you tried EP? Link to comment Share on other sites More sharing options...
cczernia Posted November 11, 2005 Author Share Posted November 11, 2005 Thanks for the help with the SQL. I was told I can't use EP for the site because I have too many items and too many attributes that it would overload excel. Any other suggestions? 2. Have you tried EP? Shade and Sweet Water Chris Czerniak Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.