Forum Replies Created

Viewing 15 posts - 5,461 through 5,475 (of 6,394 total)

  • RE: Dead Lock Victim

    Which session is chosen as the deadlock victim depends on each session's deadlock priority:

    If both sessions have the same deadlock priority, the instance of SQL Server...

  • RE: SQL Instance on a VM Image

    it is possible, but would involve a lot of reconfiguring I would think unless you design your template to have multiple vmdk's as standard and when its deployed all the...

  • RE: How table look like 3 day ago...

    only way would be to restore the databases from 3 days ago unless you have some custom monitoring solution or script the database schema every day

  • RE: Backup to Network Share Folder

    CMDExec step NET USE Z: \\UNCPath\d$ /user:domain\user password

    T-SQL step BACKUP DATABASE TO DISK = 'Z:\database.bak'

    CMDExec step NET USE Z: /DELETE

  • RE: Backup to Network Share Folder

    it is,

    you will have to map the network share as a local drive using command prompt and net use with a user and password which has access then you can...

  • RE: Stored procedure taking more time than expected

    can you post the definition of the stored proc, the definitions of the tables and indexes used by the proc so that people can take a look at it and...

  • RE: Variable not getting reset inside the loop

    the variable lasts for the scope of the batch, so as this is one batch the variable is never reset, you would have to drop out of the loop and...

  • RE: looking to get first sql job

    i've moved into a new role around 6 weeks ago now which is in the education sector too providing educational resources to schools for use on our companies whiteboards, as...

  • RE: Simple Insert Stored procedure

    if you provide what you have so far then we will tell you where you are going wrong

  • RE: Today's Random Word!

    hackneyed

  • RE: SQL Server 2008 R2 Issue

    someone must have SA rights to the server who can see the error logs?

  • RE: ETL Tool

    why not use SSIS which is a part of SQL for your ETL

  • RE: Simple Insert Stored procedure

    you will want to take a look at the keywords, try, catch, xact_state, error_number, error_message and transaction which can be found in BOL and Google.

    do the insert inside the try...

  • RE: SQL Server 2008 R2 Issue

    can you view the sql error log as error 18456 has a number of states which determine that the actual cause is. SSMS will only usually show state 1...

  • RE: How can I simulate a deadlock ??

    stop what job? we haven't created any jobs?

    if you follow the steps

    create the tables in connection 1

    begin tran in connection 1

    update table1 in connection 1 --this one will complete

    begin...

Viewing 15 posts - 5,461 through 5,475 (of 6,394 total)