Forum Replies Created

Viewing 15 posts - 16 through 30 (of 231 total)

  • RE: PIVOT question

    Content is the column name and the value is being returned but what is getting returned looks something like this instead of one row with the appropriate value in the...

  • RE: Connection problem from SQL Server 2016 to SQL Server 2008 R2 using SSIS

    We've figured it out. We have some embedded queries that aren't stored procedure calls because we don't have the privilege to store a proc on the source server. Some of...

  • RE: Connection problem from SQL Server 2016 to SQL Server 2008 R2 using SSIS

    It's not a permissions problem. I'm accessing the database using the sa account. (Not my preferred method but I lost this battle. In this case it helps rule out a...

  • RE: Bogus error in SSIS

    No, that's not what I said at all. The proc always works, including in SSIS, except in one scenario. I apologize for the misleading subject.

    The scenario is that...

  • RE: Bogus error in SSIS

    I'm getting the error from an SSIS package so I referred to it that way in the title. There's nothing wrong with the proc either. That's kind of the point....

  • RE: SSIS connection string environment variable problem

    sha4lo - Monday, January 23, 2017 7:18 AM

    In my case connection string is overridden in Management Studio on package level (Integration Services Catalog...

  • RE: SSIS connection string environment variable problem

    sha4lo - Monday, January 23, 2017 5:52 AM

    It seems that i have similar issue.
    Everything works on several environments, but i get the...

  • RE: SSIS connection string environment variable problem

    Just to reiterate. It is not a problem with the connection string. There are absolutely no extra semi-colons and it has been checked 100 times at least. In fact, it...

  • RE: Must declare the scalar variable appears in SSMS and not in VS (SSDT)

    If you're confused, I'm even more confused. I made a change in the copy of the stored procedure in my database project and I thought, when I posted, that I...

  • RE: Must declare the scalar variable appears in SSMS and not in VS (SSDT)

    That's actually the way it is in my code except for the insert and select statements which are one line. Of course, I chose the wrong tag...

    Sorry about that...

    It...

  • RE: Shredding XML in SSIS

    Eirikur Eiriksson (11/15/2016)


    Quick XML XQuery shredding example

    😎

    USE TEEST;

    GO

    SET NOCOUNT ON;

    DECLARE @TXML XML = '<pllog>

    <log>

    <datetime>20151021183108</datetime>

    <ms>900</ms>

    <type>Info</type>

    <action>RES ONE Workspace initializing</action>

    <result>Version 9.10.0.1</result>

    </log>

    <log>

    <datetime>20151021183108</datetime>

    <ms>900</ms>

    <type>Info</type>

    <action>Session GUID</action>

    <result>{6E332C48-207F-4619-A25C-2B8716A19E31}</result>

    </log>

    <log>

    <datetime>20151021183109</datetime>

    <ms>134</ms>

    <type>Info</type>

    <action>TS client name</action>

    <result>LAPTOP-HEV</result>

    </log>

    </pllog>

    '

    SELECT

    XLOG.DATA.value('(datetime/text())[1]' ,'VARCHAR(50)' )...

  • RE: Shredding XML in SSIS

    Create a new table based on the node, with new columns based on the elements dynamically. In this example, a new table called Log with columns: datetime, ms, type, action,...

  • RE: Shredding XML in SSIS

    My objective is to shred it and store the data in tables dynamically. If that isn't possible then I guess I'll be forced to hard code for certain tags.

  • RE: Shredding XML in SSIS

    I haven't ruled anything out but I'm not sure how Xquery can help me when I don't know what is in the XML at the time I'm trying to shred...

  • RE: Where should middle tier business logic be stored?

    It's kind of a broad question but ultimately depends on what constitutes "business logic". I generally fall on the side that says databases should be stupid and do what they're...

Viewing 15 posts - 16 through 30 (of 231 total)