Forum Replies Created

Viewing 15 posts - 1,591 through 1,605 (of 7,429 total)

  • RE: cursors

    Just an FYI on adding the where clause for pay_week. Do it in both of the subqueries as well as the outside part of the UPDATE for best performance.

    So something...

  • RE: Why is this happening?

    We found that putting the text and image stuff in it's own data file would correct this issue. I seem to remember and MS article on it somewhere but I...

  • RE: Why is this happening?

    On your maintainence plan what is the point at which a shrink will occurr in MBs. The index rebuild will leave a lot of free space many times, I am...

  • RE: Yes, No and I dont know

    Actually it can be a NULL. Consider with a char datatype object or any fixed length object. The length of the data is still stored even if the value is...

  • RE: DTS - Execute SQL Task

    You might consdier using a Data Driven Query task instead so you can use the lookup functionality or build the check and choice of Update/Insert into the SP.

  • RE: cursors

    I think this is the rough equalivilant to you cursor. I have not optimized too much so could be a better version of this that could be built. And it...

  • RE: cursors

    Frist let's verify what you're trying to do here. I made notes after the issues.

    declare @glov_id varchar(10)

    declare @ult_id varchar(10)

    declare @diff decimal(10,2)

    declare @pweek datetime

    declare @emp varchar(6)

    declare @Ttl_Hrs decimal(10,2)

    declare @Ttl_ProHrs decimal(10,2)

     

    DECLARE mod1...

  • RE: need help on Update PROCEDURE with CASE

    Sounds to me you just wants to validate the existance of data however I am not sure you want to do

    select * FROM dbo.main_yoel WHERE (NOT (mafname1 IN (0))

    for sure...

  • RE: About DTS

    Unfortunately you will need to restore to the point before you made the mistake from backup to another database then import the right data back in. Make sure you change...

  • RE: Question of the Day for 23 Aug 2004

    The wording left me with a question of what you are meaning. nytime autogrow occurrs it may not lock the process from occurring but it does have some effect on...

  • RE: Truncate vs delete

    "TRUNCATE TABLE removes all rows from a table, but the table structure and its columns, constraints, indexes and so on remain. The counter used by an identity for new rows...

  • RE: Proper order for Re-index and shrink jobs

    Reindexing will cause log file and databse growth while occurring. Do it first then DB and file shirink next.

  • RE: Full Text Searching

    Sorry I know of no tool that can do that kind of fuzzy logic. Might be a cool tool but you might be able to do in the background a...

  • RE: Is there any?

    There can be changes to the db strucutre without notice. This is why you have to backup are each SP ot Hotfix. Then when you restore you install SQL Server,...

  • RE: does auto update stats ?

    Create stats occurrs based on the significant number of times a column appears in submitted queries sorry don't have the threshold.

    Update stats is based on the number of data changes...

Viewing 15 posts - 1,591 through 1,605 (of 7,429 total)