How to create maintenance plan using sql script with out maintenance plan wizard. Please don't suggest olahallengren solution. His script is not exact relpica of maintenance plan.This means, he created only jobs but not maintenanceplan name in management-->maintenaceplan fodler.So, let me know,  Is it possible or not to create maintenance plan using sql script?
Is there a way to copy maintenance plans from one SQL Server 2012 to another? Both servers are not accessible via the same copy of Management Studio at the same time (on different networks).
Computing: $\int_0^1 \sqrt[3]{x\log{\frac{1}x}} \, \mathrm dx$ How do you change from icon to list view in 20.4 What are the benefits/detriments to graduate students joining unions? I have some pages on my site that I want to keep search engines away from, so I disallowed them in my robots.txt file like this: User-Agent: * Disallow: /email  Yet I recently noticed that Google still sometimes returns links to those pages in their search results.  Why does this happen, and how can I stop it? Background: Several years ago, I made a simple web site for a club a relative of mine was involved in.  They wanted to have e-mail links on their pages, so, to try and keep those e-mail addresses from ending up on too many spam lists, instead of using direct mailto: links I made those links point to a simple redirector /  script running on my own site.  This script would return either a 301 redirect to the actual mailto: URL, or, if it detected a suspicious access pattern, a page containing lots of random fake e-mail addresses and links to more such pages.  To keep legitimate search bots away from the trap, I set up the robots.txt rule shown above, disallowing the entire space of both legit redirector links and trap pages. Just recently, however, one of the people in the club searched Google for their own name and was quite surprised when one of the results on the first page was a link to the redirector script, with a title consisting of their e-mail address followed by my name.  Of course, they immediately e-mailed me and wanted to know how to get their address out of Google's index.  I was quite surprised too, since I had no idea that Google would index such URLs at all, seemingly in violation of my robots.txt rule. I did manage to submit a removal request to Google, and it seems to have worked, but I'd like to know why and how Google is circumventing my robots.txt like that and how to make sure that none of the disallowed pages will show up in their search results. Ps. I actually found out a possible explanation and solution, which I'll post below, while preparing this question, but  in case someone else might have the same problem.  Please do feel free to post your own answers.  I'd also be interested in knowing if other search engines do this too, and whether the same solutions work for them also. Does the shebang determine the shell which runs the script? "May" & "Might": What's the right context? I may not be coming in tomorrow...    I might not be coming in tomorrow...       When should I use "may" and "might"? Significance contradiction in linear regression: significant t-test for a coefficient vs non-significant overall F-statistic I'm fitting a multiple linear regression model between 4 categorical variables (with 4 levels each) and a numerical output. My dataset has 43 observations.  Regression gives me the following $p$-values from the $t$-test for every slope coefficient: $.15, .67, .27, .02$. Thus, the coefficient for the 4th predictor is significant at $\alpha = .05$ confidence level.  On the other hand, the regression gives me a $p$-value from an overall $F$-test of the null hypothesis that all my slope coefficients are equal to zero. For my dataset, this $p$-value is $.11$.  My question: how should I interpret these results? Which $p$-value should I use and why? Is the coefficient for the 4th variable significantly different from $0$ at the $\alpha = .05$ confidence level?  I've seen a related question, , but there was an opposite situation: high $t$-test $p$-values and low $F$-test $p$-value. Honestly, I don't quite understand why we would need an $F$-test in addition to a $t$-test to see if linear regression coefficients are significantly different from zero. Express $\sqrt{3}\sin\theta - \cos\theta$ as: $a\cos (\theta + \alpha) $ Express $\sqrt{3}\sin\theta - \cos\theta$ as: $a\cos (\theta + \alpha) $  Can someone please explain to me how to go about doing this? What happened to the voting buttons? Starting from yesterday, the up-/downvote buttons seem to have moved from the left of a post towards above (in the middle) of the bodies of all questions and answers. Here is a screenprint of a sample (containing such buttons for both a question and an answer to it):    This happens on an iOS device (running 9.3.5), using various browsers and this in any SE site. No idea so far how it looks like in the most recent iOS version. Same for the (green) checkbox below those voting buttons (to mark an answer as accepted). Is this intended to be like this (IMO it looks ugly ... and a huge waste of available space), or is it rather some sort of CSS related issue that needs to be fixed? PS: Looking at the same page around the same time on a Win PC (using any of the common browsers) seems to work fine. Is it better to difference a series (assuming it needs it) before using an Arima OR better to use the d parameter within Arima?  I was surprised how different the fitted values are depending on which route is taken with the same model and data. Or am I doing something incorrectly?  install.packages("forecast") library(forecast)  wineindT&lt;-window(wineind, start=c(1987,1), end=c(1994,8)) wineindT_diff &lt;-diff(wineindT)  #coefficients and other measures are similar modA&lt;-Arima(wineindT,order=c(1,1,0)) summary(modA) modB&lt;-Arima(wineindT_diff,order=c(1,0,0)) summary(modB)  #fitted values from modA A&lt;-forecast.Arima(modA,1)$fitted  #fitted from modB, setting initial value to the first value in the original series B&lt;-diffinv(forecast.Arima(modB,1)$fitted,xi=wineindT[1])   plot(A, col="red") lines(B, col="blue")   ADD:  Please note I am differencing the series once and fitting arima (1,0,0) then I am fitting arima (1,1,0) to the original series. I am (I think) reversing the differencing on the fitted values for the arima(1,0,0) on the differenced file.   I am comparing the fitted values - not the predictions.  Here is the plot (red is arima(1,1,0) and blue is the arima (1,0,0) on the differenced series after changing back to the original scale)  :    Response to Dr. Hyndman's Answer:  1) Can you illustrate in R code what I would need to do in order to get the two fitted values (and presumably forecasts) to match (allowing for small difference due to your first point in your answer) between Arima (1,1,0) and Arima(1,0,0) on the manually differenced series? I assume this has to do with the mean not being included in modA, but I am not entirely sure how to proceed.  2) Regarding your #3. I know I am missing the obvious, but are not $\hat{X}_t = X_{t-1} + \phi(X_{t-1}-X_{t-2}) $ and $\hat{Y}_t = \phi (X_{t-1}-X_{t-2})$ the same when $\hat{Y}_t$ is defined as $\hat{X}_t - X_{t-1}$? Are you saying I am "undifferencing" incorrectly? I'll be at my uncle's house just in case you need to reach me.      I'll be at my uncle's house should you need to reach me.   Could you tell me what is the difference between those? Limiting OpenVPN bandwidth I'd like to give users a certain amount of traffic. Let's say user A gets 1 GB and user B get 5 GB.  I have a great script which does log all this info, however this script is called when the user disconnects (client-disconnect).  Now, my problem is the following: what if user A uses up 1 GB of data and simply never disconnects? He would be able to use thousands of GB's. Is there any way run a specific script periodically within OpenVPN (so no crontab, since OpenVPN passes environment variables). Geometric series and big theta Consider the following function:  $$S(n)=1+ c + c^2 + ··· + c^n,$$  where c is a positive real number.  (A) This function is the sum of a geometric series. Give a precise closed-form formula for $S(n)$, interms of $c$ and $n$, in the case where $c \neq 1$.  (B) Show that $S(n)$  is:  $\theta(1)$ if $c&lt;1$  $ \theta(n)$ if $c=1$  $\theta(c^n)$ if $c&gt;1$    can someone please explain how i can go about finding the solutions for these problems, i have never encountered these and am stuck, i know that big theta means that the function is bond on both sides but how do i got about finding the answer?  (edit) im still having trouble understanding part B. can someone please explain? (can someone walk me through the second one) so far i have $n \leq c^{n+1} \leq ???$  (edit #2) i tried doing the first one can someone verify if i did it right  $S(n)$ is $\Theta(1)$ if c&lt;1  (1)$S(n)$ is $O(1)$ if c&lt;1  (2)$S(n)$ is $\Omega(1)$ if c&lt;1  (1) $$\frac{C^{n+1}-1}{C-1} \lt (C_1)(1)$$ $$\frac{C^{n+1}-1}{C-1} \lt (C_1)$$ $$C^{n+1} \lt C_1(C-1)$$ $$C^nC-1 \lt C_2C-1$$ $$C^n \lt C_2$$ $$C^n \lt 1$$ since c&lt;1 this means that any number that will be $C^n$ will be less then 1 for all positive n  i did the omega part pretty much the same way and got $$C^n \gt C_2$$ $$C^n \gt 0$$ since c&lt;1, $C^n$ can potentially become very very small so the only thing bounding it is 0 for all positive n Using a java library from python I have a python app and java app. The python app generates input for the java app and invokes it on the command line.  I'm sure there must be a more elegant solution to this; just like using JNI to invoke C code from Java.  Any pointers? (FYI I'm v. new to Python)    Clarification (at the cost of a long question: apologies) The py app (which I don't own) takes user input in the form of a number of configuration files. It then interprits these and farms work off to a number of (hidden) tools via a plugin mechanism. I'm looking to add support for the functionality provided by the legacy Java app.  So it doesn't make sense to call the python app from the java app and I can't run the py app in a jython environment (on the JVM).  Since there is no obvious mechanism for this I think the simple CL invocation is the best solution. How to mount ufs file system under Debian testing? In order to mount my /dev/sda4  under /mnt/ufs_mount on Debian Testing , i have tried the following commands (it works fine under Debian Jessie):  modprobe ufs mount -r -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount   and:  mount -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount   But i get this error:  mount: /dev/sda4 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sda4,    missing codepage or helper program, or other error     In some cases useful info is found in syslog - try    dmesg | tail or so.   The output of: dmesg | tail :  [ 1136.965142] ufs: ufs_fill_super(): bad magic number [ 1255.758946] ufs: ufs_fill_super(): bad magic number [ 2098.945757] ufs: ufs was compiled with read-only support, can't be mounted as read-write [ 2098.946045] ufs: You didn't specify the type of your ufs filesystem        mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...        &gt;&gt;&gt;WARNING&lt;&lt;&lt; Wrong ufstype may corrupt your filesystem, default is ufstype=old [ 2098.967212] ufs: ufs_fill_super(): bad magic number [ 2927.982112] perf: interrupt took too long (2504 &gt; 2500), lowering kernel.perf_event_max_sample_rate to 79750   Edit My sources.list:  deb http://httpredir.debian.org/debian/ stretch main deb-src http://httpredir.debian.org/debian/ stretch main  deb http://security.debian.org/debian-security stretch/updates main deb-src http://security.debian.org/debian-security stretch/updates main   And uname -a:  Linux debian 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux   How to mount ufs file system under Debian testing? When do I use "I" instead of "me?" The derivative of $x!$ and its continuity is the factorial of fractions and negative numbers defined? If yes, then what is its graph? Also please find its domain.  Our teacher said the factorial of a fraction is the fraction itself. He also said the graph is continuous but could not determine the derivative of $x!$. Inexact measurement and wavefunction collapse I'm using NetBeans, trying to change the familiar Java coffee cup icon to a png file that I have saved in a resources directory in the jar file.  I've found many different web pages that claim they have a solution, but so far none of them work.  Here's what I have at the moment (leaving out the try-catch block):  URL url = new URL("com/xyz/resources/camera.png"); Toolkit kit = Toolkit.getDefaultToolkit(); Image img = kit.createImage(url); getFrame().setIconImage(img);   The class that contains this code is in the com.xyz package, if that makes any difference.  That class also extends JFrame.  This code is throwing a MalformedUrlException on the first line.  Anyone have a solution that works? prove that if $E$ is connected and $E \subseteq F \subseteq \overline{E}$, then $F$ is connected. Define a set $A$ to be disconnected iff there exist nonempty relatively open sets $U$ and $W$ in $A$ with $U\cap W = \emptyset$ and $A = U\cup W.$ Define a set $A$ to be connected iff it is not disconnected.(there are many equivalent definitions, but I want to prove this lemma using this one). Prove that if $E$ is connected and $E\subseteq F \subseteq \overline{E},$ then $F$ is connected.  Let $U, W$ be a separation for $F$. Find open sets $O_U$ and $O_W$ so that $U = F \cap O_U$ and $W = F\cap O_W.$ I claim that $E\cap O_U, E\cap O_W$ separate $E$. However, I'm unable to show that $U' = E\cap O_U, W' =E\cap O_W \neq \emptyset$ (I think this should be straightforward, but for some reason, I can't figure this out). Suppose $U' = \emptyset.$ Then $E\cap O_U = \emptyset.$ Since $E \subseteq F = U\cup W = F\cap (O_U \cup O_W)\subseteq O_U\cup O_W,$ we have that $E \subseteq O_W,$ so $E\cap O_W = E\subseteq F\cap O_W = W\subseteq F\subseteq \overline{E}.$ Observe that since $E\cap O_U = \emptyset, F\cap O_U = (F\backslash E)\cap O_U\subseteq F\backslash E.$ Similarly, $W'\neq \emptyset.$ Clearly, $U', W'$ are relatively open in $E$. Suppose $U'\cap W' \neq \emptyset.$ Let $x\in U'\cap W'.$ Then $x\in E\cap O_U\cap O_W \subseteq F\cap O_U\cap O_W = U\cap W = \emptyset,$ a contradiction. So $U'\cap W' = \emptyset.$ Also, $U'\cup W' = (E\cap O_U)\cup (E\cap O_W) = E\cap (O_U \cup O_W)$ and $E\subseteq (O_U \cup O_W),$ so $U'\cup W' = E.$