[mythtv-users] Storage groups: How to set 'SGweightLocalStarting' to 0?

Brad DerManouelian myth at dermanouelian.com
Wed Oct 8 21:48:41 UTC 2008


On Oct 8, 2008, at 2:43 PM, Jonathan Larson wrote:

>> I'm new to the SQL CLI, so I didn't even realize there was a  
>> functional difference between "" and NULL. Should the insert  
>> command look like this?:
>
> INSERT settings (value, data, hostname) VALUES  
> ("SGweightLocalStarting", 0, NULL);

Since you already have an entry in your database for  
SGweightLocalStarting your command should now look like this:

UPDATE settings SET hostname = NULL WHERE value =  
'SGweightLocalStarting';



More information about the mythtv-users mailing list