Forum Replies Created

Viewing 15 posts - 4,531 through 4,545 (of 7,164 total)

  • RE: Abnormal SQL issue

    Brandie Tarvin (4/10/2012)


    Also make sure the sa account doesn't own the jobs in question.

    Why would it matter if sa owned jobs?

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

  • RE: Transaction Count after Execute error

    Tough spot. I was thinking of checking @@TRANCOUNT immediately after the call to said "inner proc" and then explicitly raising your own error if things were not as expected after...

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

  • RE: IsEnabled Property for JobServer.Jobs is always true

    Derek Gemmen (4/10/2012)


    Thank you for the reply. I went back and look to see if there was difference in our code... what I did discover is later in my...

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

  • RE: IsEnabled Property for JobServer.Jobs is always true

    Did you import the assembly? This works fine for me:

    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null

    $srv = New-Object Microsoft.SqlServer.Management.SMO.Server("N3011SIM")

    foreach ($job in $srv.Jobserver.Jobs)

    {

    $job.Name + " = " + $job.IsEnabled;

    }

    If this does...

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

  • RE: Data types overview

    Stairway to Data[/url]

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

  • RE: Give User Access to edit SQL Job

    You could add them to the msdb Database Role SQLAgentUserRole and them make them the job owner of any jobs you want them to be able to modify.

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

  • RE: Making a UDL mirror aware

    Andeavour (4/10/2012)


    Thanks to both of you. I've tried it using details from ConnectionStrings and with "Failover Partner", neither seemed to work.

    It looks like there's a SQL Server 2008 add on...

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

  • RE: server name after migration

    sqlfriends (4/10/2012)


    Thanks, but my question about this is not answered yet.

    So, what exactly the step you do for keeping the same name?

    By changing the server name, will that leave some...

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

  • RE: assigning variable to connection manager

    I recommend using SSIS Package Configurations. Here is a video demonstrating how to get started:

    SQL Share > SSIS Configurations

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

  • RE: SSIS skips random rows from an Excel file

    I'll start with the assumption that SSIS is not sending your rows into oblivion without being told to do so. To confirm, are you using the EXCEL connector built into...

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

  • RE: server name after migration

    sqlfriends (4/10/2012)


    That is what we do too. Use the new server name.

    So what is the better option ?

    You have been given many viable options, all worked for one or more...

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

  • RE: SQL Alerts

    I use Policy Based Management with a WMI query (ExecuteWql).

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

  • RE: Teach myself SSIS

    SSIS, being mostly visual in terms of the programming techniques, can sometimes be difficult to get started. This site has been a favorite of mine for a while, and I...

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

  • RE: for each loop container to loop through excel files

    The 1TB in 30 minutes example was leveraging parallelism within SSIS. If you're using a foreach loop then you're making SSIS single-threaded. Since you have a varying number of files...

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

  • RE: Shifting values to the left

    SQLKnowItAll (4/10/2012)


    The other option is to do this in separate queries starting with checking col 3 and moving data left. Then column 2.

    That's the ticket, but only one query...

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

Viewing 15 posts - 4,531 through 4,545 (of 7,164 total)