Forum Replies Created

Viewing 15 posts - 3,961 through 3,975 (of 5,685 total)

  • RE: Accessing the Variables collection in SSIS (2k5)

    niall.baird (2/17/2011)


    Imports System

    Imports System.Collections.Generic

    Imports System.Text

    Imports Microsoft.SqlServer.Dts.Runtime

    Public Class ScriptMain

    Public Sub Main()

    Dim app As Application = New Application()

    ...

  • RE: Select records form lasthour

    Jole84 (2/17/2011)


    Craig Farrell (2/17/2011)


    Weeks work by weeknumber based off the calendar days, it's not a straight 14 day count. Instead of wk, -2, try using dd, -14.

    Yes, I try...

  • RE: Finding sets of records

    tacy.highland (2/17/2011)


    (what/where does #MyTable come from?)

    Look back at Greg's post, it's a temp table that's built previous to this process.

    Anyone else out there have any ideas of how to solve...

  • RE: SSIS failed when scheduled.

    striker-baba (2/17/2011)


    My ssis package connects to ftp and get the files and loads in to a table.

    I am using a sql login to execute this package.

    When I run this package,...

  • RE: Are the posted questions getting worse?

    GSquared (2/17/2011)


    LutzM (2/17/2011)


    GSquared (2/17/2011)


    ...

    Yes, at camelsexchange.com. :w00t:

    Must be a pain for the camel. (They still use bricks for it, right?) :pinch::crying:

    Sledgehammers. Or dynamite if you're in a hurry.

    Isn't the...

  • RE: Select records form lasthour

    Jole84 (2/17/2011)


    Thank you Craig, it works when i use:

    select * from #cdata where cDate >= DATEADD( hour, -1, getdate())

    ...

  • RE: Moving Data with possible changes from Different Locations

    ehlinger (2/17/2011)


    Got the CHECKSUM issue taken care of and it appears to be working correctly now. I will probably try and use that to indicate if data needs to...

  • RE: How to split/extrapolate single records by date range into multiple records

    thepotplants (2/17/2011)


    Wow, that is fantastic.

    Thank you very much Craig.

    My pleasure.

    Understood... This is for a one off (until next time 😉 ) analysis exercise, in a safe environment. Performance...

  • RE: Are the posted questions getting worse?

    GSquared (2/17/2011)


    Alvin Ramard (2/17/2011)


    They exchange camels too??

    Yes, at camelsexchange.com. :w00t:

    Daddy, why's that boy camel wearing pink? Don't worry, son, he's just confused. There's a website for that.

  • RE: Moving Data with possible changes from Different Locations

    ehlinger (2/17/2011)


    We have been told by the vendor of the software that runs on the databse that they don't support rowversion. Evidently they have a number of procedures in...

  • RE: Are the posted questions getting worse?

    GSquared (2/17/2011)


    CirquedeSQLeil (2/17/2011)


    Stefan Krzywicki (2/17/2011)


    Jack Corbett (2/17/2011)


    george sibbald (2/17/2011)


    Koen Verbeeck (2/16/2011)


    Jeff Moden (2/16/2011)


    CirquedeSQLeil (2/16/2011)


    For the execution of Wayne:

    --get spid of code requestor

    sp_whorequestedcodeIntheThread 'Wayne'

    --use returned spids to verify the...

  • RE: Moving Data with possible changes from Different Locations

    Another method of doing delta checks, which I've been investigating recently, is a computed checksum() by primary key check to determine delta, and then doing a comparison between the target...

  • RE: Can I tune this?

    Brandie Tarvin (2/17/2011)


    What is the effect of building a non-clustered index over a clustered index?

    The table already uses CoverageKey and Effective (both ASC) as it's clustered index. Include only works...

  • RE: Nonclustered Versus Unique NonClustered

    GilaMonster (2/17/2011)


    Craig Farrell (2/17/2011)


    Isn't the RID and the "uniquifier" pretty much equivalent from an overhead standpoint, being a 4 byte identifier?

    No. To start with, the RID's not 4 bytes.

    The RID...

  • RE: Nonclustered Versus Unique NonClustered

    GilaMonster (2/17/2011)


    Wildcat (2/17/2011)


    (if the clustered index is not unique, it must have the RID attached for the uniqueness).

    Nope. The only time the RID is used in a nonclustered index...

Viewing 15 posts - 3,961 through 3,975 (of 5,685 total)