Popular Posts
javax.net.ssl.SSLHandshakeException: Connection closed by peer in Android 5.0 Lollipop Recently, there is a error occurs when access website via ssl connection like below although it worked fine several days ago. // Enable SSL... no object DCH for MIME type multipart/mixed Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related; boundary="----=_Part_0_90429... LogonUser Function : impersonate a windows user // This sample demonstrates the use of the WindowsIdentity class to impersonate a user. // IMPORTANT NOTES:  // This sample can be run only ...
Stats
update optional memo
UPDATE
    [fl_news_content]
SET
    [nc_title] = @nc_title,
    [nc_summary] = @nc_summary,
    [nc_content] = @nc_content,
    [nc_date] = @nc_date,
    [nc_data_source] = @nc_data_source,
    [nc_data_source_link] = @nc_data_source_link,
    [nc_sort] = @nc_sort,
    [nc_first_record] = @nc_first_record,
    [nc_status] = @nc_status,
    [nc_deleted] = @nc_deleted,
    [nc_start_date] = @nc_start_date,
    [nc_end_date] = @nc_end_date,
    [nc_lastfix_time] = GETDATE(),
    [nc_lastfix_user] = @nc_lastfix_user,
    [nc_lastfix_user_ip] = @nc_lastfix_user_ip
WHERE
    [nc_id] = @nc_id;


UPDATE
    [fl_news_content]
SET
    [nc_img_bin] = @nc_img_bin,
    [nc_img_type] = @nc_img_type,
    [nc_img_isnew] = @nc_img_isnew
WHERE
    [nc_id] = @nc_id AND @nc_img_bin IS NOT NULL;