Forum Replies Created

Viewing 15 posts - 31 through 45 (of 109 total)

  • RE: UPDATE ERROR ON TABLE WITH NEW COLUMN

    i did a testing, the script should work fine. So it may related with your table configuration, can you post your really error message?

    create table autoorders

    (

    [AccountNo] varchar(10),

    [SerialNo]...

  • RE: DTS Package Maintance Plan...

    clieck the job and view history, then post this info here.

  • RE: how to avoid null or ' ' value in a select query and replace that value as 0 in a select query not in the table?

    how about this?

    declare @test1 table(

    id int,

    val varchar(20),

    ser int,

    sa int

    )

    insert into @test1

    select 1,'rer',1,Null union all

    select 2,'rer1',Null,Null union all

    select 3,'',Null,Null

    select * from @test1

    --select ID,val,ISNULL(ser,0) AS ser,ISNULL(sa,0)...

  • RE: mirroring Asynch suspended after i ran full backup

    Backup of the principal database is allowed,so backup should not be the problem. You need to check windows event log and sql server errorlog and see anymore error is logged.

  • July 24, 2012 at 11:07 pm

    #1517169

  • RE: Diverting clinet network traffic form primary server to secondary server in case of log shipping

    Suppose you use webserver connecting to DB Server.

    Then you could create alias on Webserver and using it in DB connection string(SQL Server Configuration Manager->SQL Native Client->Aliases).

    After the primary...

  • July 24, 2012 at 10:41 pm

    #1517163

  • RE: Audit Logging Batch Numbers

    You can Configuring SSIS Logging and keep these information in sysssislog table. Then query this table when you run report.

    sysssislog could show following information:id , event , computer ,...

  • July 24, 2012 at 9:55 pm

    #1517156

  • RE: linked server error

    Do you have permission to access table on link2mas90?

  • July 24, 2012 at 3:25 am

    #1516676

  • RE: sync between a view and other concrete table.

    try sp_refreshview after you update table schema. In addtion, you could use SCHEMABINDING when you create the view. Binds the view to the schema of the underlying table or...

  • July 24, 2012 at 3:20 am

    #1516675

  • RE: SQL Server 2008R2 Auditing or monitoring to track DBA activity on server

    you can try Database Audit Specification and Server Audit Specification.

  • July 24, 2012 at 3:16 am

    #1516669

  • RE: CPU utilization is 100%

    Have you checked the excution plan for that particular SPID you just killed? I have the same problem before and it caused by index missing. After i add the index...

  • July 24, 2012 at 3:11 am

    #1516665

  • RE: Reorganize Index getting Failed

    It seems the trigger failed to complete becuase of permission issue. By the way, do you have permission to alter index?

  • July 24, 2012 at 3:07 am

    #1516661

  • RE: moving logings from sql server 2008 to 2008

    The stored procedure sp_help_revlogin could do this, refer to following article:

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

  • July 24, 2012 at 3:03 am

    #1516659

  • RE: Views and Dependencies

    Thank you for posting the article.I have encountered a problem before. Changed the base table column data type, but the view didn't changed accordingly. So need to manually refresh the...

  • July 10, 2012 at 7:15 pm

    #1511303

  • RE: log file shrinking..

    Is it the log file large or data file large? If log file large and you want to shrink the file, you could modify to simple recovery mode.

  • July 5, 2012 at 3:00 am

    #1508989

  • RE: Query Plan Weirdness

    You may need to clear the buffer cache and let it re-generate excution plan. Or you could try query hint.

  • July 5, 2012 at 2:53 am

    #1508986

    Viewing 15 posts - 31 through 45 (of 109 total)