Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 2,462 total)

  • RE: Reorganize Index Task

    Rob44 (3/8/2010)


    Let's suppose the command returns 0! What's the next step if the rebuild of the index in the maintenance plan is unsuccessful?

    We can give manual run to ALTER INDEX...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Delete data from large msdb database

    Very nice post

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Index size

    pshaship (3/9/2010)


    Declare @DBName varchar(50)

    Set @DBName = 'YOURDBNAME'

    Select Db_name(ps.database_id) as DBName,object_name(ps.object_id) as TableName,I.name as IndexName

    ,sum(isnull(ps.avg_record_size_in_bytes,0) * isnull(ps.record_count,0)) as IndexSizeBytes

    ...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Having total amount at every row level

    try this DECLARE @Ranges_1 TABLE (

    [ctr] int identity ,

    [Id] int NOT NULL,

    [varchar](3) NOT NULL,

    [dos] int NOT NULL,

    [paid] float NOT NULL

    )

    INSERT INTO @Ranges_1 VALUES (1, '123', '20', '10.75');

    INSERT INTO @Ranges_1...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Complicated Quey help

    Saravanan_tvr (3/10/2010)


    I tried here its working but takes too time...

    Select sum(stock1),

    (Select sum(stock2),item_no from table1

    where date = '2010-01-02' group by item_no) as [stock on hand],

    item_no...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: select all field except field wich have NULL value

    sinamora (3/9/2010)


    Day1 Day2 Day3 Day4 Day5

    12 3 ...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Post Server Reboot: SQL job fails to connect to database

    You should need to review the error log file...if any database in recovery mode then you might get this error. if you can post the error log file where you...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL QUERY TAKES more than 4 mnts....any help me plz..

    Post your table and index definition along with exec. plan

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL query to take DB back up

    Read below post

    http://technet.microsoft.com/en-us/library/ms191284.aspx

    And why we require to do it

    http://support.microsoft.com/kb/873235

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Post Server Reboot: SQL job fails to connect to database

    ajarman (3/8/2010)


    the job failed with 'unable to connect to SQL server...'.

    In the SQL error logfile I see:-

    Are other jobs running fine ?

    can u using the same (this job's)account for...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL Server Agent Job failing while scheduleing LInked server SP

    Thanks:-)

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL Server Agent Job failing while scheduleing LInked server SP

    arr.nagaraj (3/7/2010)


    As a quick fix, you can use the fourth option 'Be made using this security context' and provide a user id and password of a account in server2.

    can you...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: SQL Server Agent Job failing while scheduleing LInked server SP

    Run your job with the same accounts which is being used to run sql server agent.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: MS SQL 2008 backup over internet

    YOu should post Sql server 2008 related question on sql server 2008 tabs.this is for sql server 2005 😛

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Instance Failure Occur

    saranram_forum (5/11/2009)


    I got error "A critical error occurred:instance failure" while i entered next button.

    Which next button ? when u got this error ?

    what were you trying to do this...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 2,101 through 2,115 (of 2,462 total)