Viewing 15 posts - 6,001 through 6,015 (of 7,168 total)
Another possibility: on the new server did you run Set-ExecutionPolicy under the context of the user trying to run the script?
June 20, 2011 at 5:54 am
WRACK (6/19/2011)
This just happened again. Sunday 2 PM was a full backup right after we restored all the missing records and Monday 9:20 AM 250000 records have been deleted. I...
June 19, 2011 at 7:35 pm
What is the real world problem you are trying to solve?
June 19, 2011 at 3:43 pm
Please have a look at what Dave posted. A scalable solution is there for the taking. Hint: look for the function DelimitedSplit8K.
June 19, 2011 at 3:39 pm
You could do this work with a Script Task but it will be a whole lot more code than using PowerShell. Here is a one line PowerShell command to copy...
June 19, 2011 at 3:36 pm
Sometimes a sledgehammer is the only way to go depending on the size of the nut you have to crack (or expect to have to crack down the line) 🙂
Here...
June 19, 2011 at 12:46 pm
james.morrison 19355 (6/19/2011)
Or take it offline completely and see if anyone notices.
Seriously, if you are really asking the question, it...
June 19, 2011 at 12:03 pm
You're very close. Keep in mind that the beginning and ending tags of all T-SQL language features must always match up in the order in which they're declared; and that...
June 19, 2011 at 10:34 am
Here are a couple ways to get there.
On 2005 you can try the UPDATE...JOIN syntax which is proprietary to SQL Server. It's not ANSI compliant and it suffers from...
June 19, 2011 at 6:42 am
I couldn't help myself...it's been a few years since I used BCP regularly so I had to put what I said to the test.
June 18, 2011 at 4:56 pm
Jeff Moden (6/17/2011)
opc.three (6/17/2011)
June 18, 2011 at 3:41 pm
I would recommend you use PowerShell for sys admin scripting tasks. You can schedule your scripts to run periodically using the SQL Agent PowerShell step type (2008+) or invoking PowerShell...
June 18, 2011 at 2:37 pm
The bcp.exe utility is what you want. bcp is much different than BULK INSERT.
June 17, 2011 at 4:28 pm
BobMcC (6/17/2011)
Essentially it looks like I can do....
INSERT into History
SELECT pk1,...
June 17, 2011 at 3:08 pm
stewartc-708166 (6/17/2011)
this will be substantially more efficient...
June 17, 2011 at 2:08 pm
Viewing 15 posts - 6,001 through 6,015 (of 7,168 total)