Forum Replies Created

Viewing 15 posts - 7,111 through 7,125 (of 7,164 total)

  • RE: Another Bulk Insert Question

    Are you asking about a scenario when moving data between two tables on different instances?

    I'll assume yes.

    BULK INSERT will not do this but OPENROWSET or OPENQUERY using a Linked Server...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Creating a job that monitors a nightly ETL process

    My first thought was to use the SSIS object model in C# to execute the package and then attach to events that would allow you to end a process early...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: DTS:Password" with error 0x8009000B

    What is the value of the package property "ProtectionLevel"? You can find this by right clicking some open area on the Control Flow design area and choosing properties.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SSIS package not working

    Chances are you're trying to read a Unicode file as ANSI or the end of line character in your file connection in SSIS (e.g. {CR}{LF} ) is different from the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Working with large de-normalized dataset

    Kevin Dahl (2/22/2011)


    I have actually tried doing the pivot and building the IN clause dynamically (using this approach http://www.simple-talk.com/community/blogs/andras/archive/2007/09/14/37265.aspx), but it turns out that the column names actually end up...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Working with large de-normalized dataset

    Lutz has a point...dynamically generating a crosstab query would require approximately the same level of effort from you and would almost certainly perform better than a PIVOT. My code example...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Stand alone SQL 2008/5 installs sharing SAN space.

    As with most things...it depends. Performance absolutely CAN be affected by sharing a SAN across multiple SQL instances. There are many different types of SANs...some allow you to isolate your...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Working with large de-normalized dataset

    Building a PIVOT query dynamically is a viable option. Using your DDL I created a simple PIVOT query:

    SELECT pvt.RecordID,

    pvt.Variable1,

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Server Name column in Multiserver Results

    Nope...the [Server Name] column appears to be appended by the IDE, not on the server-side.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Logging Raiserror log messages into a table

    You said are going to put all the proc executions into SQL Server Agent Jobs so I would recommend looking into the logging functionality available within SQL Server Agent. Within...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Why does it take longer to run a script through a linked server?

    There are ways to "tune" Linked Server queries by deciding between accessing remote data using either 4-part naming or OPENROWSET OPENQUERY. As Craig mentioned depending on how your query is...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Permissions needed for a application user to create a user login

    If SQL 2005 or above you should look at using EXECUTE AS. You can create a stored proc that can create logins as needed as if a sysadmin was doing...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Every 3rd Friday of the Month

    What does your requirement say if the day passed is between the third Saturday of the month and the last day of the month?

    Ooops, misread your comment "current day passed...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: BULK INSERT AND FILE ACCESS DENIED ISSUE

    See the section on Permissions in the BOL article for BULK INSERT:

    http://msdn.microsoft.com/en-us/library/ms188365.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Error Whilst Inserting Data Into XML Column Using SSIS

    Disclaimer: this is a workaround for a limitation in SSIS

    When you output XML to an OLE DB Source component it shows as a byte array which is difficult (maybe impossible,...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 7,111 through 7,125 (of 7,164 total)