Forum Replies Created

Viewing 15 posts - 301 through 315 (of 544 total)

  • RE: Is Cursor Really Not Good?

    Sean Lange (4/23/2012)


    Charmer you posted 2 of the 3 requested items and that one is only partially complete. You posted ddl for 4 tables but there is no data for...

  • RE: Trim in SSIS

    herladygeekedness (4/23/2012)


    Whew, thanks for reporting back! wasn't certain that Google's newest privacy policy would let you back out!! :hehe:

    Seriously, tho, I have a string-compare issue myself now also...

  • RE: Is Cursor Really Not Good?

    GSquared (4/23/2012)


    If you:

    A) Describe what the cursor is doing

    B) Provide the table definitions (Create Table scripts)

    C) Provide sample data (a dozen or so Insert statements)

    then we can probably (almost certainly)...

  • RE: Is Cursor Really Not Good?

    GSquared (4/23/2012)


    If you:

    A) Describe what the cursor is doing

    B) Provide the table definitions (Create Table scripts)

    C) Provide sample data (a dozen or so Insert statements)

    then we can probably (almost certainly)...

  • RE: Is Cursor Really Not Good?

    Eugene Elutin (4/23/2012)


    Cursors are not Really Good or Really Bad!

    They designed and should be used for relevant tasks.

    However your example is not one of them...

    My cursor is taking 1...

  • RE: Trim in SSIS

    herladygeekedness (4/20/2012)


    He's not returned. You don't suppose that a Google search DID kill him? Yikes. Bring back AltaVista, it never killed anyone!

    I am back..:-)

  • RE: Trim in SSIS

    Yeah, i get the same result with trim and without trim...

    but some times i see the columns have spaces in front of the values.....in this case i hope i need...

  • RE: Trim in SSIS

    I'm not really sure. Maybe the function prevents the optimizer from using indexes (as it does if you are not using SARGs in the WHERE clause). The default setting of...

  • RE: Trim in SSIS

    Koen Verbeeck (4/19/2012)


    sam.dahl (4/19/2012)


    hmm, maybe I was encountering tab characters. If the SQL trim removes tabs that would be consistent with what I saw.

    The problem is that MSDN is not...

  • RE: Conversion failed when converting the varchar value to data type int

    Koen Verbeeck (4/10/2012)


    Charmer (4/6/2012)


    Find where it tries to convert varchar into int data type with the help of break point....

    You cannot debug a script component using breakpoints, unless SSIS 2012...

  • RE: Conversion failed when converting the varchar value to data type int

    rockstar283 (4/2/2012)


    Hello..I am using a Script component as a source in my DFT..Component contains the following code

    public override void CreateNewOutputRows()

    {

    ...

  • RE: table with DateTime?

    Lowell (3/30/2012)


    Charmer (3/30/2012)


    Lowell (3/30/2012)


    how about a view, so you have the date? is that what you want?

    Create view TableToday

    AS

    select

    DATEADD(dd, DATEDIFF(dd,0,getdate()), 0) As TheDate,

    GETDATE() as TheDateTime,

    edit: misread the question...thought you...

  • RE: table with DateTime?

    Lowell (3/30/2012)


    how about a view, so you have the date? is that what you want?

    Create view TableToday

    AS

    select

    DATEADD(dd, DATEDIFF(dd,0,getdate()), 0) As TheDate,

    GETDATE() as TheDateTime,

    edit: misread the question...thought you wanted a...

  • RE: table with DateTime?

    PaulB-TheOneAndOnly (3/30/2012)


    Yes. Try dynamic sql.

    Gimme an example Please...

  • RE: How to reduce the execution time of a query?

    Sean Lange (3/28/2012)


    At the very least you need define primary keys for every table. Without some way to identify a row you fighting a war you can't win.

    Then you should...

Viewing 15 posts - 301 through 315 (of 544 total)