Forum Replies Created

Viewing 15 posts - 331 through 345 (of 920 total)

  • RE: BCP Error

    It's more likely to be a permissions issue. The service account that SQL Server is running under has to have permissions to read the file. Find out from...


    And then again, I might be wrong ...
    David Webb

  • RE: BCP Error

    How about:

    bcp Testdb2.dbo.Activity in "C:\Documents and Settings\..\..\\Activity.xls" -c -t, -S Servername -T


    And then again, I might be wrong ...
    David Webb

  • RE: repair index

    If I recall correctly, index 0 is the heap in a table with no clustered index. So it looks like the data pages are messed up. Still, getting...


    And then again, I might be wrong ...
    David Webb

  • RE: repair index

    I'm not sure this is fixable. Do you have a good backup? Can you BCP the data out (I'm guessing not)?


    And then again, I might be wrong ...
    David Webb

  • RE: Delete statement

    how about:

    delete sop10200 where sopnumbe = 'XXX1234' and (dex_row_id >= 001

    ...


    And then again, I might be wrong ...
    David Webb

  • RE: repair index

    What,exactly, are you trying to repair? Did DBCC return an error on an index? If so, could you please post the error returned. That will help the...


    And then again, I might be wrong ...
    David Webb

  • RE: Seeing a Msg 208, Level 16 - Invalid object name

    Is there a trigger on the table? Posting the table DLL and the code you were running might help.


    And then again, I might be wrong ...
    David Webb

  • RE: What are the questions should ask to the customer about the existing database?

    Merge as in "Structures are the same and the data needs to be combined" or "structures are different and objects need to all be in a common database"?

    If the former,...


    And then again, I might be wrong ...
    David Webb

  • RE: Answers to these questions

    Thanks, Gail. I learn something new every time I visit.


    And then again, I might be wrong ...
    David Webb

  • RE: Answers to these questions

    And sometimes, it depends...

    For #1 (where is are the latest database changes recorded and what would you do to preserve that particular piece of disk?)

    For #2, it depends. The...


    And then again, I might be wrong ...
    David Webb

  • RE: Is Empowerment Good?

    Invention can be the Mother of Necessity. Someone invented a plug-n electric car. Now we need charging stations all over the country. Someone invented shared networks, and...


    And then again, I might be wrong ...
    David Webb

  • RE: Bulk Export Best Practices

    Do you build the BCP command line in sql, or are all the values always the same. If they remain constant, then invoking bcp from a step in a...


    And then again, I might be wrong ...
    David Webb

  • RE: Bulk Export Best Practices

    What's the reason this needs to be xp_cmdshell rather than just an invocation of BCP from the sql agent job via command line? If there is work to be...


    And then again, I might be wrong ...
    David Webb

  • RE: Backup of a SQL Server

    If the SQL Server is running, those files will probably be useless in a restore. You can back up SQL Server files when the server is not running, but...


    And then again, I might be wrong ...
    David Webb

  • RE: Backup of a SQL Server

    Doing O/S type backups of database files while SQL Server is running will not work. If you want to use Netbackup to back up your SQL Servers, you need...


    And then again, I might be wrong ...
    David Webb

Viewing 15 posts - 331 through 345 (of 920 total)