UPDATE ts2_channels
SET b_channel_flag_moderated = :bModerated,
    b_channel_flag_hierarchical = :bHierarchical,
    b_channel_flag_default = :bDefault,
    i_channel_codec = :iCodec,
    i_channel_order = :iOrder,
    i_channel_maxusers = :iMaxUsers,
    s_channel_name = :sName,
    s_channel_topic = :sTopic,
    s_channel_description = :sDescription,
    s_channel_password = :sPassword
WHERE i_channel_id = :iChannelID
AND i_channel_server_id = :iServerID ;