Forum Replies Created

Viewing 15 posts - 181 through 195 (of 1,315 total)

  • RE: Extract the titles from XML

    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...

  • RE: Extract the titles from XML

    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...

  • RE: How to merge data into one row

    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...

  • RE: Date issue in dynamic SQL

    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...

  • RE: using over partition by

    The syntax error is that the CASE function (not a statement in T-SQL) is missing the END keyword.

  • RE: Syntax Error

    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...

  • RE: SSIS - 32 bit and 64 bit

    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...

  • RE: syntax error

    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...

  • RE: SSIS - 32 bit and 64 bit

    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...

  • RE: SSIS Data Loss error messages during CSV import to SQL

    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...

  • RE: syntax error

    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...

  • RE: Slow Table Performance

    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...

  • RE: Downgrade SCOM Database

    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...

  • RE: Downgrade SCOM Database

    We run SCOM just fine on Standard Edition. No sense wasting an Enterprise license on it.

  • RE: How do you connect to Central Management Servers if your server has an instance name with it

    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"...

Viewing 15 posts - 181 through 195 (of 1,315 total)