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