public static bool IsTable(ServerDetails LineDetails, string TableName) { return(asiDataDefault.getInt64(asiSSMSTrans.QueryFlag(ServerDetails.sConnection(LineDetails), "SELECT COUNT(*) FROM sys.objects WHERE type = 'U' and name = '" + TableName + "'"), 0) == 1); }
public static SqlConnection sConnection(ServerDetails ServerDetails) { return(new SqlConnection(ResponseSQLString(ServerDetails))); }