Forum Replies Created

Viewing 15 posts - 16 through 30 (of 33 total)

  • RE: Update Table Left Join Linkserver

    John Mitchell-245523 (11/17/2016)


    Is that first query the actual query you ran? I'm surprised you don't get an ambiguous column error for the m_id in your select list.

    John

    Dear John,

    Yes it...

  • RE: CREATE STORE PROCEDURE OPENQUERY

    Dear all,

    I made it like this :

    --CREATE PROCEDURE SP_TRUNC_INS_M_SUPP

    --AS

    declare @pre_var INT

    DECLARE @SSQL SQL_VARIANT

    DECLARE @SQL SQL_VARIANT

    ---TRUNCATE THE TABLE ( empty the data )

    IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE [NAME]...

  • RE: Create Sub Directory with Database name and .BAK

    your welcome and thanks for visiting

  • RE: Create Sub Directory with Database name and .BAK

    your welcome and thanks for visiting

  • RE: CPU Utilization by database/SQL Query.

    it comes with error:

    (3 row(s) affected)

    (26 row(s) affected)

    Msg 8134, Level 16, State 1, Line 59

    Divide by zero error encountered.

  • RE: Delete files that are older than 7 days

    Jeff Moden (11/2/2016)


    Deny Christian (11/1/2016)


    else,

    i used this syntax

    DECLARE @CMD sysname

    --create .bat:

    /*.bat:

    @echo off

    forfiles /p "d:\backup\bck_denyc\combine" /m *.bak /c "cmd /c del /Q @file" /d -30 --to delete 30 days back

    @echo...

  • RE: SSIS to Oracle

    FridayNightGiant (11/2/2016)


    You haven't provided enough information to help. How are you determining the number of rows in the oracle table? What process are you using to move rows. Does the...

  • RE: Delete files that are older than 7 days

    else,

    i used this syntax

    DECLARE @CMD sysname

    --create .bat:

    /*.bat:

    @echo off

    forfiles /p "d:\backup\bck_denyc\combine" /m *.bak /c "cmd /c del /Q @file" /d -30 --to delete 30 days back

    @echo off

    */

    --execute the .bat:

    exec @cmd...

  • RE: Ad hoc Backup Policy - prior to applying small changes

    Hi,

    I already made Policy about Backup and Restore Database. and it is very Detail, Including steps,guidance,and SOP. All with the screen capture and insert it as attachment at the policy.

    Now...

  • RE: backup plan

    Grant Fritchey (10/20/2016)


    Sorry, I don't see anything. What are you attempting to do? Describe your backup plan and how it meets your Recovery Point Objective and Recovery Time Objective worked...

  • RE: backup plan

  • RE: Restore database

    Grant Fritchey (10/19/2016)


    Jeff Moden (10/19/2016)


    Deny Christian (10/18/2016)


    Jeff Moden (10/18/2016)


    Deny Christian (10/18/2016)


    I still confuse about Restoring:

    Specify the source and location of backup sets to restore:

    from database

    from device

    what's the different ?

    FROM DATABASE...

  • RE: Restore database

    Jeff Moden (10/19/2016)


    Deny Christian (10/18/2016)


    Jeff Moden (10/18/2016)


    Deny Christian (10/18/2016)


    I still confuse about Restoring:

    Specify the source and location of backup sets to restore:

    from database

    from device

    what's the different ?

    FROM DATABASE is typically...

  • RE: Restore database

    Jeff Moden (10/18/2016)


    Deny Christian (10/18/2016)


    I still confuse about Restoring:

    Specify the source and location of backup sets to restore:

    from database

    from device

    what's the different ?

    FROM DATABASE is typically used only when you...

  • RE: Restore database

    I still confuse about Restoring:

    Specify the source and location of backup sets to restore:

    from database

    from device

    what's the different ?

Viewing 15 posts - 16 through 30 (of 33 total)