Forum Replies Created

Viewing 15 posts - 8,701 through 8,715 (of 9,715 total)

  • RE: assigning variables during query processing

    gpriester (8/27/2008)


    I am seeing if it is possible to assign a variable, and utilize the same variable that I assigned all in one query. Here's some examples:

    declare @int_num int

    select @int_num...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Char to Date conversions - interation question

    Jack,

    RE: The Age subtraction. Yeah, I did subtract it at home, it's just that fumble fingers didn't type it correctly in her post. @=)

    ISDATE()! DOH! I knew...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: assigning variables during query processing

    The only way I could see doing it is through iteration. Ie, the dreaded cursor or a While Loop.

    I've never seen anyone assign values to multiple variables in one statement,...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Another "ARGH": Embedded text qualifiers

    I think I just found an odd workaround to this problem.

    When I edit the FF connection, it says there are no columns defined. If I go into a copy of...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Boss wants me to avoid "Execute SQL" tasks

    If you're trying to avoid using the OLE DB Command in the Data Flow (which I recommend because it's RBAR), then you might try using a Derived Column transformation after...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Boss wants me to avoid "Execute SQL" tasks

    Frank raises several good points, especially about what a resource hog SSIS can be if it's on the same server as a DW or heavily used OLTP DB. Everything should...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Boss wants me to avoid "Execute SQL" tasks

    riga1966 (8/26/2008)


    Brandie,

    You wrote:

    On the other hand, there are other situations where you can't do what you need by using an Execute SQL Task. I always look at both situations first...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Boss wants me to avoid "Execute SQL" tasks

    No flames here. @=)

    I don't know how it works in 2008, but I have done tests in 2005 where an Execute SQL task has proved 5 times faster than doing...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: DT_DBTimeStamp woes with unchangible Source & Dest

    Michael,

    I understand that perfectly. But I don't know DTS very well, so trying to figure out what the package was actually doing was driving me batty.

    I just discovered my REAL...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Time Dimension

    This sounds like a database design issue, not an SSIS issue. If I'm wrong, please post more details, like the design of your tables & flat files and the...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Update command taking long time to execute

    The OLE DB Command in Data Flow works on a Row By Row basis. RBAR at its finest. @=)

    If you have something huge to update, you're better off trying to...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Control Flow Task (Urgent)

    I don't know about the second one, but I think you need to write some SQL code to "ping" the server or do a simple select statement on a small...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Boss wants me to avoid "Execute SQL" tasks

    I understand your boss's problem and here's the simple solution to maintain performance and to make him happy.

    Take all the code in those Execute SQL Tasks and make them stored...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Another "ARGH": Embedded text qualifiers

    Great. Yet another thing to delay the conversion of our "end of lease" box. Boss is going to love this one.

    I voted on the issue and commented. I guess I'd...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Create variables at package runtime

    I've looked around and can't seem to find anything about creating the variables at run time. I'm sorry. The closest I can come is Dynamic SQL which you could stick...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

Viewing 15 posts - 8,701 through 8,715 (of 9,715 total)