Forum Replies Created

Viewing 15 posts - 7,276 through 7,290 (of 9,643 total)

  • RE: Data Corruption due to concurent request

    Your transaction should be essentially instantaneous so the likely hood of an error is minimal unless you are doing thousands of transactions per second. To specifically answer your questions:

    1....

  • RE: last login from users

    I think this query returns what you want:

    [font="Courier New"]SELECT

       MEMBER.MEM_CONTACT,

       MEMBER.MEM_COMPANY,

       MEMBER.MEM_EMAIL,

       MEMBER.MEM_TIMESTAMP AS 'DATE REGISTERED',

       MAX(MEMBERLOGIN.MLO_TIMESTAMP) AS LAST_LOGIN_DATE

    FROM

       *****.DBO.MEMBER MEMBER JOIN

       *****.DBO.WEBCOUNTRY WEBCOUNTRY ON

           MEMBER.MEM_WCT_WEBCOUNTRYID = WEBCOUNTRY.WCT_WEBCOUNTRYID LEFT...

  • RE: Limit on number of WHEN statements in CASE clause of SQL2005

    Adding conditions to a WHERE clause can help or hinder performance. It all depends on indexing and selectivity. If you are using indexed columns then performance should be...

  • RE: Cannot access 1 database

    How are you backing up this database? Are you using Native SQL backups or a third party tool? Have you checked the locked files MMC snap-in to see...

  • RE: :w00t:SSRS HELP PLEASE!!!

    I'm not sure you can do what you are asking. It would be easier to help if you included more information in your post. Is the balance column...

  • RE: Limit on number of WHEN statements in CASE clause of SQL2005

    I'm not aware of any limit other than readability and practicality. I think the most I have had is 4 or 5 and, IMHO, once you start getting beyond...

  • RE: best backup Strategy

    Better to backup too much than not enough.

  • RE: matrix subtotal issue

    Been there, done that, and got the t-shirt.

  • RE: best backup Strategy

    susan smith (10/8/2008)


    Hi, I am new for database backup. our existing backup plan is full DB and transaction log backup every night. The DB backup is immediately after transaction log...

  • RE: Re: EXCEPT vs. NOT EXISTS

    jlp3630 (10/8/2008)


    Are there any performance differences between EXCEPT and NOT EXISTS?

    Currently, I'm using the following "simplified" query (omitting a bunch of joins):

    DECLARE @data_date DATETIME;

    DECLARE @compare_date DATETIME;

    SET @compare_date = DATEADD(week, -2,...

  • RE: Email not firing

    Not being a Service Broker expert I can't give you a solution, but the Queue's used by Database Mail are not started so Database Mail doesn't send the emails. ...

  • RE: Re: EXCEPT vs. NOT EXISTS

    The best way to find out is to test it. Write the query using both methods and check the execution plan and execution statistics.

    These following queries all return the...

  • RE: transaction logs getting full with large tables during query

    In a situation like this I would batch the process. Do you have a unique id you can use as part of the process? Something like PK_Table_1 and...

  • RE: Capturing system setting change events

    Start by checking who is in the sysadmin and serveradmin roles as you need to be one of those to make that change. You could also change the sa...

  • RE: UNIQUE Constraint and Clustered Index

    Also keep in mind that if your composite clustered index is not monotonically increasing then when you have changes you will more quickly introduce fragmentation of the index/table.

Viewing 15 posts - 7,276 through 7,290 (of 9,643 total)