Forum Replies Created

Viewing 15 posts - 331 through 345 (of 712 total)

  • RE: SP - output confusion?

    No, for some empcode and date combination the output is right for some it is wrong.

    Regards
    Durai Nagarajan

  • RE: SP - output confusion?

    thanks, will check

    just a doubt this will have to slow down my query why my output has to vary?

    Regards
    Durai Nagarajan

  • RE: SP - output confusion?

    ALTER PROCEDURE SP_Name

    ( @empCode VARCHAR(10), @date DATETIME )

    with encryption

    AS

    BEGIN

    open symmetrickey code part

    SELECT dbo.Decrypt(EmpCode), dbo.Decrypt(EmpName),

    CASE LeaveType WHEN 'ON DUTY' THEN 'OD'

    WHEN 'Paternity' THEN 'CL'

    WHEN...

    Regards
    Durai Nagarajan

  • RE: SP - output confusion?

    Nolock is not used.

    we havent used inbuilt function also.

    there is date conversion and comparison between a table column and input parameters.

    i forgot to mention it is compared with a encypted...

    Regards
    Durai Nagarajan

  • RE: Clearing out msdb.dbo.sysmail_mailitems...

    try truncate table option after your necessary records backup

    Regards
    Durai Nagarajan

  • RE: Clearing out msdb.dbo.sysmail_mailitems...

    dhechle (11/8/2012)


    Durai, there are only 51 rows left in this table now.

    Can you post "Disk usage by top tables " top 5 tables complete data from the report.

    Try shrinking the...

    Regards
    Durai Nagarajan

  • RE: Clearing out msdb.dbo.sysmail_mailitems...

    dhechle (11/8/2012)


    Hi Markus,

    I have rebuilt all indexes on msdb database and still no change. symail_mailitems is still telling me it is the largest table at 6,439,200 KB the next...

    Regards
    Durai Nagarajan

  • RE: memory

    It is a 32 bit system, thanks for your input gail.

    Regards
    Durai Nagarajan

  • RE: Tempgb log - not able to shrink....none of the queries are helping

    yes, my miss.

    Regards
    Durai Nagarajan

  • RE: Get job list

    derek.colley (10/30/2012)


    PMed you with rough but tested script.

    why not put it on forum for others to see.

    Regards
    Durai Nagarajan

  • RE: Tempgb log - not able to shrink....none of the queries are helping

    sanket kokane (10/31/2012)


    you can restrict the tempdb log file size ,so that it will stop growing and log file will get reuse .

    and then you can try to shrink .

    also...

    Regards
    Durai Nagarajan

  • RE: Get job list

    check if this helps

    exec msdb.dbo.sp_help_job

    Regards
    Durai Nagarajan

  • RE: trigger

    if (contribuintes.NUMEROPOSTO) ='CENTRAL'

    try using inserted or deleted table within the trigger to populate the neccesary flow

    Regards
    Durai Nagarajan

  • RE: Get job list

    balasach82 (10/30/2012)


    In the meantime anyone out there who can help with the qury

    deifinetely but why dont you give a try and post what exactly are you expecting in terms of...

    Regards
    Durai Nagarajan

  • RE: How to find client componets installed or not sql2005 ??

    try running sqlwb.exe in run command or search in

    C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE

    if it is not available try installing client components from SQLserver instalation CD.

    Regards
    Durai Nagarajan

Viewing 15 posts - 331 through 345 (of 712 total)