Viewing 15 posts - 181 through 195 (of 1,315 total)
My biggest XML import job involves 1GB+ files. I never had the nerve to see what happens if you load that much data into an XML variable and try...
July 13, 2015 at 6:06 pm
In my experience, the inefficiency of flat files comes from my time spent debugging ETL packages when boneheaded third parties don't know how to format them correctly. I just...
July 13, 2015 at 4:11 pm
A general pattern would be:
SELECT (group by columns), y = MAX(CASE WHEN x THEN y END), z = MAX(CASE WHEN x THEN z END)
GROUP BY (group by columns)
The aggregation function...
June 24, 2015 at 12:21 pm
If an OPENQUERY statement could make use of the @EndDate parameter, he wouldn't need dynamic SQL in the first place.
I have a lot of code that references our non-SQL accounting...
May 15, 2015 at 1:10 pm
The syntax error is that the CASE function (not a statement in T-SQL) is missing the END keyword.
April 23, 2015 at 2:43 pm
A CmdExec job step uses the command interpreter, just like a Command Prompt window or a .bat file. It doesn't do multi-line string literals.
It should work if it's all...
April 8, 2015 at 1:42 pm
Running a package using the 32-bit version of DTEXEC won't affect any other packages started normally with the 64-bit version.
Unless your package has a "Run Child Package" step that starts...
April 3, 2015 at 9:02 am
Are you saying you can't use a view because of the @MaxMinutes variable? You couldn't just hardcode that in the view definition?
How about making it a table-valued function instead...
April 3, 2015 at 8:56 am
Your package must use some 32-bit component or driver. Try identify it and find a workaround.
If no workaround can be found, force it to run as 32-bit. You...
April 2, 2015 at 12:20 pm
The column data types in the flat file source should match the destination table. So the flat file source column should be changed to DT_R4, or the database column...
April 2, 2015 at 12:04 pm
I don't think #temp will work, it would need to be a global ##temp table. The query is run from a separate connection, so it would not have access...
April 2, 2015 at 11:37 am
Hopefully the CRM app rarely does "SELECT * FROM dbo.notes" on the whole table, so doing that in Management Studio is not a useful test. You're just stressing the...
March 6, 2015 at 12:57 pm
The edition downgrade from Enterprise to Standard is supported for SQL 2014, but I didn't see it listed for SQL 2012. So you may not be able to do...
March 6, 2015 at 12:30 pm
We run SCOM just fine on Standard Edition. No sense wasting an Enterprise license on it.
March 6, 2015 at 11:58 am
Another answer is to set up the Central Management Server in SSMS Registered Servers using an alias. Or go to the existing one and choose "Central Management Server Actions"...
March 6, 2015 at 11:44 am
Viewing 15 posts - 181 through 195 (of 1,315 total)