Forum Replies Created

Viewing 15 posts - 2,446 through 2,460 (of 3,659 total)

  • RE: TROUBLE WHERE RESTORING A DATABASE

    See BOL for sp_addlogin example E.

    Basically create you Informix login on your new box so that it is identical to the Informix login on your old box.

  • RE: Configuring Memory for SQL EE on Windows 2003 with 4GB

    I believe that there is a "Lock Pages In Memory" policy setting that needs to be applied to the service account. This is not enabled by default even for...

  • RE: Syncronising Dev DB with Live DB.

    Tulasoft SQL Examiner is a pretty good tool and it is relatively cheap.

    What I have seen of Apex tools impresses me, but be warned they are like drugs. ...

  • RE: 911: developers insist PK/FK constraints impede performance

    Cascading deletes are an absolute nightmare!

    Let us suppose you accidentally attempt to delete a parent object (shouldn't happen but we are talking about the real world here). DRI will...

  • RE: Restore database problem

    Has your database been backed up to append(rather than overwrite) the backup to a previous backup file?

  • RE: float data type in sql2005 and sql2000

    Float is an approximate datatype so you can get some unusual values for seemingly simple maths.

    Decimal and Numeric are precise values.

  • RE: Reset Identity PK field

    If you want to reset an identity range then

    DBCC CHECKIDENT('YourTable',RESEED,0)

    If you want to explicitly add a record that over rides the identity then

    SET IDENTITY_INSERT dbo.YourTable ON

    INSERT Yourtable(PKField,OtherFields) VALUES (0,Yourvalues)

    SET IDENTITY_INSERT...

  • RE: UDF - Executing dynamic sql

    If all you want is a rowcount and you are prepared to put up with an estimate then set up your function to pass in the name of your table...

  • RE: Can Enterprise Manager & SQL Server 2005 Management Studio coexist?

    I've got both SQL2000 and SQL2005 on my box at work without any problems.

    I don't think it will be SQL2005 that hosed EM because SQL2005 does not use MMC.

  • RE: Looping through files with DTS

    OK my eventual solution (which probably isn't the best) was to have my begin loop code enable/disable the relevant steps but store the number of steps in a global variable.

    At...

  • RE: WHICH OF THESE TWO QUERIES IS FAST

    Yes I did mean "This doesn't".

    In both SQL 2000 and SQL 2005 the statement forces an index seek however in SQL2005 a "Filter" step is added into the execution plan...

  • RE: Trigger to Auto Update

    Don't do it as a trigger, do it as a stored procedure and schedule it for 1st July and 1st Jan.

  • RE: File Defragmenting

    From previous posts the native defragger is a cut down version of Diskeeper.

    If your files are across a RAID array or a SAN then be careful with your chosen defrag...

  • RE: DBCC SHOWCONTIG drives DBREINDEX

    Don't all indexes hang of the clustered index?

    If you rebuild a non-clustered index and then rebuild the clustered index doesn't that alter the first index?

    I have noticed that DBCC UPDATEUSAGE(0)...

  • RE: maintenance plan job hanging

    Have you asked the job to notify you on success.

    I had a situation where I got SQLMail to email me on successful completion. Something went pear shaped on the...

Viewing 15 posts - 2,446 through 2,460 (of 3,659 total)