Forum Replies Created

Viewing 15 posts - 3,196 through 3,210 (of 9,715 total)

  • RE: .NET SSIS Script Task issue

    Brandie Tarvin (4/25/2014)


    Trying Cadavre's script I get the following error:

    A WebException has been caught.System.UriFormatException: Invalid URI: The URI scheme is not valid.

    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind...

    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: Object already exists, but can't drop it!

    ty 54262 (4/28/2014)


    this command with the repair switch and then the repair allow data loss worked perfectly.

    Ouch. You should be leery of ever using the "allow data loss" switch with...

    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: Calculate average through recursive CTE

    Jeff Moden (4/25/2014)


    Brandie Tarvin (4/25/2014)


    --You only need one DECLARE statement

    -- and you can assign the values within that statement too.

    [font="Arial Black"]-- Saves on typing[/font]

    "Sure you are? Dark Side...

    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: Help, Copying table data with Store Proc

    RazorbackDBA (4/25/2014)


    After thinking about your question, I would need to caputure both new records and any updated records. There is a lastmodified column in the tables I need to copy,...

    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: Help, Copying table data with Store Proc

    homebrew01 (4/25/2014)


    Wouldn't the LEFT OUTER JOIN only work for new records, not changed records ?

    Depends on what WHERE clause filters you use. I've done it before where I join on...

    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: Transaction replication lock issue

    Troubleshooting I/O issues depends on the DBA. Everyone does the same set of checks, but different people do it in different orders. Me, I prefer to verify SQL Server 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: .NET SSIS Script Task issue

    Trying Cadavre's script I get the following error:

    A WebException has been caught.System.UriFormatException: Invalid URI: The URI scheme is not valid.

    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)

    ...

    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: .NET SSIS Script Task issue

    Ville-Pekka Vahteala (4/25/2014)


    Brandie Tarvin (4/25/2014)


    The misconception would be mine, then. This is sample code supplied to me by the vendor receiving the file. It seems pretty generic and the person...

    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: .NET SSIS Script Task issue

    Cadavre (4/25/2014)


    I didn't refresh the page before I posted, so didn't spot that David Burrows had already answered. The majority of the changes I've made are formatting so that I...

    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: Calculate average through recursive CTE

    If you throw a DISTINCT into the code I provided, it solves your problem.

    But as Lynn said, we can't provide you with a definite answer without some DDL, sample data,...

    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: .NET SSIS Script Task issue

    The misconception would be mine, then. This is sample code supplied to me by the vendor receiving the file. It seems pretty generic and the person who gave it 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: Calculate average through recursive CTE

    Then what are you averaging by?

    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: .NET SSIS Script Task issue

    As far as I can tell, it's reading in chunks because that's how it transmits. It's part of the multiform / data-part thing. But again, I got this code from...

    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: Are the posted questions getting worse?

    I just posted an issue with a VB Script Task (SSIS) and would appreciate the thoughts of anyone with experience.

    My in-house Dev is telling me I can't do this...

    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: Non Existent Logfile showing in Database Properties

    Nevermind. I finally got my google-fu working (needed to look for "orphaned file", not "phantom file"). The solution is here: http://connect.microsoft.com/SQLServer/feedback/details/482820/orphaned-log-file-can-not-delete-log-file-sysfiles1-duplicate-namesnd%20259164%20(Denali)

    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 - 3,196 through 3,210 (of 9,715 total)