sql - Check SSIS Connection Manager's access to Server and DB -
I have a table like three fields,
server-name ---- - DB-Name ------- Flag ABC ------------------ ABC 123 XYZ ---------------- - 123XYZ EFG ------------------ ABCXY5 YUI ------------------- TER 675< / Pre>I save the details of that table in one variable and for each loop container, the connection manager of the data flow job for each loop container will be dynamically called the server and the DB name Is attached to Irdisht.
And if the above two conditions fail, then update the flag to "0" and send the related details to users.
How can I update the "Flag" field in the table based on the above two conditions?
why not
Can perform simple tests that try to make a connection
... string connection string = "from your object var"; SqlConnection con = new SqlConnection (connectionString); ... Wrap up to catch / update and update the flag on the basis of whether an exception occurs or not.
Comments
Post a Comment