Forum Replies Created

Viewing 15 posts - 406 through 420 (of 1,179 total)

  • RE: SQL 2005 Incremental Backup

    You need to restore FULL backup and latest DIFFERENTIAL backup. DIFFERENTIAL backup is cosolidated backup and capture all the pages changed since FULL backup.

    HTH

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Converting calendar date into fiscal year

    Here is the small code which will help you:

    DECLARE @d SMALLINT

    SELECT @d = (SELECT Datepart("yy", Getdate()))

    SELECT Concat(@d, '-', RIGHT(@d + 1, 2))

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Reg bedrents calculation in HIS stored procedure

    Instead of going through the many lines of code. You can achieve by using DATEADD function e.g.

    SELECT GETDATE() -- This will give current date

    SELECT DATEADD("HOUR", -6,GETDATE()) --This will reduce time...

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Job Schedule every 1.5hrs or 90 mins

    It will not take fraction i.e. 1.5 hrs, instead you need to select 90 minutes.

    HTH

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Mixed SQL Versions in Transactional Replication

    Again standby mode in Log shipping will not allow users to use database and max you can have read_only database that too SQL removes the connection while applying the logs.

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Copy database from one server to another

    Do not use linkedserver for copy database. It will be security threat as users having access to test can access data on prod. And what if they think deleting in...

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: How to kill running job?

    First try STOP JOB from JOB ACTIVITY MONITOR. Check the status of the job if it is rollback than wait else as a second option find session id and KILL...

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Mixed SQL Versions in Transactional Replication

    refer the following link for compatibility matrix along with other info, however this is for 2008:

    http://msdn.microsoft.com/en-us/library/ms143241(v=sql.105).aspx

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Database Backup

    What is the size of database? how long it will take to complete full backup? Is your server prod?

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: database priority

    In addtion to Gila, if set up incorrectly it may lead to performance issue on the server too.

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Index rebuild on partition and update statistics

    Pl. find the extract from BOL:

    "In SQL Server 2012, statistics are not created by scanning all the rows in the table when a partitioned index is created or rebuilt. Instead,...

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Can anything except [sp_send_dbmail] send emails out?

    Yes, you can use your e-mail address to test send the messages. There should not be any issue.

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: sql server 200 maintenance plans

    Yes, that is the tricky things in SQL Server 2000. While delete you need to put proper path and extention of file should be BAK not .BAK

    Try and update the...

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: Excessive amount of Virtual Log files?!

    What is the size of Data & Log file?

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • RE: missing .mdf and .ldf database file after hard drive crash

    Make sure installation files of SQL Server are not corrupt. Also best way is to restore from previous backup as mention by Gila.

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

Viewing 15 posts - 406 through 420 (of 1,179 total)