Forum Replies Created

Viewing 15 posts - 1 through 15 (of 53 total)

  • RE: Performance issues with SP

    Recompile is not creating new execution plan also its not solving the issues.Only after I run update stats,execution time comes back to normal.

    Thanks,
    SR

  • RE: Performance issues with SP

    Thanks for such a quick response.I don't see any locking or blocking during the issue.I also compared execution plan both before and after and its looks exactly same.

    Thanks,
    SR

  • RE: Deadlock issue

    Thanks for quick response Kevin.Nolock is not an option for us as its not acceptable from business perspective.

    Thanks,
    SR

  • RE: Width of column

    Thanks John.

    SR

    Thanks,
    SR

  • RE: script to create a job

    You can use following stored procedure.You can refer books online for more information.

    sp_add_job [ @job_name = ] 'job_name'

        [ , [ @enabled = ] enabled ]

        [ , [ @description...

    Thanks,
    SR

  • RE: SET IDENTITY_INSERT dbo.tablename ON is not working

    Try something like this and let me know if it works.

    USE MyDB

    GO

    SET IDENTITY_INSERT PrivateDocuments ON

    GO

    Insert into PrivateDocuments(columna,columnb)

    Thanks,
    SR

  • RE: XP_FileExists

    Try this.

    SET NOCOUNT ON

    DECLARE @iFileExists INT

    create table #table (File_exists int, File_directory int,parent_dir int)

    insert into #table EXEC master..xp_fileexist 'D:\test.txt'

    select @iFileExists=File_exists from #table

    PRINT @iFileExists

    drop table #table

    Thanks,

    SR

     

     

    Thanks,
    SR

  • RE: Multiple subscribers in replication

    Thanks for response Bulent.

    Even I taught so but one of my peer argues that it will improve performance if we have 2 subscribers on same server on same database and...

    Thanks,
    SR

  • RE: Problem with UDF(urgent)

    Log file looks good Bose.

     

    Thanks,

    SR

    Thanks,
    SR

  • RE: Problem with UDF(urgent)

    Thanks Andrew.I will check it in sqlteam.com.

    I turned on trace but I didn't find anything unusual.

     

    Thanks,

    SR

    Thanks,
    SR

  • RE: Problem with UDF(urgent)

    Hi Andrew,

    Is Parameter sniffing is applicable for functions also?

    Thanks,

    Sree

     

     

    Thanks,
    SR

  • RE: Problem with UDF(urgent)

    Thanks for your response Murphy.Its not a stored procedure its a user defined function.I have seen the excution plan.Its almost same in both QA and Prod server.

    I will look into Parameter...

    Thanks,
    SR

  • RE: Non-logged transactions in database-mirroring.

    Thanks for nice explanation Gail.

     

    Thanks,

    Sree

    Thanks,
    SR

  • RE: Accessing MSSQL from PERL

    Thanks Aaron.

     

     

    Thanks,
    SR

  • RE: Non-logged transactions in database-mirroring.

    Thanks for response Gail.How about if I do truncate table which is a non-logged transaction?

    Thanks,

    SR

     

     

    Thanks,
    SR

Viewing 15 posts - 1 through 15 (of 53 total)