Forum Replies Created

Viewing 15 posts - 421 through 435 (of 2,900 total)

  • RE: Missing full backups in Backup History

    Why do you need the DB off line ?

    I was suggesting searching jobs and stored procedures for anything related to backup/restore history tables.

  • RE: recover the data from ldf

    John Mitchell-245523 (9/13/2016)


    I notice this is an old thread, but in case anyone reading it is in a similar position, the steps are much simpler than those recommended above:

    (1) Take...

  • RE: Missing full backups in Backup History

    Something deleting backup history for that backup ?

    For instance, if you drop a database through the GUI, there's a checkbox default to delete backup history. If someone scripted out the...

  • RE: MSSQL As Search Engine

    Thanks, we're currently running SQL 2005 & 2008 on our servers.

    Current licensing costs for SQL have not justified upgrading, since we have a fairly low volume, low traffic web application.

    You...

  • RE: Linked Server Update "Hung"

    Thanks. I think I will use this variant which worked:

    EXECUTE ('update P set P.Email1 = Email1 + ''XYZ''

    from MyDatabase.dbo.Profiles P

    JOIN MyDatabase.dbo.Complaints EC on EC.ID =...

  • RE: Linked Server Update "Hung"

    Pulling the whole table back must be the problem. Thanks.

    I think I knew that at one point 😉

    I was trying this:

    update LinkedServer.MyDatabase.dbo.Profiles

    set Email1 = 'XYZ'

    from LinkedServer.MyDatabase.dbo.Profiles P

    JOIN LinkedServer.MyDatabase.dbo.Complaints C on...

  • RE: SP w/ Dynamic SQL Works, Sometimes

    Luis Cazares (7/22/2016)


    Ahem...

    Luis Cazares (7/22/2016)


    Have you tried printing the statements before executing them? Maybe a null is giving you problems.

    Yes, I mentioned that running the exact code in a SQL...

  • RE: SP w/ Dynamic SQL Works, Sometimes

    Thanks for the replies. I know the SP is hitting the correct database, because it completes 1 of the inserts correctly, but just "stops" at the next one.

    All I can...

  • RE: SP w/ Dynamic SQL Works, Sometimes

    djj (7/21/2016)


    Should @SQL_CMD be NVARCHAR?

    I tried it, no improvement

  • RE: SP w/ Dynamic SQL Works, Sometimes

    djj (7/21/2016)


    Should @SQL_CMD be NVARCHAR?

    Do you think that would make a difference in my case ?

    All our similar SP code uses VARCHAR.

  • RE: SP w/ Dynamic SQL Works, Sometimes

    In case it helps, here the whole SP, with a comment where @SQL_CMD WORKS and @SQL_CMD DOES NOT WORK.

    Must be some dumb mistake somewhere.

    ALTER procedure dbo.usp_JobMatch_ListTransfer

    @Job_ID int...

  • RE: SP w/ Dynamic SQL Works, Sometimes

    What's the best way to trap for possible error on the dynamic INSERT statement ?

    An earlier dynamic INSERT to a different table in the same database does work, so it's...

  • RE: SP w/ Dynamic SQL Works, Sometimes

    All the "@SQL_CMD" are INSERT statements.

    The process is for a simple utility for users. They enter some parameters such as Job#, State, and search string. The Stored Procedure does...

  • RE: Find Min(), Max() value from a table

    Is there an index on date ?

  • RE: Reporting Services - Returning Results from Stored Procedure

    The stored procedure takes input parameters from a user,

    truncates a work table,

    runs 3-4 queries to re-populate the work table.

    Then I want to select 3 columns of data from that...

Viewing 15 posts - 421 through 435 (of 2,900 total)