Viewing 15 posts - 286 through 300 (of 482 total)
Oooooohhh. Me like TVP! 😀
Thanks opc!
May 23, 2012 at 8:01 am
Sure, here you go. I use Windows security, which appears to be the default for sqlcmd, as I'm not setting that switch in the call below.
function ApplyScriptFile ()
{
param ($DstSrv, $DBName,...
March 7, 2012 at 1:10 pm
SQLCMD has an -o outputfile parameter, to which output and errors can be written.
I actually have a function which:
1) Receives servername, dbname, infile, outfile
2) Writes to outfile the time, server,...
March 7, 2012 at 12:37 pm
I used to do deployments by .bat file, but PowerShell is SO much simpler -- OK, it's a little complicated at first, but once you get the hang of it,...
March 7, 2012 at 7:03 am
Solved by workaround: if unable to open using Bulk Insert, do nothing.
November 18, 2011 at 8:24 am
15 minutes is the lowest possible setting, according to my admin guy: we tried for 5, but he sent me a screen shot showing the message box where it says...
November 18, 2011 at 4:16 am
Yay, problem solved. My domain admin found a way to grant me rights to run repadmin /replicate without making me domain admin!
P
November 17, 2011 at 6:51 am
Ah...but that just moves the problem from remote to local... as in the local SQL Servers won't see those groups until the replication occurs.
I was given the rights to create...
November 17, 2011 at 4:55 am
Hey Brian,
So if I understand you, I can create the AD groups on both DCs?
There won't be a problem with out-of-synch SIDs after replication occurs?
Paul
November 16, 2011 at 12:45 pm
4 x 2000 (archived data)
10 x 2008 R2
October 21, 2011 at 6:18 am
You should definitely NOT allow incorrect data to be recorded in the database.
If you have enough info to determine what the proper data should be, then do so, and let...
August 23, 2011 at 5:39 am
Thanks Ninja.
Interesting thread. I may yet opt for the sqlfool colour scheme solution as well. Nothing like a visual in-your-face clue.
Bob's solution is definitely working for me, it's not too...
August 10, 2011 at 6:20 am
Robert,
That's close enough!
Much appreciated.
P
August 9, 2011 at 1:00 pm
Wow.
Glad to see I'm not the only one who wishes it wasn't made so easy for us to make a Really. Bad. Mistake.
Hey Microsoft: Can we PLEASE have...
August 9, 2011 at 12:54 pm
Doesn't do it. On both sprocs, sp_depends returns no results.
if object_id('proc1') is not null
drop proc proc1
go
create proc proc1
as
print 'proc1'
go
if object_id('proc2') is not null
drop proc proc2
go
create proc proc2
as
exec...
June 6, 2011 at 5:51 am
Viewing 15 posts - 286 through 300 (of 482 total)