Forum Replies Created

Viewing 15 posts - 106 through 120 (of 203 total)

  • RE: Update Statement Joins

    I have 200 records in my test database that did not meet the criteria. I changed one record to meet the criteria and executed the script. It updated all records.

  • RE: Update Statement Joins

    This updated all the records regardless of dates. What am I doing wrong?

    /code

    UPDATE CUST_LINE_DEL SET USER_ORDER_QTY = '9'

    FROM CUST_LINE_DEL

    JOIN CUST_ORDER_LINE ON CUST_LINE_DEL.CUST_ORDER_ID = CUST_ORDER_LINE.CUST_ORDER_ID

    JOIN CUSTOMER_ORDER ON CUST_ORDER_LINE.CUST_ORDER_ID =...

  • RE: Future Date

    Perfect! Thank you!

  • RE: SQL Server 2005 and Windows 7

    Yes. If I already have management studio open it will open fine. I can live with it but it did not happen on my XP or Vista machine. I also...

  • RE: SQL Server 2005 and Windows 7

    It will open fine if I open it via notepad or the management console. When I was running vista I was able to just double click the .sql and managment...

  • RE: Combining Update Statements

    Thank you very much. It is greatly appreciated. Learn something new each day!

  • RE: Script Help

    Thanks for the lesson. It is appreciated.

  • RE: Script Help

    Is what you did. Thanks a million for the help. It is greatly appreciated.

  • RE: Script Help

    That worked! How was it getting turned into an inner join?

  • RE: Script Help

    Tried flip flopping the tables but it still does not return any records. I believe it is due to the fact that I am testing for a program id of...

  • RE: Script Help

    Here is the script I built on your suggestion. It returns no records.

    SELECT DISTINCT NAME

    FROM APPLICATION_USER

    LEFT JOIN USER_PGM_AUTHORITY ON APPLICATION_USER.NAME = USER_PGM_AUTHORITY.USER_ID

    WHERE PERMISSION IS NULL AND PROGRAM_ID = 'VMINVENT'

  • RE: Script Help

    If a user has permission to a program there is not a null value. There is no placeholder whatsoever. So, I can not use "permission is null" in a script....

  • RE: An easy way to track the growth of your database

    How could we modify the code to include the growth of the log file?

  • RE: Log File Growth

    I can do that. Thanks for the feedback.

  • RE: Log File Growth

    Ok. The weekly maintenance job executed last night without a hitch. However, due to the rebuild on the indexes the log file grew 4G. The VLF's grew from 4 to...

Viewing 15 posts - 106 through 120 (of 203 total)