Forum Replies Created

Viewing 15 posts - 23,716 through 23,730 (of 26,490 total)

  • RE: select sql query

    1) Read the article whose link is listed below in my signature block.

    2) Post everything the article tells you to post, CREATE TABLE statements for ALL TABLES/VIEWS involved(TESTED to be...

  • RE: CHECKDB and REINDEX

    Look up the following in Books Online. you will find an example there.

    sys.dm_db_index_physical_stats dynamic management function

  • RE: File System task to rename file

    Hard to say. I find debugging SSIS packages difficult based solely on a desription of what is going on. Is it possible to save the package to file...

  • RE: When to Upgrade to SQL2005

    The catch all phrase: It Depends.

    If the applications using the databases are 3rd party, you shuld base it on what they currently support. If they are in-house applications, would...

  • RE: Company Off source the whole DBA department to India!!!!

    There is also the time differential involved as well. Of course, if the Indian company is running 7 x 24, that won't be an issue.

  • RE: msdb is not backing up?

    And my suggestion still stands as well, change master.dbo.sysdatabases to sys.databases.

  • RE: select sql query

    Or is this what you are trying to write?

    select

    A.Account_number as 'PRF_CAN_ORDER_LEVEL'

    from

    dbo.AVW_11i_WA_BILLTO_Customers A

    UNION

    select

    A.Account_number as 'PRF_CAN_OVERRIDE'

    from

    ...

  • RE: Unable to do a restore of a differential backup

    Can you do the restores manually using the original backup files to see if they work?

  • RE: Adding sum and distinct to case query

    What you have posted is a mix of both possible solutions.

    I think most of us are in agreement that the following may be the best solution, but that we'd still...

  • RE: Adding sum and distinct to case query

    Try this:

    ;with Ages (

    acres,

    AgeClass

    ) as (

    select

    acres,

    case

    ...

  • RE: connect to Sftp using putty ssis

    Nope. That's why I said test it to be sure. The biggest thing is no surprises.

    Last time I looked at PuTTY was as a terminal emulator to connect...

  • RE: Unable to do a restore of a differential backup

    I notice that the restore code you posted doesn't have date stamps in the files name, but your backup code does.

  • RE: Unable to do a restore of a differential backup

    Greg Charles (11/17/2008)


    Try removing "WITH REPLACE" from the differential restore statement. I think you only need that on the full restore.

    Doesn't matter. If you use SSMS to script...

  • RE: Unable to do a restore of a differential backup

    jsheldon (11/17/2008)


    ALTER DATABASE DBSallc SET single_user WITH ROLLBACK IMMEDIATE

    RESTORE DATABASE DBSallc from disk =

    'E:\SQL Backup\Data\DBSallc.bak' WITH REPLACE,

    MOVE 'DBSallc_data' TO 'D:\Data\DBSallc.mdf',

    MOVE 'DBSallc_log' TO 'E:\DataLog\DBSallc.ldf',

    NORECOVERY

    RESTORE DATABASE DBSallc from disk =

    'E:\SQL Backup\Diff\DBSallc.bak' WITH...

  • RE: connect to Sftp using putty ssis

    I'd test it running from a job to be sure. The software we are using for SFTP worked fine in development and died when it was ran as a...

Viewing 15 posts - 23,716 through 23,730 (of 26,490 total)