Viewing 15 posts - 4,516 through 4,530 (of 11,676 total)
aravula1 (10/7/2013)
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 15, 2013 at 2:28 am
mister.magoo (10/14/2013)
DECLARE @myvar varchar(100) = 'Some Value';
You have to use two statements, one to DECLARE then a SET.
DECLARE @SQLQuery VARCHAR(100);
SET...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 15, 2013 at 2:19 am
You can create an ETL solution using SSIS to truncate the test server and get the latest day from the production server.
600 tables will be quite some work, but you...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 15, 2013 at 2:16 am
It seems the Report.exe fails, or at least returns a return code that is not expected.
Does the package what it is supposed to do? Are the results achieved?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 15, 2013 at 2:13 am
Easy one! Thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 15, 2013 at 2:11 am
If you use DontSaveSensitive, you need to store the username and pasword in a configuration.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 3:27 pm
You need to change this in the flat file connection manager (in the advanced properties), not in the flat file source.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 3:25 pm
One bug that is still in the statement is that you have to cast @ID to string in the concatenation for @TaskOutFile.
Select @TaskOutFile = 'C:\SSIS' + CONVERT(VARCHAR(10),@ID) + '.html';
The errors...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 3:06 pm
sqlserver12345 (10/14/2013)
(@ID int)
AS
DECLARE @TaskOutFile VARCHAR(255)
DECLARE @SQLQuery VARCHAR(100) = 'select * from Table where ID=@ID';
SET @SQLQuery = REPLACE(@SQLQuery,'@ID',@ID);
Select @TaskOutFile = 'C:\SSIS' +@ID + '.html'
EXEC sp_makewebtask @outputfile =@TaskOutFile ,...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 1:15 pm
Ed Wagner (10/14/2013)
I really hope MS never allows Excel to directly edit a SQL Server table - that could end up being a complete disaster for DBAs everywhere.
+1000
It's not because...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 12:36 pm
What if you remove the quotes around @SQLQuery?
ALTER PROCEDURE [dbo].[usp_Names]
(@ID int)
AS
DECLARE @TaskOutFile VARCHAR(255)
DECLARE @SQLQuery VARCHAR(100) = 'select * from dbo.Table where ID=@ID';
SET @SQLQuery = REPLACE(@SQLQuery,'@ID',@ID);
Select @TaskOutFile = 'C:\' +@ID+...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 12:29 pm
Andy Warren (10/14/2013)
I'm hoping security will be tougher if top secret stuff going on!
Most likely.
A colleague of mine had to do a project at a more top secret client, and...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 7:19 am
As a consultant I've seen many scenarios.
In some cases the card the card is only necessary to get in. In other cases you need the card as well to go...
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 6:26 am
sql-noob (10/14/2013)
Jack Corbett (8/26/2013)
Sean Lange (8/26/2013)
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 5:07 am
p.avinash689 (10/13/2013)
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 14, 2013 at 3:34 am
Viewing 15 posts - 4,516 through 4,530 (of 11,676 total)