[freeside-commits] freeside/bin rate.delete,NONE,1.1
Ivan,,,
ivan at wavetail.420.am
Thu Nov 20 03:35:02 PST 2008
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv26292
Added Files:
rate.delete
Log Message:
fill in the ratenum. doesn't actually delete the rate itself, just all its data (the hard part)
--- NEW FILE: rate.delete ---
#delete from rate_detail where ratenum = 18;
#delete from rate_region where 0 = ( select count(*) from rate_detail where rate_region.regionnum = rate_detail.dest_regionnum );
#delete from rate_prefix where 0 = ( select count(*) from rate_region where rate_prefix.regionnum = rate_region.regionnum );
More information about the freeside-commits
mailing list