Viewing 15 posts - 946 through 960 (of 7,168 total)
Gosh, that seems like a lot of code to move the newest file from one place to another. Here is how you would do the same in PowerShell:
$SourceFileSpec = "H:\"
$DestinationFileSpec...
June 25, 2013 at 9:22 am
How ironic. You're client is conscientious enough to do a penetration test yet they will not accept advice on not running a website using the sa Login. Wish them luck...
June 25, 2013 at 4:18 am
Aadhar Joshi (6/24/2013)
If you enalbe xp_cmdshell option in configuration, it does not give effect immediately for current session. U have to use Reconfigure command to give immediate effect.
One would...
June 24, 2013 at 8:57 pm
heb1014 (6/24/2013)
Is there any reason for this approach IF SSRS is installed? I'm thinking a simple query, report and subscription would be the way to go.
That's how I would...
June 24, 2013 at 3:39 pm
dwilliscp (6/24/2013)
I am using SQL 2008R2...
SSMS 2012 can go against SQL 2008 R@. I think the setting is in the same place in SSMS 2008 R2. I was just pointing...
June 24, 2013 at 1:57 pm
dwilliscp (6/24/2013)
is there a limit on what gets printed?
Yes. In SSMS 2012 go to Tools > Options > Query Results > SQL Server > Results to ... and increase the...
June 24, 2013 at 1:34 pm
medized (6/23/2013)
I have been browsing the web looking for some help regarding the following issue. I am currently performing an web application penetration test, and I had come accross...
June 24, 2013 at 4:10 am
Jeff Moden (6/15/2013)
DECLARE @Cmd VARCHAR(8000);
SELECT @Cmd = '
echo...
June 22, 2013 at 4:36 pm
Writing a PowerShell script and kicking it off using powershell.exe from a SQL Agent CmdExec Job Step would be another option here. The backflips you're having to perform using xp_cmdshell...
June 22, 2013 at 4:29 pm
Can you switch from OLE Automation (sp_OA procs) to SQLCLR and COM interop? The .NET Framework being a managed environment you probably won't have any issues with hung in-process dlls.
June 22, 2013 at 4:24 pm
DECLARE @sql NVARCHAR(MAX) = N'';
SELECT @sql = @sql + 'GRANT INSERT, SELECT, UPDATE ON ' + QUOTENAME(OBJECT_SCHEMA_NAME(object_id)) + N'.' + QUOTENAME(name) + ' TO [YourRoleName];
'
FROM sys.views
WHERE...
June 21, 2013 at 10:33 pm
This might help you start learning how to connect to databases on many different instances using SSIS:
http://thesqldev.wordpress.com/2013/03/23/iterate-over-databases-using-ssis-part-2/%5B/url%5D
June 21, 2013 at 9:44 pm
nakache (6/20/2013)
and as you say "keep it simple" , so NO bcp, NO xp_cmdshell ,NO Blat =...
June 20, 2013 at 3:31 pm
Viewing 15 posts - 946 through 960 (of 7,168 total)