((hot)) - Ssis 864

using (SqlCommand cmd = new SqlCommand(sql, conn))

In the stored procedure, use local variables or OPTION (RECOMPILE) :

cmd.CommandTimeout = 300; // seconds cmd.ExecuteNonQuery();

using (SqlCommand cmd = new SqlCommand(sql, conn))

In the stored procedure, use local variables or OPTION (RECOMPILE) :

cmd.CommandTimeout = 300; // seconds cmd.ExecuteNonQuery();

Copyright © 2024 wangye1.com All rights reserved.