Forum Replies Created

Viewing 15 posts - 1,756 through 1,770 (of 2,051 total)

  • RE: Cursor type for performance

    fast_forward read_only cursor would be the fastest

    see fast forward only cursor in the books online

  • RE: Cursor type for performance

    I agree with Mike.

    Can you break up the seperate validations in set-based validations?

    Mostly every week I hear a story of a cursor getting replaced with a set based solution reducing...

  • RE: SQL Server 2000 Performance slow

    You might also want to check the average disk queue length of the data raid/disk. If it is higher than 2/spindle for an extended period you will experience slowdowns.

    Comparision: Restoring...

  • RE: Enhancing StoredProc caching

    In the 3th version it shouldn't recompile because it passed the parameters to another stored procedure.

    In version 1 & 2 it will still need to recompile because

    EXEC (‘SELECT TOP 1 FROM...

  • RE: Dual Xeon 3.8GHz x64 processors with SQL Server 2000 + Windows Server 2003...performance hits

    Have the statistics been updated & stored procedures recompiled?

  • RE: Indexing DateTime

    You could make the extra Date and Linenumber fields computed fields and add an index on them. Everything stays in sync.

    Any reason not to use left(BN,14) instead of all those substrings?

  • RE: openquery

    *Is the goal to use the linked server using sql authentication or windows authentication?

    If Windows authentication:

    This article discusses the delegation of windows authentication between linked server

    http://www.databasejournal.com/features/mssql/article.php/3341651

    Does your existing stored...

  • RE: openquery

    Does chlee exists on the linked server?

    *You can add the user to the linked server with sp_addlinkedsrvlogin.

    (easier via the enterprise manager)

    Rather than having to use sp_addlinkedsrvlogin to create a predetermined...

  • RE: Processor Usage

    You can monitor the queries with sql profiler. Check on cpu, read, writes.

    Have you checked the table scan, sql compilations, recompilations / sec counters in performance monitor?

  • RE: Stored Procedure Invalid Column Error

    If you execute the queries step by step, when does it error out?

    You can split the stored procedure later in smaller parts.

    --step 1

    DECLARE @FinFileName varchar(500)

    SET FinFileName ='myfile' -- The...

  • RE: Auto import data into Access

    In which Access version?

    We've been using docmd.transfertext in a VBA module to import text-files into tables in Access 97 using a import-specification (takes only 1 time to make them and...

  • RE: Upgrading from Access

    Access 97 has a database limit of 2 gb, Access 2000 and higher 1 gb (not sure, check help)

    Is the data already located in another database than the forms/queries/code?

    Size doesn't...

  • RE: How to optimize this SQL code of datetime

    exp_dt = cast('9999-12-31' as datetime) would be preferable, since sql server only has to convert once and can use an index on exp_dt.

    Otherwise it has to convert each value and...

  • RE: VB - SHAPE and SPs using temporary tables

    Ain't familiar with SHAPE.

    Does the same happen when you make a new stored procedures that calls the other 3? It might be using 3 different connections.

     

  • RE: Peformance problems with updates affecting indexed views

    In sql 2000 BOL:

    Indexed views are meant for static tables that have very infrequent changes.

    Indexed views can be more complex to maintain than indexes on base tables. You should create...

Viewing 15 posts - 1,756 through 1,770 (of 2,051 total)