Forum Replies Created

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

  • RE: Once in 15 days i need to move the entire data from DB_live to DB_Archive using SQL Server 2005

    I think the best way to do this job is to set up the Log Shipping.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Making a database Restore in Sql 2005

    You can use this proc to restore your database...

    ------------------------------------------------------

    EXEC master.dbo.xp_restore_database

    @database= 'Pubs'--Database Name

    ,@filename= 'C:\Pubs.bak' -- Backup File path

    ,@filenumber=1

    ,@WITH='REPLACE'

    ,@WITH='RECOVERY'

    ,@WITH = 'MOVE "Pubs_Data" TO "C:\Data\Pubs_Data.mdf"'

    ,@WITH = 'MOVE "Pubs_Log" TO "C:\Data\Pubs_Log.ldf"'

    ,@servername...

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Sql Mail Problem

    Can you please write the error number and the full message.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Please help me in getting the details of Indexes

    Or use this for fragmentation

    USE MASTER

    GO

    SET QUOTED_IDENTIFIER OFF SET ANSI_NULLS ON

    GO

    CREATE PROCEDURE sp_DBA_DBCCShowFragAll

    AS

    BEGIN

    DECLARE UserTables INSENSITIVE CURSOR

    FOR

    ...

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Please help me in getting the details of Indexes

    Use this to view fragmentation in percent

    SELECT

    OBJECT_NAME(object_id) AS 'Object Name'

    ,index_id

    ,index_type_desc

    ,avg_fragmentation_in_percent

    FROM

    sys.dm_db_index_physical_stats (DB_ID(),NULL, NULL, NULL, 'LIMITED')

    WHERE

    avg_fragmentation_in_percent > 30

    ORDER BY

    OBJECT_NAME(object_id)

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: SQL Server 2005 not allowing connection from windows service

    Now my next question is what PORT you are using to connect to the database. I mean what port your SQL Server service is using. Check if you can telnet...

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: How do i create an instance of sql server 2005 enterprise edition in windows vista

    SQL Server Enterprise edition can only be installed on the following Server OS:

    Windows Server 2000 with SP4

    Windows Advanced Server 2000 with SP4

    Windows Datacenter Server 2000 with SP4

    Windows Server 2003with...

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Trigger

    CREATE TRIGGER EmplDeleteTrigger

    ON Empl

    AFTER DELETE

    AS

    BEGIN

    INSERT INTO EmpDup (@EmpID, @Name, @Salary )

    END

    GO

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: SQL Server 2005 not allowing connection from windows service

    Can you please tell what account the service is running under. If it is running under different account then check if that account has permission on the database server.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Hi to all

    Schema are logical container to store database objects and are used for security purposes for example let assume I have 10 tables in my database that needs to be viewed...

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Database Snapshots

    If you have read the introduction it cleary states that it is the Enterprise only edition. Please read carefully before you comment on any thing.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: database mirroring

    I looks that this post text is just a copy/paste from some book chapter which is the voilation of copyrights can you please tell what actually is not working.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: deadlock

    You dont need to kill the process because SQL Server automatically kills the process that is creating that deadlock by using its internal deadlock manager.

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Transfer of SQL tables

    The best way to do that task is to use Import/Export wizard....

    Follow these steps.

    1) Right Click the database from which you want to transfer the data.

    2) Choose Export from the...

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

  • RE: Deleting BUILTIN\Administrators

    Before deleting the builtin administrator account make sure you have another account that has administrator rights. Also make sure your SQL Server or SQL Agent services are not runnig under...

    Basit Ali Farooq
    MCITP Database Administrator
    Microsoft Certified Professional Developer (Web Applications)
    Microsoft Certified Database Administrator
    Microsoft Certified Systems Engineer
    Microsoft Certified Systems Administrator
    CIW Security Analyst
    Cisco Certified Network Associate

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