Forum Replies Created

Viewing 15 posts - 166 through 180 (of 536 total)

  • RE: Transfer Backup

    irena.bulatovic (10/28/2009)


    Animal Magic (10/28/2009)


    irena.bulatovic (10/28/2009)


    when you copy file you are accessing remote location with credentials you are logged in with and when you use cmdshell you are accessing remote location...

  • RE: need a stored procedure...............

    espanolanthony (10/28/2009)


    no that does not work

    what do you mean it doesnt work??

    i assume you replaced the MyTable with your tablename?

  • RE: Transfer Backup

    irena.bulatovic (10/28/2009)


    when you copy file you are accessing remote location with credentials you are logged in with and when you use cmdshell you are accessing remote location with account that...

  • RE: need a stored procedure...............

    umm thats fairly generic...

    create procedure USP_DeleteMyData

    @date datetime

    as

    Delete from MyTable where MyDate = @date

    go

  • RE: Transfer Backup

    access is denied to cmdshell or the drive location? are you still using the mapped drive or the UNC path?

    ps, note that xp_cmdshell will run under the sql server...

  • RE: Transfer Backup

    Nero-1119276 (10/28/2009)


    declare @logid as int

    declare @backup_file as varchar(200)

    declare @neerav as varchar(200)

    --Select media_set_id of last backup

    set @logid=(select max(media_set_id) from

    msdb..backupmediafamily

    where physical_device_name like

    'D:\Testdatabase%')

    --Select exact backup device name if you create...

  • RE: Transfer Backup

    try using the proper UNC path and not a mapped drive

  • RE: Transfer Backup

    ok, its not permissions then.

    paste your copy syntax here that your using

  • RE: Transfer Backup

    as mentioned earlier it will either be permissions or your UNC path is wrong. try typing your path into a start - run command and see if the...

  • RE: Interpreting high-read Perfmon results

    David Benoit (10/27/2009)


    GilaMonster (10/27/2009)


    David Benoit (10/27/2009)


    That appears to be a pretty high disk queue length to me. 🙂

    <shrug> Two points

    SQL is designed to drive the disk queue up. It's not...

  • RE: Interpreting high-read Perfmon results

    im just up to the point in the audio which talks about the average queue legnth 🙂

  • RE: Interpreting high-read Perfmon results

    whats your disk layout? The disk queue legnth may/may not be an issue depending on how many disks you have

  • RE: Transfer Backup

    mcvilbar (10/27/2009)


    You can xp_cmdshell for that in order to copy to another server in SQL. 🙂

    you can, however

    a) its a security risk and most systems have it disabled

    b)...

  • RE: Error SQL. Message: Violation of PRIMARY KEY constraint 'PK__XXXXX'. Can not insert a duplicate key in object 'dbo._xxxxxxxx.', Error code: 2627

    is there any code that sets identity_insert on and then specifies a key value?

    Do you have any replication running on the table?

  • RE: How to increase server memory limit >2GB?

    Eric1208 (10/27/2009)


    San-847017 (10/26/2009)


    Yeah...If it's 32 bit you will have to enable AWE option.

    In 64 bit it's not necessary.

    I enabled AWE option but still couldn't increase server memory.

    When you say you...

Viewing 15 posts - 166 through 180 (of 536 total)