Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 7,164 total)

  • RE: SQL Server Jobs, status, duration running, step

    Did you create the text file with a list of your instances?

    This is what you should see:

    Name: Job Name 1

    CurrentRunStatus: Idle

    CurrentRunStep: 0 (unknown)

    LastRunDate: 03/30/2013 18:53:11

    Name: Job Name n

    CurrentRunStatus: Idle

    CurrentRunStep: 0...

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

  • RE: Orphaned DB?

    Are you sure you're comparing to the correct instance?

    When I run this PoSh code:

    Add-PSSnapin SqlServerProviderSnapin100

    Add-PSSnapin SqlServerCmdletSnapin100

    Set-Location SQLSERVER:\SQL\orlando\sql2008r2$i = ls

    $i | %{$_.Databases}

    This is what is run on the instance when...

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

  • RE: SQL 2012 and Windows 8

    There was another thread with a similar problem that turned out to be a missing .NET Framework 4.0 install and the error message was less than helpful.

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

  • RE: Writing text files as Unicode

    Heh, no need to drink. At first, SSIS will make your head spin anyway 😀

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

  • RE: Writing text files as Unicode

    You're very welcome! I would be happy to assist with any SSIS questions you might have down the line too 😉

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

  • RE: Writing text files as Unicode

    SET @sql = 'EXEC master.sys.xp_cmdshell ' +

    '''COPY \\server\SurveyComputing\Sample\SentToSPSS\' + @data_file +

    '+\\server\SurveyComputing\Sample\SentToSPSS\' + @file_name +

    ' \\server\SurveyComputing\Sample\SentToSPSS\' +...

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

  • RE: Merge Statement One Server to another

    Even if MERGE supported such changes, chances are the source resultset from the MERGE would need to be completely copied to the remote server in order to facilitate. Consider creating...

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

  • RE: SQL server agent job fails

    This KB article covers a lot of the most common reasons for the problem you are describing. I pass it along quite often:

    SSIS package does not run when called from...

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

  • RE: WMI and moving files

    Sounds like you are OK with the File Watcher Task, it's a good tool, but I figured I would throw in another option that will help accomplish the same but...

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

  • RE: Writing text files as Unicode

    By default TYPE is not going to preserve Unicode data for you and I do not know of a way to setup the environment or call it where it will....

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

  • RE: sql server 2005 profiler

    I was hoping to see some Dynamic SQL or external calls to Linked Servers or something else that might help explain the difference, but no luck.

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

  • RE: Writing text files as Unicode

    Hmm, I tested my query on a 2005 instance and it worked fine:

    PS And to confirm, the file looks good:

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

  • RE: Writing text files as Unicode

    Hmmm, -w works for me. Please check the command line you are issuing to xp_cmdshell.

    You can try this simple command line as a proof-of-concept.

    bcp "select top 10 object_id, name...

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

  • RE: Writing text files as Unicode

    It saddens me a bit that the code is accessing the command prompt and the file system from within T-SQL, especially as part of an applicaiton design, but from your...

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

  • RE: sql server 2005 profiler

    What is the proc doing? Can you post the code?

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

Viewing 15 posts - 1,261 through 1,275 (of 7,164 total)